From owner-freebsd-questions Mon Mar 25 23: 5:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 086DF37B431 for ; Mon, 25 Mar 2002 23:05:04 -0800 (PST) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 8FB8428B38 for ; Tue, 26 Mar 2002 02:05:03 -0500 (EST) Date: Tue, 26 Mar 2002 02:05:03 -0500 (EST) From: Peter Leftwich X-X-Sender: To: FreeBSD Questions Subject: /etc/fstab woes [please help] Message-ID: <20020326015732.V9042-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: 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 [96/64/32] at ata0-slave using PIO3 acd0: DVD-ROM at ata1-master using PIO4 acd1: CD-RW 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