daily pastebin goal
54%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2012 27 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mount -t ntfs /dev/sda2/mnt/windows -o "umask=022"
  2. Usage: mount -V                 : print version
  3.        mount -h                 : print this help
  4.        mount                    : list mounted filesystems
  5.        mount -l                 : idem, including volume labels
  6. So far the informational part. Next the mounting.
  7. The command is `mount [-t fstype] something somewhere'.
  8. Details found in /etc/fstab may be omitted.
  9.        mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
  10.        mount device             : mount device at the known place
  11.        mount directory          : mount known device here
  12.        mount -t type dev dir    : ordinary mount command
  13. Note that one does not really mount a device, one mounts
  14. a filesystem (of the given type) found on the device.
  15. One can also mount an already visible directory tree elsewhere:
  16.        mount --bind olddir newdir
  17. or move a subtree:
  18.        mount --move olddir newdir
  19. One can change the type of mount containing the directory dir:
  20.        mount --make-shared dir
  21.        mount --make-slave dir
  22.        mount --make-private dir
  23.        mount --make-unbindable dir
  24. One can change the type of all the mounts in a mount subtree
  25. containing the directory dir:
  26.        mount --make-rshared dir
  27.        mount --make-rslave dir
  28.        mount --make-rprivate dir
  29.        mount --make-runbindable dir
  30. A device can be given by name, say /dev/hda1 or /dev/cdrom,
  31. or by label, using  -L label  or by uuid, using  -U uuid .
  32. Other options: [-nfFrsvw] [-o options] [-p passwdfd].
  33. For many more details, say  man 8 mount .
  34. root@fraser-P5QL-PRO:~# mount -t ntfs /dev/sda2/mnt/windows -o "umask=022"
  35. Usage: mount -V                 : print version
  36.        mount -h                 : print this help
  37.        mount                    : list mounted filesystems
  38.        mount -l                 : idem, including volume labels
  39. So far the informational part. Next the mounting.
  40. The command is `mount [-t fstype] something somewhere'.
  41. Details found in /etc/fstab may be omitted.
  42.        mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
  43.        mount device             : mount device at the known place
  44.        mount directory          : mount known device here
  45.        mount -t type dev dir    : ordinary mount command
  46. Note that one does not really mount a device, one mounts
  47. a filesystem (of the given type) found on the device.
  48. One can also mount an already visible directory tree elsewhere:
  49.        mount --bind olddir newdir
  50. or move a subtree:
  51.        mount --move olddir newdir
  52. One can change the type of mount containing the directory dir:
  53.        mount --make-shared dir
  54.        mount --make-slave dir
  55.        mount --make-private dir
  56.        mount --make-unbindable dir
  57. One can change the type of all the mounts in a mount subtree
  58. containing the directory dir:
  59.        mount --make-rshared dir
  60.        mount --make-rslave dir
  61.        mount --make-rprivate dir
  62.        mount --make-runbindable dir
  63. A device can be given by name, say /dev/hda1 or /dev/cdrom,
  64. or by label, using  -L label  or by uuid, using  -U uuid .
  65. Other options: [-nfFrsvw] [-o options] [-p passwdfd].
  66. For many more details, say  man 8 mount .
  67. root@fraser-P5QL-PRO:~#
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top