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.
└─sdb1 vfat   FAT32 usbstick XXXX-XXXX

  • If you have access to dmesg you can also study the output of the command. 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: r4 - 2023-02-08, AndreKerkhoff - This page was cached on 2024-05-27 - 04:27.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)