Guest User

Untitled

a guest
Nov 27th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. Usage: mount -V : print version
  2. mount -h : print this help
  3. mount : list mounted filesystems
  4. mount -l : idem, including volume labels
  5. So far the informational part. Next the mounting.
  6. The command is `mount [-t fstype] something somewhere'.
  7. Details found in /etc/fstab may be omitted.
  8. mount -a [-t|-O] ... : mount all stuff from /etc/fstab
  9. mount device : mount device at the known place
  10. mount directory : mount known device here
  11. mount -t type dev dir : ordinary mount command
  12. Note that one does not really mount a device, one mounts
  13. a filesystem (of the given type) found on the device.
  14. One can also mount an already visible directory tree elsewhere:
  15. mount --bind olddir newdir
  16. or move a subtree:
  17. mount --move olddir newdir
  18. One can change the type of mount containing the directory dir:
  19. mount --make-shared dir
  20. mount --make-slave dir
  21. mount --make-private dir
  22. mount --make-unbindable dir
  23. One can change the type of all the mounts in a mount subtree
  24. containing the directory dir:
  25. mount --make-rshared dir
  26. mount --make-rslave dir
  27. mount --make-rprivate dir
  28. mount --make-runbindable dir
  29. A device can be given by name, say /dev/hda1 or /dev/cdrom,
  30. or by label, using -L label or by uuid, using -U uuid .
  31. Other options: [-nfFrsvw] [-o options] [-p passwdfd].
  32. For many more details, say man 8 mount .
Add Comment
Please, Sign In to add comment