LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   USB Thumb Drive Will Not Mount Unless Present During Boot. (https://www.linuxquestions.org/questions/slackware-14/usb-thumb-drive-will-not-mount-unless-present-during-boot-361863/)

pnellesen 02-20-2006 09:10 PM

Actually, I did some more Googling today and found this:

http://wiki.archlinux.org/index.php/...es_to_a_device

This seems to present a solution to the problem. I haven't yet tried this on my system, but plan to soon as I get a chance...

liquidtenmilion 02-20-2006 10:04 PM

<_<


And people say that HAL's autmounting is useless... I used to have these same problems too. But that was well over a year ago. The only way that I personally know how to do this would be to use "fstab-sync", but then again that is hal dependent. It adds a new entry to /etc/fstab whenever a device(user configurable) is added to the system, and then removes the entry when that device is removed.(it can also only modify entries that it itself made, not user created entires)

pnellesen 02-20-2006 10:49 PM

Yah - I may have to try something like that, assuming it would work with 2.4.31 kernel (that's what I'm using at the moment, so the link I posted earlier is somewhat useless for me, if what I'm reading about udevinfo is true...) Right now I made an ugly hack to /etc/fstab to set my camera to it's own mount point, which I imagine will break if I reboot my system, but for now it'll work until I can find something better. I may move up to 2.6 if these USB issues become a major headache (assuming that'll help any)

Thanks,

-=Graz=- 02-21-2006 12:23 AM

thamnks MDG for your advice.
this has worked perfectly for me as '/dev/sda1'
using sandisk cruzer titanium usb key

i have spent so many hours trying to figure out how to use the /proc area to do this - im confused now as to how i got on that track.

thanks again!!

Steve50 02-21-2006 10:50 AM

Mounting flash drive
 
Same problem here, and that help link seems to be dead at the moment.

cwwilson721 02-21-2006 11:09 AM

Quote:

Originally Posted by pnellesen
So, any ideas on how one sets up /etc/fstab for this? I played with it a few more times last night, and it "appeared" that the devices maintained their assignments, meaning no matter how many times I disconnected the thumb drive it was assigned the same device path, and the same behavior for my camera. As long as this behavior's consistent, it's not a problem, though I'd hate to have to create an entirely new mount point for each and every new device I'd attach.

Note that this is all on the same USB port - I haven't connected 1 device to 1 port, the next to another (I've only got 2 ports on the machine anyway...)

Thanks,

Quote:

Originally Posted by cwwilson721
GNU/Linux assigns devices by the order they are originally detected.

For example: first USB device it finds maybe /dev/sda, but if you unplug it hot, then plug back into another port, it may decide that it's /dev/sdb.

The operative word there is 'may'. It may also 'may not' . There are so many variables (BIOS, MB, kernel version, other hardware in the system, even how much tea costs in China) that the REAL answer is "Who knows?"

lestoil 02-21-2006 02:40 PM

you may find http://wiki.kde.org/tiki-index.php?page=DBUS interesting along with the excellent Arch ref.


All times are GMT -5. The time now is 06:36 PM.