Date: Sat, 22 Dec 2001 17:21:35 +0100 From: Nils Holland <nils@tisys.org> To: Joe & Fhe Barbish <barbish@a1poweruser.com> Cc: FBSD Questions <questions@FreeBSD.ORG> Subject: Re: Mount floppy command Message-ID: <20011222172135.D32139@tisys.org> In-Reply-To: <LPBBIGIAAKKEOEJOLEGOCEDCCKAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Sat, Dec 22, 2001 at 10:54:57AM -0500 References: <LPBBIGIAAKKEOEJOLEGOCEDCCKAA.barbish@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 22, 2001 at 10:54:57AM -0500, Joe & Fhe Barbish stood up and spoke: > > Could I bury the mount_msdos /dev/fd0 /mnt command > In a script? What would it look like? > Where must it be placed to work? Have a look at your /etc/fstab. Mine looks like this right now: # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1e /var ufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 /dev/acd1c /cdrom1 cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0 If I enter, for example, mount /cdrom, then this equals mount_cd9660 /dev/acd0c /cdrom. For your MSDOS disk, you could add a line like /dev/fd0 /floppy msdos noauto 0 0 Then, issuing a mount /floppy should mout your floppy, just as if you entered mount_msdos /dev/fdo /floppy. Hope that helps Nils -- Nils Holland Ti Systems - FreeBSD in Tiddische, Germany http://www.tisys.org * nils@tisys.org 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?20011222172135.D32139>