Difference between revisions of "Mounting devices"
From Alessandro's Wiki
Porcelinux (talk | contribs) m (moved Montaggio to Mounting devices: better description) |
Porcelinux (talk | contribs) |
||
Line 1: | Line 1: | ||
== /etc/fstab == | == /etc/fstab == | ||
Line 27: | Line 25: | ||
* to mount an ntfs partition ''(run as root)'', [[tiao]] | * to mount an ntfs partition ''(run as root)'', [[tiao]] | ||
Latest revision as of 19:42, 14 April 2011
/etc/fstab
- in Linux/Unix system the most important file containing informations about partitions, hard disks and all drives is /etc/fstab
- some options:
- relatime
- errors=remount-ro
- auto
- defaults
- ro
- rw
- users
- gid=
- uid=
mount
- the command called without parameters will show the current mounted partitions:
mount
- to do a mount action, specify:
- mount -t "filesystem type" device destination-directory
- to mount an ext2 partition (run as root), tiao
mount -t ext2 /dev/sdb5 /mnt/disk2
- to mount an ntfs partition (run as root), tiao