a guest Mar 15th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- See Basic partitioning for more information
- To mount an iso image (*.iso NOT CD/DVD device):
- sudo mount -t iso9660 -o ro,loop=/dev/loop0 <ISO_File> <Mount_Point>
- * sync/async - All I/O to the file system should be done (a)synchronously.
- * 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.
- * noauto - The filesystem will NOT be automatically mounted at startup, or when mount passed -a. You must explicitly mount the filesystem.
- * dev/nodev - Interpret/Do not interpret character or block special devices on the file system.
- * exec / noexec - Permit/Prevent the execution of binaries from the filesystem.
- * suid/nosuid - Permit/Block the operation of suid, and sgid bits.
- * ro - Mount read-only.
- * rw - Mount read-write.
- * user - Permit any user to mount the filesystem. This automatically implies noexec, nosuid,nodev unless overridden.
- * nouser - Only permit root to mount the filesystem. This is also a default setting.
- * defaults - Use default settings. Equivalent to rw, suid, dev, exec, auto, nouser, async.
- * _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).
- sudo apt-get install ntfs-3g
- sudo mkdir /media/music (you can call it "music" or whatever you like)
- sudo blkid
- gksudo gedit /etc/fstab
- UUID=xxxxxxxx-xxx-xxx-xxx-xxxxxxxx /mount/point/ file-system defaults 0 0
- [Desktop Entry]
- Exec=sshfs email@example.com:/some/folder/you/like /home/username/mount
RAW Paste Data