speedup loop device node creation.
PATCH 1/1 speedup loop device node creation.
--- etc/udev/rules.d/50-udev-default.rules | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
etc/udev/rules.d/50-udev-default.rules +1 -0
@@ -60,6 +60,7 @@ KERNEL="irlpt[0-9]*", GROUP="lp" # block, tapes, block-releated SUBSYSTEM="block", GROUP="disk", MODE="0640" +SUBSYSTEM="block", KERNEL="loop[0-9]*", OPTIONS+="last_rule" SUBSYSTEM="block", KERNEL="sr[0-9]*", SYMLINK+="scd%n" SUBSYSTEM="scsi", KERNEL="[0-9]*:[0-9]*", ACTION="add", ATTR{type}="0|7|14", ATTR{timeout}="60" SUBSYSTEM="scsi", KERNEL="[0-9]*:[0-9]*", ACTION="add", ATTR{type}="1", ATTR{timeout}="900"
Signature · 11 lines
1.5.2.4 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 1 line · Harald Hoyer
+SUBSYSTEM="block", KERNEL="loop[0-9]*", OPTIONS+="last_rule"
Why? Please explain this change.
Signature · 11 lines
ciao, Marco ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 5 lines · Marco d'Itri
Quoted 1 line · Harald Hoyer
+SUBSYSTEM=="block", KERNEL=="loop[0-9]*", OPTIONS+="last_rule"
Why? Please explain this change.
Same reason as "last_rule" for tty*.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 5 lines · Harald Hoyer
Quoted 3 lines · Marco d'Itri
Quoted 1 line · Harald Hoyer
+SUBSYSTEM=="block", KERNEL=="loop[0-9]*", OPTIONS+="last_rule"
Why? Please explain this change.
Same reason as "
last_rule" for tty*.
It's still not obvious what they have in common.
Signature · 2 lines
ciao, Marco
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 8 lines · Harald Hoyer
Quoted 5 lines · Marco d'Itri
Quoted 1 line · Harald Hoyer
+SUBSYSTEM="block", KERNEL="loop[0-9]*", OPTIONS+="last_rule"
Why? Please explain this change.
Same reason as "
last_rule" for tty*.
Can we sure, that nobody wants to do anything with the loop blockdev events?
The tty events are skipped because there are hundreds of events at bootup which we expect to be useless.
Kay
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Kay Sievers
Quoted 6 lines · Harald Hoyer
Quoted 5 lines · Marco d'Itri
Quoted 1 line · Harald Hoyer
+SUBSYSTEM=="block", KERNEL=="loop[0-9]*", OPTIONS+="last_rule"
Why? Please explain this change.
Quoted 8 lines
Quoted 1 line
Same reason as "
last_rule" for tty*.Can we sure, that nobody wants to do anything with the loop blockdev events?
The tty events are skipped because there are hundreds of events at bootup which we expect to be useless.
Kay
loop must be used with losetup... can be done, if wanted in 00-49-*.rule files.
In case of 128 or more loop devices (max_loop module parameter), this is as nice to have, as the tty* events.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 4 lines · Harald Hoyer
loop must be used with losetup... can be done, if wanted in 00-49-*.rule files.
In case of 128 or more loop devices (max_loopmodule parameter), this is as nice to have, as the tty* events.
Hardly a common configuration.
I object to special-casing more devices this way.
Signature · 2 lines
ciao, Marco
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel