Re: [gentoo-user] Teaching Linux to remember USB

2006-02-28 Thread daniel
On Sunday 26 February 2006 20:14, K Barter wrote: > I just did something similar today. I have a USB hard drive, and a USB mp3 > player, and I used udev to set up the nodes so that they will always be the > same. > > I created a new file under /etc/devfs/rules.d, and called it > 10-local.rules. I

Re: [gentoo-user] Teaching Linux to remember USB

2006-02-26 Thread K Barter
I just did something similar today.  I have a USB hard drive, and a USB mp3 player, and I used udev to set up the nodes so that they will always be the same.I created a new file under /etc/devfs/rules.d, and called it 10-local.rules.  I used 10 so that it will be processed before the main rules fi

Re: [gentoo-user] Teaching Linux to remember USB

2006-02-26 Thread Brett I. Holcomb
Check out udev and set them up in the /etc/udev local file. The Gentoo site has docs on udev with links to some good references. On Sunday February 26 2006 15:12, daniel wrote: > I have a number of USB devices. Card Reader, Flash drive, iPod, Camera > etc. But every time I plug in my CF reader

Re: [gentoo-user] Teaching Linux to remember USB

2006-02-26 Thread Richard Fish
On 2/26/06, daniel <[EMAIL PROTECTED]> wrote: > What I'd like to know is how to plug it in and have it always get the same id. > Is this even possible? Write udev rules to create persistent device names. An example from my /etc/udev/rules.d/10-local.rules file: BUS=="usb", KERNEL=="sd[a-z]2", SYS

[gentoo-user] Teaching Linux to remember USB

2006-02-26 Thread daniel
I have a number of USB devices. Card Reader, Flash drive, iPod, Camera etc. But every time I plug in my CF reader My machine assigns a different id to it. Sometimes it's /dev/sdb sometimes its /dev/sdg etc. It seems to be based on the order in which I plug the devices in, or maybe the port u