Advertisement
Guest User

Untitled

a guest
Mar 15th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. See Basic partitioning for more information
  2.  
  3. To mount an iso image (*.iso NOT CD/DVD device):
  4. Code:
  5.  
  6. sudo mount -t iso9660 -o ro,loop=/dev/loop0 <ISO_File> <Mount_Point>
  7.  
  8. * sync/async - All I/O to the file system should be done (a)synchronously.
  9. * auto - The filesystem can be mounted automatically (at bootup, or when mount is passed the -a option). This is really unnecessary as this is the default action of mount -a anyway.
  10. * noauto - The filesystem will NOT be automatically mounted at startup, or when mount passed -a. You must explicitly mount the filesystem.
  11. * dev/nodev - Interpret/Do not interpret character or block special devices on the file system.
  12. * exec / noexec - Permit/Prevent the execution of binaries from the filesystem.
  13. * suid/nosuid - Permit/Block the operation of suid, and sgid bits.
  14. * ro - Mount read-only.
  15. * rw - Mount read-write.
  16. * user - Permit any user to mount the filesystem. This automatically implies noexec, nosuid,nodev unless overridden.
  17. * nouser - Only permit root to mount the filesystem. This is also a default setting.
  18. * defaults - Use default settings. Equivalent to rw, suid, dev, exec, auto, nouser, async.
  19. * _netdev - Used for network shares (nfs, samba, sshfs, etc), mounting the network share is delayed until after the boot process brings up the network (otherwise the mount will fail as the network is not up).
  20.  
  21. sudo apt-get install ntfs-3g
  22.  
  23. sudo mkdir /media/music (you can call it "music" or whatever you like)
  24.  
  25. sudo blkid
  26.  
  27. gksudo gedit /etc/fstab
  28.  
  29. UUID=xxxxxxxx-xxx-xxx-xxx-xxxxxxxx /mount/point/ file-system defaults 0 0
  30.  
  31. [Desktop Entry]
  32. Version=1.0
  33. Type=Application
  34. Exec=sshfs user@domain.org:/some/folder/you/like /home/username/mount
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement