mount /floppy
$
The floppy can (and needs to, of course) be unmounted with the corresponding umount command.
If you want to provide access to several types of floppies, you need to give several mount points. The settings
can be different for each mount point. For example, to give access to both MS−DOS and ext2 floppies, you
could have the following to lines in
/etc/fstab
:
/dev/fd0 /dosfloppy msdos user,noauto 0 0 /dev/fd0
/ext2floppy ext2 user,noauto 0 0
For MS−DOS filesystems (not just floppies), you probably want to restrict access to it by using the
uid
,
gid
,
and
umask
filesystem options, described in detail on the mount manual page. If you aren't careful, mounting
an MS−DOS filesystem gives everyone at least read access to the files in it, which is not a good idea.
Linux Filesystem Hierarchy
Chapter 1. Linux Filesystem Hierarchy
55
Do'stlaringiz bilan baham: |