Mounting devices

From Alessandro's Wiki
Revision as of 20:42, 14 April 2011 by Porcelinux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


  • 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=


  • the command called without parameters will show the current mounted partitions:
  • 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