udev rules and permissions

Jim Gifford lfs at jg555.com
Tue Aug 17 14:23:59 PDT 2004


Matthew Burgess wrote:

>On Tue, 17 Aug 2004 15:07:45 -0600
>Gerard Beekmans <gerard at linuxfromscratch.org> wrote:
>
>  
>
>>On Wed, 2004-08-11 at 01:42, Alexander E. Patrakov wrote:
>>    
>>
>>>Currently we install the following files:
>>>
>>>/etc/udev/rules.d/00-lfs.rules
>>>/etc/udev/rules.d/50-udev.rules
>>>/etc/udev/permissions.d/00-lfs.permissions
>>>/etc/udev/permissions.d/50-udev.permissions
>>>
>>>That's wrong, for the following reasons:
>>>      
>>>
>><snip>
>>
>>Unless somebody can fix this up real quick in the book, I don't think
>>it will be part of the Testing branch. However if somebody can
>>properly fix it (after some discussion) by tomorrow then I can
>>probably still include it.
>>    
>>
>
>According to the OP it's a simple renaming of files - i.e. the textual
>changes are trivial.  The files can then be renamed/copied on belgarath
>to correspond to the book text.
>
>I can't comment on the second problem (regarding the default 'cdrom'
>rule being unsuitable for those with more than one cdrom drive - maybe
>Alexander could expand on that a bit - a proposed alternative would also
>be useful).
>
>Cheers,
>
>Matt.
>  
>
It's a simple fix, the cdrom thing is an example. Basically all we have 
to do is remove the default rules that come with udev and rename our 
rules from 00-filename to 25-filename so that users can add their custom 
rules.

Correct me if I'm wrong here Alex.

-- 
------
jim at linuxfromscratch.org
lfs at jg555.com

LFS User # 2577
Registered Linux User # 299986

FWD: 275410
IPKall: 360-968-1517




More information about the lfs-dev mailing list