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

25 lines
672 B
Markdown
Raw Normal View History

2020-11-01 15:35:14 +01:00
# pmount
> Mount arbitrary hotpluggable devices as a normal user.
> More information: <https://manned.org/pmount>.
2020-11-01 15:35:14 +01:00
- 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}}`
2020-11-01 15:35:14 +01:00
- Mount a CD-ROM (filesystem type ISO9660) in read-only mode:
`pmount {{[-t|--type]}} iso9660 {{[-r|--read-only]}} {{/dev/cdrom}}`
2020-11-01 15:35:14 +01:00
- Mount an NTFS-formatted disk, forcing read-write access:
`pmount {{[-t|--type]}} ntfs {{[-w|--read-write]}} {{/dev/sdX}}`
2020-11-01 15:35:14 +01:00
- Display all mounted removable devices:
`pmount`