From owner-freebsd-questions Sat Dec 22 8:21:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mcqueen.wolfsburg.de (pns.wobline.de [212.68.68.5]) by hub.freebsd.org (Postfix) with ESMTP id 88EC237B416 for ; Sat, 22 Dec 2001 08:21:10 -0800 (PST) Received: from colt.ncptiddische.net (ppp-145.wobline.de [212.68.69.153]) by mcqueen.wolfsburg.de (8.11.3/8.11.3/tw-20010821) with ESMTP id fBMGL7804804; Sat, 22 Dec 2001 17:21:07 +0100 Received: from tisys.org (poison.ncptiddische.net [192.168.0.5]) by colt.ncptiddische.net (8.11.6/8.11.6) with ESMTP id fBMGN0X46856; Sat, 22 Dec 2001 17:23:01 +0100 (CET) (envelope-from nils@tisys.org) Received: (from nils@localhost) by tisys.org (8.11.6/8.11.6) id fBMGLaZ32294; Sat, 22 Dec 2001 17:21:36 +0100 (CET) (envelope-from nils) Date: Sat, 22 Dec 2001 17:21:35 +0100 From: Nils Holland To: Joe & Fhe Barbish Cc: FBSD Questions Subject: Re: Mount floppy command Message-ID: <20011222172135.D32139@tisys.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from barbish@a1poweruser.com on Sat, Dec 22, 2001 at 10:54:57AM -0500 X-Operating-System: FreeBSD poison.ncptiddische.net 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE X-Machine-Uptime: 5:01PM up 6:46, 1 user, load averages: 0.12, 0.05, 0.02 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 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