Difference between revisions of "Mounting devices"

From Alessandro's Wiki
 
Line 18: Line 18:
* to attach a partition to the unix filesystem this could be a command '''(as root)'''
* to attach a partition to the unix filesystem this could be a command '''(as root)'''


  mount  -t ext2     /dev/sdb5 /mnt/disk2
  mount  -t ext2 /dev/sdb5 /mnt/disk2


  ''verbe'' ''part type'' ''from'' ''to''
  ''verbe'' ''part type'' ''from'' ''to''

Revision as of 09:44, 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




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