Date: Tue, 04 Apr 2000 07:23:42 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: bentley <hbrhodes@mediaone.net> Cc: freebsd-questions@FreeBSD.org Subject: RE: how do i access the floppy drive? i know # mount /cdrom... Message-ID: <200004041123.HAA00747@server.baldwin.cx> In-Reply-To: <000801bf9da8$99935760$6d568118@se.mediaone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <filesystem type> <device> <destination> 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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004041123.HAA00747>