1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 04:02:09 +02:00
tldr/pages/linux/systemd-mount.md
Vitor Henrique e7d5609dd3
pages*: improve list placeholders and wording of descriptions (#12111)
* pages*: improve wording and list placeholders

* clamav: fix verb tenses

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>

* buzzphrase: use k instead of n for number of phrases

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>

* adguardhome: use non-default instead of different

* adguardhome: use configuration instead of config

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* goimports, module: fix list placeholders

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages*: leave stems and extensions in the same placeholders

* pages*: fix list placeholders

* pages*: fix list placeholders

* pages*: apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* qpdf: enclose n with backticks

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-01-31 09:25:19 +05:30

1.2 KiB

systemd-mount

Establish and destroy transient mount or auto-mount points. More information: https://www.freedesktop.org/software/systemd/man/systemd-mount.html.

  • Mount a file system (image or block device) at /run/media/system/LABEL where LABEL is the filesystem label or the device name if there is no label:

systemd-mount {{path/to/file_or_device}}

  • Mount a file system (image or block device) at a specific location:

systemd-mount {{path/to/file_or_device}} {{path/to/mount_point}}

  • List all local, known block devices with file systems that may be mounted:

systemd-mount --list

  • Create an automount point that mounts the actual file system at the time of first access:

systemd-mount --automount=yes {{path/to/file_or_device}}

  • Unmount one or more devices:

systemd-mount --umount {{path/to/mount_point_or_device1}} {{path/to/mount_point_or_device2}}

  • Mount a file system (image or block device) with a specific file system type:

systemd-mount --type={{file_system_type}} {{path/to/file_or_device}} {{path/to/mount_point}}

  • Mount a file system (image or block device) with additional mount options:

systemd-mount --options={{mount_options}} {{path/to/file_or_device}} {{path/to/mount_point}}