how come "df" can't handle the initrd root filesystem?
Rob Landley
rob at landley.net
Tue Aug 22 21:35:34 UTC 2006
On Tuesday 22 August 2006 7:58 am, Robert P. J. Day wrote:
> On Tue, 22 Aug 2006, walter harms wrote:
>
> > maybe this is related to the 'no putput from df' thread ?
>
> argh. that's what i get from being away too long.
I have a fix pending, I've just spent the past few days doing timesys dayjob
things, reading lash code and trying to put together a bbsh prototype, and
taking a day off for my fiancee's birthday. (We went to Ikea. Ikea is
tiring.)
The correct fix is for df to look at the last mounted instance of each
filesystem, no matter what it is. So don't filter out "rootfs" specially,
instead just filter out any filesystem that is eclipsed by a later mount.
I'm stealing the mtab_list code from umount to do this (moving it to bbsh).
Just a touch overscheduled the past couple weeks. :)
I _really_ need to get the tuesday/thursday telecommuting thing back so I have
dedicated blocks of time set aside to keep up with this stuff, but this week
there's a rush job at work that I need to get finished before bringing up
telecommuting arrangements...
Rob
(P.S. There are a number of things lash just doesn't do right. Most
obviously, wildcard expansion and spaces don't mix well. And the way quotes
are handled is... Um... Ouch.)
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list