Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with automatically created /dev nodes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tdennist
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2004
Posts: 145

PostPosted: Mon Oct 10, 2005 1:25 am    Post subject: problems with automatically created /dev nodes Reply with quote

My problem is this. I have a USB Flash drive, and I have an iPod. Both work just dandily. However, due to Gentoo's fancy create-the-device-node-as-it's-needed feature, when I plug my iPod in first, it's /dev/sda. When I plug the USB drive in first, IT is /dev/sda. Whichever is plugged in second is /dev/sdb. This creates problems for me and my /etc/fstab file. I can't create a solid "/mnt/ipod" entry or a solid "/mnt/usbmem" entry, because which device node they are depends on the order I plug them in.

Is there a way to assign each device a specific device node? Thanks!

edit: sorry, here's my uname -a:
Code:

Linux tdennist-loonix 2.6.12-gentoo-r10 #4 SMP Sun Sep 25 21:39:42 EST 2005 i686 AMD Athlon(tm) XP 2500+ AuthenticAMD GNU/Linux


Tell me if you need any more information.
_________________
Registered Linux user #356840

Fleens??! YOU'RE not FLEENS! Well, whatever you are....MAKE ME A PIZZA!!?
Back to top
View user's profile Send private message
davidmanning
n00b
n00b


Joined: 09 Oct 2005
Posts: 10

PostPosted: Mon Oct 10, 2005 1:30 am    Post subject: Reply with quote

Isn't that exactly what fstab-sync does? It creates mounts under /media in response HAL events. Do you have hal installed?
Back to top
View user's profile Send private message
tdennist
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2004
Posts: 145

PostPosted: Mon Oct 10, 2005 1:45 am    Post subject: Reply with quote

I haven't even heard of hal. Let's get some elaboration, woo!
_________________
Registered Linux user #356840

Fleens??! YOU'RE not FLEENS! Well, whatever you are....MAKE ME A PIZZA!!?
Back to top
View user's profile Send private message
davidmanning
n00b
n00b


Joined: 09 Oct 2005
Posts: 10

PostPosted: Mon Oct 10, 2005 1:58 am    Post subject: Reply with quote

okie dokie. Here are some howto's that will take you down the right path:

http://gentoo-wiki.com/HOWTO_USB_Mass_Storage_Device

If you're using Gnome:
http://gentoo-wiki.com/HOWTO_gnome-volume-manager

or KDE:
http://gentoo-wiki.com/HOWTO_D-BUS,_HAL,_KDE_media:/

Here's where to start reading up on the joys of udev:

http://www.gentoo.org/doc/en/udev-guide.xml

I should mention that I still haven't gotten gnome-volume-manager to work exactly the way I want it to... although fstab-sync has no problem finding and mounting my CD-ROM drive (which is already mentioned in fstab) it doesn't seem to be all about mounting my USB stick automatically...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum