HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pmount — Mount arbitrary hotpluggable devices as a normal user. More information: <https://manned.org/pmount>

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commanddeviceshotpluggableclimountnormalarbitrarypmount
linux

Problem

How to use the pmount command: Mount arbitrary hotpluggable devices as a normal user. More information: <https://manned.org/pmount>.

Solution

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

Code Snippets

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

Context

tldr-pages: linux/pmount

Revisions (0)

No revisions yet.