Skip to contentSkip to conversation

IGNORE method

DISCUSSION Kay Sievers 3 participants 5 messages Jan 10, 2004 – Jan 13, 2004

lore
Share & tools
lore
#0 lore raw

http://linuxusb.bkbits.net:8080/udev/[email protected]?nav=index.html|ChangeSet@-2d

We have a IGNORE rule now?
I would prefer a change that simply allows NAME="".
That works with every other method, not only kernel names and is much much simpler.

Hmm...

Kay

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 4 lines · Kay Sievers

http://linuxusb.bkbits.net:8080/udev/[email protected]?nav=index.html|ChangeSet@-2d

We have a IGNORE rule now?

Yeah, Christophe sent me a patch for one.

Quoted 3 lines

I would prefer a change that simply allows NAME="".
That works with every other method, not only kernel names and is much much simpler.

Ah. Yeah, that might be a lot simpler. Something like (in your new syntax):

	KERNEL="dm-[0-9]*", NAME=""

It's not the most intuitive, but I could live with it. Christophe, what do you think?

thanks,

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Kay Sievers

Am Sa, den 10.01.2004 schrieb Greg KH um 02:35:

Quoted 12 lines · Kay Sievers
Quoted 4 lines

http://linuxusb.bkbits.net:8080/udev/[email protected]?nav=index.html|ChangeSet@-2d

We have a IGNORE rule now?

Yeah, Christophe sent me a patch for one.

Quoted 3 lines

I would prefer a change that simply allows NAME="".
That works with every other method, not only kernel names and is much much simpler.

Quoted 6 lines

Ah. Yeah, that might be a lot simpler. Something like (in your new syntax):

	KERNEL="dm-[0-9]*", NAME=""

It's not the most intuitive, but I could live with it. Christophe, what do you think?

Sure, I thought of this too. I added the IGNORE rule because it's more intuitive but if this is more flexible, I'm ok with it. You should be aware that this would also ignore an additional SYMLINK.

Should I update my patch or add one on top of it that drops the new rule?

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Kay Sievers
Quoted 17 lines · Christophe Saout

Am Sa, den 10.01.2004 schrieb Greg KH um 02:35:

Quoted 16 lines · Kay Sievers
Quoted 4 lines

http://linuxusb.bkbits.net:8080/udev/[email protected]?nav=index.html|ChangeSet@-2d

We have a IGNORE rule now?

Yeah, Christophe sent me a patch for one.

Quoted 3 lines

I would prefer a change that simply allows NAME="".
That works with every other method, not only kernel names and is much much simpler.

Ah. Yeah, that might be a lot simpler. Something like (in your new syntax):

	KERNEL="dm-[0-9]*", NAME=""
Quoted 6 lines
Quoted 2 lines

It's not the most intuitive, but I could live with it. Christophe, what do you think?

Sure, I thought of this too. I added the IGNORE rule because it's more intuitive but if this is more flexible, I'm ok with it. You should be aware that this would also ignore an additional SYMLINK.

So you would like to not create a name, but create a symlink? What would you create the symlink to?

Quoted 2 lines

Should I update my patch or add one on top of it that drops the new rule?

Kay's patch took care of it already.

thanks,

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#4 lore raw
In reply to Kay Sievers

Am Di, den 13.01.2004 schrieb Greg KH um 19:08:

Quoted 10 lines · Christophe Saout
Quoted 9 lines

Am Sa, den 10.01.2004 schrieb Greg KH um 02:35:

Quoted 7 lines

Ah. Yeah, that might be a lot simpler. Something like (in your new syntax):

	KERNEL="dm-[0-9]*", NAME=""

It's not the most intuitive, but I could live with it. Christophe, what do you think?

Quoted 6 lines
Quoted 3 lines

Sure, I thought of this too. I added the IGNORE rule because it's more intuitive but if this is more flexible, I'm ok with it. You should be aware that this would also ignore an additional SYMLINK.

So you would like to not create a name, but create a symlink? What would you create the symlink to?

No, I don't want to. :D I just wondered what should be done if a symlink is specified but an empty name. A warning? At the moment udev silently ignores errors anyway so... not important.

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel