Advertisement
Guest User

Untitled

a guest
Sep 28th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. [root@localhost mnt]# mount -t cifs -o uid=openbravo,forceuid username=administrador,password=VyE2008 //192.168.1.2/OBData /mnt/attachments
  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 .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement