[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: floppy



In message <[🔎] 3419D021.DA0B87CE@usl.edu>, writes:
  >Hi:
  >
  >What's the command to mount floppy driver and how to access the floppy?

There are 3 ways to deal with a floppy:

1. As a mounted file system:

mount [-t <type>] /dev/fd0 /mnt

If the floppy has not got a ext2fs file system on it, you need to tell
it the right type (for example: minix or umsdos)

If you have a floppy without a filesystem on it, you must use mkfs
first.

2. As a raw device:

for example for saving a set of files under <directory>

tar cf /dev/fd0 <directory>

or

find <directory> -print | cpio -oc >/dev/fd0

3. If it is a DOS-formatted floppy, use mtools to handle it as you would
in DOS, or mount it (see above) as type msdos.

Floppy drives are addressed as /dev/fd0 or /dev/fd1 (corresponding to
A; and B:).  The driver works out what the floppy characteristics are.
If you want to force a particular set, there are device names
corresponding to each set.  Use `ls /dev/fd*' to list them.

Man pages to check: mount(8), mkfs(8), mtools(1), fd(4).

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                                  http://lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

     Make it idiot-proof, and someone will breed a better idiot.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble? 
e-mail to templin@bucknell.edu .


Reply to: