mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-01 05:21:06 +01:00
15 lines
404 B
Plaintext
15 lines
404 B
Plaintext
# 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
|
|
|
|
# To mount a remote NFS directory
|
|
mount -t nfs example.com:/remote/example/dir /local/example/dir
|
|
|
|
# To mount an ISO
|
|
mount -o loop disk1.iso /mnt/disk
|