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

Re: making PCMCIA happy



Erik Andersen <andersen@xmission.com> writes:

> On Tue Mar 21, 2000 at 12:17:42PM -0500, Brian Mays wrote:
> > > Hum.  Is fuser necessary, do you think, for some install / boot
> > > situations?
> > 
> > For simple stuff -- to get the system up and running and begin the real 
> > installation -- probably not.  In my opinion, you could probably get away 
> > with a "dummy" version of fuser, which keeps the scripts from complaining, 
> > but doesn't actually do anything.
> 
> Something like that could be easily added to 
> boot-floppies/scripts/rootdisk/prototype/bin/lazybox.

Yes -- I was thinking lazybox should provide fgrep passing thru to
grep.  

The question is should fuser just no-op. I guess so.

> Could you gather up the fuser use cases so we can get an
> idea of what it needs to do?  For example, to kill pcmcia-cs
> on the boot floppies root disk, the following is sufficient
>     kill `ps fax | grep "[i]nit"`

All scripts mentioned are from /etc/pcmcia:

  ftl uses fuser in the check argument (no worries)

  memory uses it in the check (no worries) and stop arguments:
    fuser -k /dev/${DEVICE}* > /dev/null

  network uses it in the stop argument, apparently to kill 
  processes using NFS mounted partitions

  ...

And so it goes.  I think it's safe to just no-op all of these; I'll do
that.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>


Reply to: