Lenny. I'd like to use a USB flash memory stick to make some backups of plaintext and HTML files. I'd like to plug it in, and as user enter something like "mount /media/usb0" and start using the gizmo as a r/w storage device.
I'd appreciate a sample line for /etc/fstab, and info on how to determine whether the stick is in USB 0 or 1 -- or whatever.
My box has two USB female sockets into which to plug USB devices. One socket is used by my printer; hardinfo, however, shows NO USB devices plugged in at all (wrong, both sockets are used) but identifies my printer correctly. CUPS knows my printer as "Kyocera_FS-920_USB_1", and the URI is "usb://Kyocera/FS-920"; meanwhile lsusb shows
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
with the stick plugged in.
I thought maybe pmount. So what's the "name" of my memory stick, and if that is not in /dev, can I put it there and make it a block device -- or am I wasting my time with pmount? Would usbmount be better, with this in /etc/fstab, assuming I can figure out what the mount point is for the memory stick?
/dev/sdc1 /media/usb0 vfat defaults,noexec,user,sync 0 0
..and mountpoints, filesystem and mountoptions entered in /etc/usbmount/usbmount.conf.
Thanks for suggestions. I just want this to work, so please keep it simple, to match my brain.