mirror of https://github.com/cheat/cheat.git
mount: add bind mount
This commit is contained in:
parent
28478ff257
commit
873968903a
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue