mount: add bind mount

This commit is contained in:
Jörg Thalheim 2014-10-12 13:16:53 +02:00
parent 28478ff257
commit 873968903a

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