From owner-freebsd-questions Tue Dec 5 10:42: 0 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 10:41:57 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from donkeykong.gpcc.itd.umich.edu (donkeykong.gpcc.itd.umich.edu [141.211.2.163]) by hub.freebsd.org (Postfix) with ESMTP id 08B7637B400 for ; Tue, 5 Dec 2000 10:41:57 -0800 (PST) Received: from qix.gpcc.itd.umich.edu (smtp@qix.gpcc.itd.umich.edu [141.211.2.152]) by donkeykong.gpcc.itd.umich.edu (8.8.8/4.3-mailhub) with ESMTP id NAA29490; Tue, 5 Dec 2000 13:41:56 -0500 (EST) Received: from localhost (timcm@localhost) by qix.gpcc.itd.umich.edu (8.8.8/5.1-client) with ESMTP id NAA17974; Tue, 5 Dec 2000 13:41:55 -0500 (EST) Date: Tue, 5 Dec 2000 13:41:55 -0500 (EST) From: Tim McMillen X-Sender: timcm@qix.gpcc.itd.umich.edu To: Kevin Chudy Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Floppy Drives In-Reply-To: <000101c05ee8$61a4fc80$3600a8c0@DVCPRO65> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 5 Dec 2000, Kevin Chudy wrote: > I am new to FreeBSD. > I have successfully installed version 3.4. > > After looking in the FreeBSD handbook and other sources I have a basic > question: > > My floppy drive is detected by FreeBSD. How do you access the floppy drive > (or hard drives other than the boot drive for that matter) in FreeBSD > (Unix)? If I wanted to access the floppy drive in an MS-DOS based platform, > I would enter a:. Well it seems as you have done some reading and I just noticed there is no obvious place that tells you how to do that. In FreeBSD you need to mount and umount disk drives to use them. Try man mount But here's an example if the floppy device is fd0 in your dmesg (type dmesg | more at a prompt and look through it) and you want to use a dos formatted floppy try: mount -t msdos /dev/fd0c /mnt or mount_msdos /dev/fd0c /mnt then use umount /mnt to "un"mount the device when you're done. You can't be in the directory you're using when you unmount it. The first argument is the full device path and the second is an empty directory to which you want to mount the device to. If the device is a hard drive that is not mounted automatically it's basically the same. For example I have a Fat32 slice on my hard drive (what windows calls a partition) I mount it like this: mount_msdos /dev/ad0s1 /mnt And a FreeBSD partition on my second hard drive. I mount it like this: mount /dev/ad1f /mnt f refers to the partition on the second hard drive that I want to mount. And finally if you want to mount a Cd: mount_cd9660 /dev/acd0c /cdrom You have to be root to do this unless you have changed some settings and permissions. You will probably also want to check out http://www.freebsd.org/tutorials/ and the FAQ and get a hold of Greg Lehey's "The Complete FreeBSD" Chapter 13 on filesystems would be helpful for you as well as Chapter 11. Have fun, Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message