At Mon, 23 Mar 2009 17:19:45 +0100,
Stefan Fritsch wrote:
>
> On Wednesday 18 March 2009, Junichi Uekawa wrote:
> > I'd like to fix this with pbuilder fix, and keep the rm -rf. If
> > you know of any reliable way to check if a bind-mounted directory
> > is still mounted, I'd like to hear about it.
>
> cowbuilder needs to be fixed, too.
>
> cut -d' ' -f 2 /proc/mounts|
> grep "$(cd /var/cache/pbuilder/build/cow.12345 ; pwd -P)"
>
> should do it, at least if the user hasn't done stupid things like
> making this a symlink to a directory with a name containing spaces.
Yeah, exactly.
So, just a gradual improvement.
If you feel strongly, you may want to submit a patch.
--
dan...@{netfort.gr.jp,debian.org}
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]