mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 11:13:46 +02:00
mount: add --mkdir example (#9555)
* mount: add --mkdir example * remove unneeded space * Update pages/common/mount.md
This commit is contained in:
parent
9272721e5a
commit
70e2ec60cf
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@
|
|||
|
||||
`mount -t {{filesystem_type}} {{path/to/device_file}} {{path/to/target_directory}}`
|
||||
|
||||
- Create a specific directory if it does not exist and mount a device to it:
|
||||
|
||||
`mount --mkdir {{path/to/device_file}} {{path/to/target_directory}}`
|
||||
|
||||
- Mount a CD-ROM device (with the filetype ISO9660) to `/cdrom` (readonly):
|
||||
|
||||
`mount -t {{iso9660}} -o ro {{/dev/cdrom}} {{/cdrom}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue