mirror of https://github.com/CrimsonTome/tldr.git
mount: add example of mounting for a specific user (#9572)
parent
40697a1b64
commit
094dd0fe63
|
@ -15,6 +15,10 @@
|
||||||
|
|
||||||
`mount --mkdir {{path/to/device_file}} {{path/to/target_directory}}`
|
`mount --mkdir {{path/to/device_file}} {{path/to/target_directory}}`
|
||||||
|
|
||||||
|
- Mount a device to a directory for a specific user:
|
||||||
|
|
||||||
|
`mount -o uid={{user_id}},gid={{group_id}} {{path/to/device_file}} {{path/to/target_directory}}`
|
||||||
|
|
||||||
- Mount a CD-ROM device (with the filetype ISO9660) to `/cdrom` (readonly):
|
- Mount a CD-ROM device (with the filetype ISO9660) to `/cdrom` (readonly):
|
||||||
|
|
||||||
`mount -t {{iso9660}} -o ro {{/dev/cdrom}} {{/cdrom}}`
|
`mount -t {{iso9660}} -o ro {{/dev/cdrom}} {{/cdrom}}`
|
||||||
|
|
Loading…
Reference in New Issue