Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Mar 1997 21:55:45 -0800
From:      Jason Wells <jcwells@u.washington.edu>
To:        pirahna@primenet.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Floppy drive
Message-ID:  <331BB961.7F86@u.washington.edu>
References:  <331B6598.39B8@primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
pirahna@primenet.com wrote:
> 
> Ok This is my first UNIX system and although this seems like a
> incredibly stupid question. I can not figure out how to get to the
> floppy drive so I can copy things to and from it. Please help me if you
> are able to
                                Mark

1-Insert disk that has been labeled using disklabel and has a filesystem
installed using newfs. This is the unix equivalent to DOS formatting.
This will make the disk a "UNIX" disk. Type man disklabel and man newfs
for more info. 

2-type "mount /dev/fd0 /mnt" at the commandline. Type man mount for more
info. The directory /mnt should exist on your system. If not, you can
use mkdir to create one. If the disk is in DOS format this will not
work. You must use a "UNIX" disk.

3-Then you should try cd /mnt.

4-Then type ls. The contents of this disk should now be displayed.

5-Type "umount /mnt" to unmount the floppy.

Note: if the disk that you want to access is in DOS format try 
  "mount -t msdos /dev/fd0 /mnt"

But if you get a warning that says something about the directory not
being a multiple of blocksize then immediatley type "umount /mnt".
There is a problem that occurs sometimes when mounting a DOS filesystem.
I seriously messed up my system by ignoring that warning. I recommend
avoiding mounting msdos filesystems for reasons based on superstition.
-- 
 __   __
/ 0\ / 0\         Thank you * Highperformance.net            
     )     Wannabe Sysadmin * The homeless domain            
)-------(       Jason Wells * "Pardon me sir, spare some bandwidth?"  
 \_____/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?331BB961.7F86>