Carl Lowenstein wrote:
> On Tue, Apr 21, 2009 at 5:23 PM, Gus Wirth <[email protected]> wrote:
>> Carl Lowenstein wrote:
>>> I have two SATA hard drives, they are assigned names /dev/sda and /dev/sdb.
>>> When USB removable devices are mounted, the system assigns them a
>>> name, such as /dev/sdc, /dev/sdd, and so on.  These names seem not to
>>> be recycled, even after a system reboot.  So my system is currently up
>>> to /dev/sdg and /dev/sdh.
>>>
>>> Is there an easy way to reset this name assignment?  Some Google
>>> browsing suggests unload and reload the usb-storage module.  This
>>> seems rather violent.
>> You didn't say what distribution you are using. I don't have this
>> problem with Fedora 8 or Ubuntu 8.04.
>>
>> Since the behavior is exhibited after a reboot, which I'm assuming means
>> it picks up where it left off in the naming scheme, the problem is with
>> the udev rules persistence mechanism. Check in /etc/udev/rules.d/ or
>> wherever your system keeps its udev rules. Usually there is some rule
>> with the word "persistent" in its name that will lead you to the cause.
> 
> System is CentOS 5.3

I am unable to reproduce your problem. I have a clean install of CentOS
5.3 upgraded to the latest packages as of 2000 04/21/2009, udev version
udev-095-14.20.el5_3

This is my list of udev rules:

[...@gwgw ~]$ ls -l /etc/udev/rules.d/
total 252
-rw-r--r-- 1 root root   515 Apr 17 16:52 05-udev-early.rules
-rw-r--r-- 1 root root   920 Apr 17 16:50 40-multipath.rules
-rw-r--r-- 1 root root 15647 Apr 17 16:52 50-udev.rules
-rw-r--r-- 1 root root   471 Apr 17 16:52 51-hotplug.rules
-rw-r--r-- 1 root root 20771 Apr 16 12:59 60-libmtp.rules
-rw-r--r-- 1 root root 58016 Apr  3  2007 60-libsane.rules
-rw-r--r-- 1 root root   143 Nov 13 07:48 60-net.rules
-rw-r--r-- 1 root root  1088 Jan  6  2007 60-pcmcia.rules
-rw-r--r-- 1 root root   452 Jan 20 22:24 60-raw.rules
-rw-r--r-- 1 root root  8209 Jan 21 01:11 60-wacom.rules
-rw-r--r-- 1 root root   129 Feb 26 02:20 61-uinput-stddev.rules
-rw-r--r-- 1 root root   214 Feb 26 02:20 61-uinput-wacom.rules
-rw-r--r-- 1 root root  1823 Jan 21 00:01 85-pcscd_ccid.rules
-rw-r--r-- 1 root root   114 Jan 20 23:45 90-alsa.rules
-rw-r--r-- 1 root root    61 Apr 17 16:52 90-dm.rules
-rw-r--r-- 1 root root    82 Jan 20 20:37 90-hal.rules
-rw-r--r-- 1 root root   107 Apr 17 16:52 95-pam-console.rules
-rw-r--r-- 1 root root   292 Jan 21 03:13 98-kexec.rules
-rw-r--r-- 1 root root  2319 Jul 14  2008 bluetooth.rules
[...@gwgw ~]$

You might try changing the /etc/udev/udev.conf file to have udev logging
go from "err" to "debug". You can change it at runtime with udevcontrol.
Hints are in the file.

Gus

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to