2013-08-27 10:53:49 +02:00
|
|
|
# To mount / partition as read-write in repair mode:
|
|
|
|
mount -o remount,rw /
|
|
|
|
|
2014-10-12 13:16:53 +02:00
|
|
|
# Bind mount path to a second location
|
|
|
|
mount --bind /origin/path /destination/path
|
|
|
|
|
2013-08-28 01:44:58 +02:00
|
|
|
# To mount Usb disk as user writable:
|
2013-08-27 10:53:49 +02:00
|
|
|
mount -o uid=username,gid=usergroup /dev/sdx /mnt/xxx
|
2013-12-03 21:20:11 +01:00
|
|
|
|
|
|
|
# To mount a remote NFS directory
|
|
|
|
mount -t nfs example.com:/remote/example/dir /local/example/dir
|
2016-01-21 19:01:48 +01:00
|
|
|
|
|
|
|
# To mount an ISO
|
|
|
|
mount -o loop disk1.iso /mnt/disk
|