Difference between revisions of "Mounting devices"
From Alessandro's Wiki
Porcelinux (talk | contribs) |
Porcelinux (talk | contribs) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== /etc/fstab == | == /etc/fstab == | ||
Line 6: | Line 4: | ||
* some options: | |||
** relatime | |||
** errors=remount-ro | |||
** auto | |||
** defaults | |||
** ro | |||
** rw | |||
** users | |||
** gid= | |||
** uid= | |||
== mount == | == mount == | ||
* | * the command called without parameters will show the current mounted partitions: | ||
mount | 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 | * 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