Forum Home
Press F1
 
Thread ID: 64422 2005-12-14 20:03:00 Linux - Hot plugging usb drives personthingy (1670) Press F1
Post ID Timestamp Content User
412716 2005-12-14 20:03:00 A friend of mine has just got given a usb 256Mb portable storage device. She wears it round her neck, calls it her new boyfriend, kisses it, and tells everyone how much she loves "him". Its so cute..

Anyway.... when she plugs it into flaptop, the only way i can find to get flaptop to see the new drive, is to reboot, where upon its seen as /media/sda1

I can hotplug to my hearts content, so long as i don't reboot, as soon as i do, if the pendrive isn't there on boot, it isn't seen no matter what i do. :(

Is there a way to get the pendrive to appear without rebooting? In a previous linux i was running, such a drive would appear magicly in the devices list as soon as it was plugged in.

Ideally i'd like simple command, or a desktop icon that tells the system to have a nosy at what's just been connected, and update the devices list.

I'm currently running a highly updated Mepis system, It's updates seem to make it very debian flavoured!
personthingy (1670)
412717 2005-12-14 20:28:00 Does lsusb produce any results? Sometimes I have noticed that USB pen drives do mount but there is no evidence in the GUI of it happening - when you navigate to /media/??? you find the file system has been mounted.

.... but I gather your system is not finding the hardware?
johnd (85)
412718 2005-12-14 20:53:00 Does lsusb produce any results? Sometimes I have noticed that USB pen drives do mount but there is no evidence in the GUI of it happening - when you navigate to /media/??? you find the file system has been mounted.

.... but I gather your system is not finding the hardware?i'll try "lsusb" when my friend is round next, she's expected tommorow

Your right, no eveidence of the USB device seen in the GUI, and navigating to /media/sda1 just got me an error message :(
personthingy (1670)
412719 2005-12-14 22:16:00 Reboot the flaptop with the USB dongle inside.
An icon should be visible on the desktop.

now head to the /etc/fstab file and there should be a lot of entries. At the bottom it should have something like dynamic entries /dev/sda... (or something like that)
Copy that line and pop it up to the static portion of the file. Save.

Thats what I did to get it working and display an icon on my Mepis Flaptop.

e.g
www.mepis.org
bob_doe_nz (92)
412720 2005-12-14 22:29:00 Cool... i'll ring my friend now, and get her to bring her USB toy round to plug into the laptop tommorow..........

So much fun to have..

I'll report back with the result ASAP :D
personthingy (1670)
412721 2005-12-15 01:45:00 Have you got the hotplug (theta.uta.edu/linux/man/index.php?query=hotplug&apropos=0&section=0&type=2) service running? I think it's a service ... ;)

Anyway, that's what you need to recognise things which are plugged in after boot time.
Graham L (2)
412722 2005-12-15 01:56:00 So much fun to have..
They got pictures of you in a dress? :p :rolleyes:
bob_doe_nz (92)
412723 2005-12-15 02:11:00 3....2....1.... 24 hour ban zqwerty (97)
412724 2005-12-15 02:17:00 3....2....1.... 24 hour ban
What for? This was something I was talking to Pthingy about last night :xmouth:
bob_doe_nz (92)
412725 2005-12-15 03:04:00 My bad then. zqwerty (97)
1 2