Mounting USB devices with pmount

Usually USB devices are recognized and mounted automatically. If this does not happen, you may use pmount to mount the device manually.

First of all you'll have to figure out the device name. There are multiple ways to do this. Here are two:

  • Use the command lsblk -f to list all bulk devices (storage devices). You can find your device by its FSTYPE (probably VFAT or FAT32), its LABEL or the fact, that it has no MOUNTPOINT.
NAME   FSTYPE FSVER LABEL    UUID      FSAVAIL FSUSE% MOUNTPOINT
sda
...
sdb
└─sdb1 vfat   FAT32 usbstick XXXX-XXXX

  • Study the output of the command dmesg. Near the end it should show you your device, e.g.:
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 1:0:0:0: [sdb] Attached SCSI removable disk

In both examples the corresponding device is sdb1, in general this should be the case for computers with one built-in hard drive.

Now pmount /dev/sdb1 should mount the stick as /media/sdb1/. pumount /dev/sdb1 will unmount the device again.
Topic revision: r3 - 2020-04-30, AndreKerkhoff