Merge pull request #188 from Mic92/patch-5

mount: add bind mount
This commit is contained in:
Chris Lane 2014-10-18 18:38:56 -04:00
commit 0720d0fdc2
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
# To mount / partition as read-write in repair mode: # To mount / partition as read-write in repair mode:
mount -o remount,rw / mount -o remount,rw /
# Bind mount path to a second location
mount --bind /origin/path /destination/path
# To mount Usb disk as user writable: # To mount Usb disk as user writable:
mount -o uid=username,gid=usergroup /dev/sdx /mnt/xxx mount -o uid=username,gid=usergroup /dev/sdx /mnt/xxx