How to setup fstab for DVD, floppy and CD drives?

Carleton Vaughn keebler at mindspring.com
Wed Jan 19 19:17:46 PST 2005


Brian John wrote:
> Hello,
> I have a DVD writer, a CD writer and a floppy drive in my PC.  Since I 
> don't know what file system that a media will use until I put it in the 
> drive, how do I set it up in fstab?  This is what it looks like right 
> now for these devices:
> /dev/acd0               /cdrom          auto    rw,noauto       0       0
> /dev/acd1               /cdrom1         auto    rw,noauto       0       0
> /dev/fd0                /floppy         auto    rw,noauto       0       0
> 
> The problem is, when I click on a device, it says: "mount: exec 
> mount_auto not found in /sbin:/usr/sbin: No such file or directory
> Please check that the disk is entered correctly."
> 
> How can I get this to work?
"auto" is in the FStype field, and your mounter is trying to find the 
mount program for a file system of type "auto".  There's no such thing. 
  Change "auto" to "cd9660" for the cd & dvd and all will be happy. 
Might I suggest changing one of acd[01]'s mount point to /dvd?  This 
might clear up any later confusion.

Someone else probably better understands what "auto" in fstab is 
supposed to do.

Have fun.

P.S. Can someone comment on why the "rw" option is better here than "ro"?

-- 
Carleton Vaughn
College Park, Georgia, USA


More information about the freebsd-newbies mailing list