Click to See Complete Forum and Search --> : Seeking unmounted hard drive.
blackbelt_jones
09-18-2008, 12:44 AM
Is there a command line utility which lists the name of an unmounted hard drive or device (hda1, sdb2, etc.) ? As far as I can tell, konqueror no longer supplies this information in KDE4, and neither does Dolphin... although Dolphin will automount the device, but I prefer to manually mount added drives so I can reliably use prescripted fluxbox commands.
infiniphunk
09-18-2008, 12:48 AM
dude, what you're looking for is:
fdisk -l
(as root, of course :))
cheers
blackbelt_jones
09-18-2008, 01:02 AM
Well, I hope that I was as helpful to you as you were to me. Thanks!
Wait a minute... it's not picking up the USB device.
blackbelt_jones
09-18-2008, 01:13 AM
Ah there it is! You just have to plug it in and replug it a few times, and wait a good sixty seconds. Pretty much how it works with konqueror with this machine.
saikee
09-18-2008, 06:01 AM
No need to do plugging and unplugging, which can damage the content of the device.
Type "fdisk -l" and use the direction key to recall and repeat the command a few times should normally do it.
If in doubt about a device just "unount" it first, using either the hardware device name like /dev/sda1 or the mounted directory name like /media/disk, and the "mount" it again.
cybertron
09-19-2008, 02:26 PM
Also, a USB drive will generally show up in dmesg when you plug it in. It will tell you which sd* it's been assigned and what partitions are available on it.