From owner-freebsd-questions Tue Apr 4 4:23:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 384E737B6B3 for ; Tue, 4 Apr 2000 04:23:47 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id HAA00747; Tue, 4 Apr 2000 07:23:42 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-Id: <200004041123.HAA00747@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <000801bf9da8$99935760$6d568118@se.mediaone.net> Date: Tue, 04 Apr 2000 07:23:42 -0400 (EDT) From: John Baldwin To: bentley Subject: RE: how do i access the floppy drive? i know # mount /cdrom... Cc: freebsd-questions@FreeBSD.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 03-Apr-00 bentley wrote: > how do i access the floppy drive? i know # mount /cdrom... You can use the full mount command. Normally you type this: > mount -t To mount a file system. For example, for an atapi CD-ROM, the device is "/dev/acd0c", the destination is "/cdrom" and the file system type is "cd9660". Thus the full mount command is > mount -t cd9660 /dev/acd0c /cdrom However, the /etc/fstab file can be used to provide shortcuts. If you look in /etc/fstab, you will notice that you have a line that looks like this: /dev/acd0c /cdrom cd9660 ro,noauto 0 0 Thus, when you type "mount /cdrom", it looks in /etc/fstab, finds the line with "/cdrom" in it and fills in the missing pieces. Now, there isn't a line in /etc/fstab for you're floppy, so you are just going to have to use the full command. For example, to mount a MS-DOS floppy on "/mnt", you would do the following: > mount -t msdos /dev/fd0 /mnt If you want to mount a BSD floppy, then you don't have to specify the filesystem and can use this command instead: > mount /dev/fd0 /mnt For instructions on formatting BSD floppies, look in the file /etc/disktab. For more info on mount in general, read the mount(8) manpage. Hope this helps. BTW, in the future, please include your question in the actual message and not just in the subject line, thanks. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message