Bug#538348: pkgsel/tasksel: can no longer determine free space for desktop task
On Sat, Jul 25, 2009 at 02:55:57PM +0200, Frans Pop wrote:
> On Saturday 25 July 2009, Colin Watson wrote:
> > Mm, yes, that's probable, although without that change it would
> > presumably have been getting garbage data from /etc/mtab anyway. (df
> > doesn't seem to fall back to /proc/mounts.)
> >
> > Perhaps we should temporarily make /target/etc/mtab a symlink to
> > /proc/mounts while running tasksel? Eventually I believe the plan is to
> > do that in the regular system anyway, but until the rest of the world
> > catches up ...
>
> Won't that have the /target prefix in it for some mounts and thus be
> unusable inside a chroot?
/proc/mounts is sensitive to the root directory of the process reading
it.
--
Colin Watson [cjwatson@debian.org]
Reply to: