Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2000 13:41:55 -0500 (EST)
From:      Tim McMillen <timcm@umich.edu>
To:        Kevin Chudy <kchudy@pcom.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Floppy Drives
Message-ID:  <Pine.SOL.4.10.10012051327340.19819-100000@qix.gpcc.itd.umich.edu>
In-Reply-To: <000101c05ee8$61a4fc80$3600a8c0@DVCPRO65>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.10.10012051327340.19819-100000>