Re: Hotplug - how does it get the name?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message ----- From: "B Wooster" <bwooster47@xxxxxxxxx>
To: <thomas.cameron@xxxxxxxxxxxxxxx>
Cc: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
Sent: Wednesday, February 16, 2005 9:29 AM
Subject: Re: Hotplug - how does it get the name?



On Tue, 15 Feb 2005 21:12:01 -0600 (CST), Thomas Cameron
<thomas.cameron@xxxxxxxxxxxxxxx> wrote:
> I'm trying to unravel the process by which my USB SB Card Reader gets
> a name in /media - when I plug in this device, I see /etc/fstab gets a
> new entry - /dev/sda1 with /media/CANON_DC as the mount point.
>
> The Reader is not a canon, though when I first installed Fedora FC3, I
> did plug in a Canon camera in the USB port.
>
> I'm trying to figure out if I can change the word "CANON_DC" to
> something else, am assuming that the string CANON_DC is stored in some
> config file, but have not been able to find it yet...
>
> Any help/pointers on where to look for this appreciated...

I have no idea, but what if you do:

grep -r CANON_DC /etc/*
Thomas

Yup, this is what I tried (actually grep CANON_DC */* and then */*/* etc). That locked up my machine solidly - no keys accepted, only way out is to power cycle. No clue anywhere - no logs, etc as to why the kernel locked up. It is a two year old box, and I did upgrade the BIOS (the older BIOS would immediately hang the 2.6 kernel, worked fine with 2.4).

So, I'm staying away from wide greps in /etc!
Uname is:
2.6.10-1.760_FC3 #1 Wed Feb 2 00:14:23 EST 2005 i686 athlon i386 GNU/Linux

Wow - what happens if you do this:

for i in find /etc -type f; do
 echo $i
 grep CANON_DC $i
done

That will tell you where it's hanging at least...

Thomas


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux