On Wed, 2007-07-11 at 22:09 -0500, Stevens wrote: > On Wednesday 11 July 2007 21:12, Patrick Shanahan wrote: > > * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [07-11-07 17:41]: > > > What is the best way to set the timeout to 120 permanently at boot-up > > > as is done with echo 120 > /sys/block/sda/device/timeout manually? > > > > ??? add the line "echo 120 > /sys/block/sda/device/timeout" to > > /etc/init.d/boot.local > > ??? > > > > The problem that I have with this line of logic is that I have no "sda" > in /sys/block until AFTER I plug in my flash drive, therefore adding a line > in boot.local that references "sda" won't do anything except generate an > error message (or nothing at all) if there is no flash drive present at boot, > which is the case here. > > I would think that the same process that detects the flash drive and adds > the "sda" directory should also add the proper timeout value. > > Fred
Makes sense. Could you help out with which process could be used? I know that USB at plugin calls klauncher. How can klauncher's start be enhanced to add the timeout value. Is there a process that starts before klauncher that detects USB? :-) Al -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
