Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2002 02:05:03 -0500 (EST)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        FreeBSD Questions <FreeBSD-Questions@FreeBSD.Org>
Subject:   /etc/fstab woes [please help]
Message-ID:  <20020326015732.V9042-100000@earl-grey.cloud9.net>

next in thread | raw e-mail | index | archive | help
One moment it works, the next, he no a-worka!  :(  Can someone explain what
is best to use in my /etc/fstab file based on these dmesg entries?

fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
afd0: 96MB <IOMEGA ZIP 100 ATAPI Floppy> [96/64/32] at ata0-slave using PIO3
acd0: DVD-ROM <TOSHIBA DVD-ROM SD-M1212> at ata1-master using PIO4
acd1: CD-RW <SONY CD-RW CRX160E> at ata1-slave using PIO4

[More often than not, I will be using "-t msdos" zip100 floppies/media.]

Ooh, I just thought of a killer question!  Is there a way to have
/etc/fstab entries basically *create* the mounted "directory" points and
`rm -rf /dir` the directories when something is unmounted?  That is... why
must the user first "mkdir /cdromdrive" or whatever before issuing a
command like "mount -t cd9660 /dev/acd01 /cdromdrive?"  This way, if I
tried to "cd" to a directory that was not a mount point, I would be told
the directory does not exist rather than being able to cd to it and do ls
and see just the usual "." and ".." -grrr.

/dev/ad0s1              /msdos          msdos   rw              0       0
proc                    /proc           procfs  rw              0       0
/dev/acd0c              /dvd            cd9660  ro              0       0
/dev/acd1c              /cdrw           cd9660  rw              0       0
/dev/afd0               /zip100         msdos   rw              0       0
/dev/fd0                /floppy         msdos   rw              0       0

Thanks, everyone, someone?

--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020326015732.V9042-100000>