mount: add bind mount

This commit is contained in:
Jörg Thalheim 2014-10-12 13:16:53 +02:00
parent 28478ff257
commit 873968903a
1 changed files with 3 additions and 0 deletions

View File

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