1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 06:55:33 +02:00
tldr/pages/linux/pmount.md
Managor 1f63ed5e22
linux*: refresh old pages part 1 (#16251)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-04-25 04:34:04 +03:00

24 lines
672 B
Markdown

# pmount
> Mount arbitrary hotpluggable devices as a normal user.
> More information: <https://manned.org/pmount>.
- Mount a device below `/media/` (using device as mount point):
`pmount {{/dev/to/block/device}}`
- Mount a device with a specific filesystem type to `/media/label`:
`pmount {{[-t|--type]}} {{filesystem}} {{/dev/to/block/device}} {{label}}`
- Mount a CD-ROM (filesystem type ISO9660) in read-only mode:
`pmount {{[-t|--type]}} iso9660 {{[-r|--read-only]}} {{/dev/cdrom}}`
- Mount an NTFS-formatted disk, forcing read-write access:
`pmount {{[-t|--type]}} ntfs {{[-w|--read-write]}} {{/dev/sdX}}`
- Display all mounted removable devices:
`pmount`