Prev | Current Page 382 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

If it doesn??™t, here??™s an example of how to mount a floppy
containing MS-DOS files:
# mkdir /mnt/floppy
# mount -t msdos /dev/fd0 /mnt/floppy
This shows the basic format of the mount command you would use to mount a floppy disk. You
can change msdos to any other supported file system type (described earlier in this chapter) to
mount a floppy of that type. Instead of using floppy drive A: (/dev/fd0), you could use drive B:
(/dev/fd1) or any other accessible drive. Instead of mounting on /mnt/floppy, you could create
any other directory and mount the floppy there.
NOTE
170
Running the Show Part II
Here are some other useful options you could add to the mount command:
 -t auto??”If you aren??™t sure exactly what type of file system is contained on the floppy
disk (or other medium you are mounting), use this option to indicate the file system type.
The mount command will query the disk to try to ascertain what type of file system it
contains.
 -r??”If you don??™t want to make changes to the mounted file system (or can??™t because it is
a read-only medium), use this option to mount it read-only.
 -w??”This mounts the file system with read/write permission.
Mounting a Disk Image in Loopback
Another valuable way to use the mount command has to do with disk images.


Pages:
370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394