mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 10:18:51 +03: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
@ -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…
Reference in New Issue
Block a user