LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-27-2000, 10:48 PM   #1
natethebate
LQ Newbie
 
Registered: Aug 2000
Posts: 9

Rep: Reputation: 0
Question


Whenever I click on the cdrom or floppy icons, a message pops up saying the directory contents cannot be displayed. Both devices are mounted (I checked in the /etc, and I tried remounting).

Any advice would be appreciated.

Thanks.
 
Old 08-27-2000, 11:01 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,604

Rep: Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104
What file in /etc are you looking at? fstab contains descriptive information about the various file systems that can be mounted. mtab contains the filesystems that ARE mounted. What error do you get when you try to mount one of the drives. Also some distro's require you to be root (by default) to mount filesystems.
 
Old 08-28-2000, 10:17 PM   #3
natethebate
LQ Newbie
 
Registered: Aug 2000
Posts: 9

Original Poster
Rep: Reputation: 0
Question Mounting Device Errors

When I try to remount, I receive an error which says that the devices are either busy or already mounted. Another line says the devices are already mounted according to mtab. I checked the mtab file (I was looking at fstab), and the devices were mounted according to the file as the errors indicated.

Hope this helps to resolve the problem.
Thanks.
 
Old 08-28-2000, 10:30 PM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,604

Rep: Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104
What do you mean by remount? Are you unmounting the drives before you try to mount them again? The floppy drive should really only be mounted if you mount it. Some distro's will auto-mount a CD if it is in the drive when you boot. When you type mount what is the output? Including the contents of your fstab may be helpful also.
 
Old 08-28-2000, 11:34 PM   #5
natethebate
LQ Newbie
 
Registered: Aug 2000
Posts: 9

Original Poster
Rep: Reputation: 0
Arrow Progress on mounted devices

The following is my fstab file:

/dev/hda1 /boot vfat user,exec,conv=binary 0 0
/dev/hda7 /home vfat user,exec,conv=binary 0 0
/dev/hda5 / ext2 defaults 1 1
/dev/hda6 swap swap defaults 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
none /proc proc defaults 0 0
none /dev/pts devpts mode=0620 0 0
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0

I did finally get my floppy mounted by making a new directory /floppy and mounting it there. If I changed the contents of my fstab file, would it mount it properly then? If I tried to change directories to /mnt/floppy I got an I/O error before. I tried mounting my cdrom as I did my floppy again, and it said I either had the incorrect file types or I had an I/O error (Probably both).

Thanks Again.
 
Old 08-28-2000, 11:43 PM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,604

Rep: Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104Reputation: 4104
The problem is with your fstab file. The first field should contain the device to be mounted. The second field should contain the mount point. As you can see you are trying to mount /mnt/cdrom to /mnt/cdrom, which is not going to work. Try replacing your floppy and cd lines with these two:
Code:
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner    0 0
 
Old 08-29-2000, 12:36 AM   #7
natethebate
LQ Newbie
 
Registered: Aug 2000
Posts: 9

Original Poster
Rep: Reputation: 0
Arrow No data shown on mounted devices

That fixed the problem!!!! Thanks! But now after doing that, no files are shown after double-clicking on the floppy or cd icons. I went into the menus at the top of the window and clicked them to show everything, and nothing changed.

Any suggestions?
Thanks Again!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mow many devices can be mounted d4d4n9 Mandriva 0 12-29-2004 01:35 AM
Trouble with mounted devices heatus Fedora 0 08-10-2004 01:19 AM
Mounted Devices On Desktop snt Mandriva 4 05-21-2004 10:52 AM
mounted devices/ filesystems ergo_sum Linux - Newbie 4 11-01-2003 05:43 AM
Mounted Devices kbeaver Linux - Hardware 3 07-11-2003 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration