On 2003-08-11(Mon) 13:54:10 +0100, Adam Williamson wrote: > On Sun, 2003-08-10 at 15:02, Andrey Borzenkov wrote: > > hotplug is updated to 2003_08_05 that officially supports 2.6 + various fixes. > > All previous patches are rediffed when apropriate. the main addition is input > > agent > > > hotplug: > > > > * Wed Aug 06 2003 Andrey Borzenkov <[EMAIL PROTECTED]> 2003_08_05-0.1bor > > > > - new version > > - rediff patch5 > > - remove patch9 - fixed upstream > > - patch15 - make sure hex values in sysfs for USB are interpreted as > > hex and not as decimal > > Found a bug with this. It uses the "wc" command, which is in /usr/bin . > At the stage hotplug is run during boot, /usr is not mounted if it's on > a separate partition, so it won't work on such machines (e.g. mine). So > I guess either this needs to stop using wc, or wc needs to move to /bin
If only wc -l option is used, then we can replace it with "grep -c '^'" because grep is in /bin (though grep would be a bit slower than wc). Abel > . > -- > adamw > > -- Abel Cheung Linux counter #256983 | http://counter.li.org GPG Key: (0xC67186FF) | http://deaddog.org/gpg.asc Key fingerprint: 671C C7AE EFB5 110C D6D1 41EE 4152 E1F1 C671 86FF
pgp00000.pgp
Description: PGP signature
