Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-20-2006, 09:10 PM
|
#16
|
Member
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371
Rep:
|
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...
|
|
|
02-20-2006, 10:04 PM
|
#17
|
Member
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606
Rep:
|
<_<
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)
|
|
|
02-20-2006, 10:49 PM
|
#18
|
Member
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371
Rep:
|
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,
|
|
|
02-21-2006, 12:23 AM
|
#19
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
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!!
|
|
|
02-21-2006, 10:50 AM
|
#20
|
Member
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121
Rep:
|
Mounting flash drive
Same problem here, and that help link seems to be dead at the moment.
Last edited by Steve50; 02-21-2006 at 10:54 AM.
|
|
|
02-21-2006, 11:09 AM
|
#21
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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?"
|
|
|
02-21-2006, 02:40 PM
|
#22
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
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 11:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|