Trevor de Stigter wrote:
Hi,
After years of running non GUI Debian servers on older laptops which
had no operable CD Drives let alone any USB interfaces I have now
upgraded on to the luxury of a modern retired laptop which has USB
ports, and I would like to be able to connect either flash or external
hard drives through the USB ports. However a search of Google and the
forums has left me unable to determine the commands I need to find:
a: has the systen recognised the device I have plugged in, or what
command I need to issue to force the system to go and look for new usb
devices;
dmesg will record the kernel events, usually giving you the device name,
which is likely to be sd? (usb flash and external drives emulate scsi,
hence sd?) If theres no other scsi devices, its probably sda and the
first partition will be /dev/sda1
lsusb lists all usb devices
b: what does the system call the new device; and
see above
c: how to mount the device, I think I can probably work that out given
the first 2 but must admit I am rusty with use of yhe mount command.
Most desktops should now do this anyway, but debian may be playing
catchup. If you like debian, why not try ubuntu, which is similar enough
to be comfortable and modern enough to do this stuff automagically.
If it isn't done automatically then the usual
mkdir /mnt/flash # if a suitable mount point does not exist
mount /dev/sda1 /mnt/flash
Cheers,
Trevor