On Wed 18 May 2016 at 09:33:28 -0400, Gene Heskett wrote:
One way to do it manually is to run 'blkid' from a shell, which will
output a unique identifier for each device it can find. My phone for
'/sbin/blkid' is preferable for a user.
instance, shows up in the list blkid outputs as
/dev/sdd: SEC_TYPE="msdos" UUID="2A21-0001" TYPE="vfat"
you could then construct a mount command, see mounts man page, useing
either the /dev/sdd (discouraged as it is not unique and yours may be a
different sd#) or the UUID=number, which will be different from mine,
using the vfat filesystem, mounted to /media/2A21-0001 in my case. The
UUID method is much the preferred method, and that is the name its
mounted at too.
This is the second post in this thread which recommends becoming root to
carry out the simple user task of identifying and mounting a removeable
device. There are many Debian users who have a firm belief in only using
root privilege for the most essential of maintenance jobs and many
others who do not have that privilege. Isn't it about time to leverage
the benefits of the OS?
Ron Leach's requirement is met completely by dmesg, lsblk or even
lsscsi, pmount, udevil or udisksctl and usbmount or devmon.