Prev | Current Page 379 | Next

Christopher Negus

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

1 means it needs to be checked, and 2 means it doesn??™t.
If you want to add an additional local disk or partition, you can create an entry for it in the
/etc/fstab file. See Chapter 27 for information on mounting Samba, NFS, and other remount
file systems from /etc/fstab.
Using the mount Command to Mount File Systems
Linux systems automatically run mount -a (mount all file systems) each time you boot. For that
reason, you generally use the mount command only for special situations. In particular, the average
user or administrator uses mount in two ways:
 To display the disks, partitions, and remote file systems currently mounted.
 To temporarily mount a file system.
Any user can type mount (with no options) to see what file systems are currently mounted on the
local Linux system. The following is an example of the mount command. It shows a single hard
disk partition (/dev/sda1) containing the root (/) file system, and proc and devpts file system
types mounted on /proc and /dev, respectively. The last entry shows a floppy disk, formatted
with a standard Linux file system (ext3) mounted on the /mnt/floppy directory.
$ mount
/dev/sda3 on / type ext3 (rw)
/dev/sda2 on /boot type ext3 (rw)
/dev/sda1 on /mnt/win type vfat (rw)
/dev/proc on /proc type proc (rw)
/dev/sys on /sys type sysfs (rw)
/dev/devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/shm on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/cdrom on /media/cdrecorder type iso9660 (ro,nosuid,nodev)
/dev/fd0 on /mnt/floppy type ext3 (rw)
Traditionally, the most common devices to mount by hand are your floppy disk and your CD drive.


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