Re: [OT] inotify hack for locate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Ne 05-03-06 23:30:09, M?ns Rullg?rd wrote:
> Benjamin LaHaise <[email protected]> writes:
> 
> > On Sun, Mar 05, 2006 at 04:43:03PM -0500, Lee Revell wrote:
> >> updatedb runs at nice 20 on most distros, and with the CFQ scheduler the
> >> IO priority follows the nice value, so why does it still kill the
> >> machine?
> >
> > Running updatedb on a laptop when you're sitting in an airplane running 
> > off of batteries is Not Nice to the user.  I know, I've had it happen far 
> > too many times.
> 
> Running updatedb only if AC powered shouldn't be too difficult.

That makes locate useless on some machines. I have sharp zaurus C3000
here... It is either powered on *or* connected on AC, but very rarely
connected to ac while turned on. Well, its power plug located at weird
place and old software version that prevents charging while turned on
is contributory factor, but...

								Pavel
-- 
Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux