Difference between revisions of "Mounting devices"

From Alessandro's Wiki
Line 6: Line 6:




 
* some options:
 
** relatime
 
** errors=remount-ro
** auto
** defaults
** ro
** rw
** users
** gid=
** uid=


== mount ==
== mount ==

Revision as of 09:45, 16 July 2010


/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

  • this command will show the current mounted partitions:
mount 
  • to attach a partition to the unix filesystem this could be a command (as root)
mount  -t ext2 /dev/sdb5 /mnt/disk2
verbe part type from to