Re: [PATCH] make distclean tries to delete dirs in tmpfs

From: H. Peter Anvin (hpa@zytor.com)
Date: Wed May 09 2001 - 17:29:28 EST


Followup to: <20010509204434.Q754@nightmaster.csn.tu-chemnitz.de>
By author: Ingo Oeser <ingo.oeser@informatik.tu-chemnitz.de>
In newsgroup: linux.dev.kernel
>
> make distclean deletes anything with size 0. This includes
> directories, while making the kernel in tmpfs or ramfs.
>

Wouldn't it be better to fix tmpfs/ramfs to report something sensible,
even if it's artificial? Perhaps reporting the cardinality of the
directory, if that happens to be easily available.

N.B.: X/KDE will not run on a ramfs, because it reports as a size-zero
filesystem in "df". Switching to tmpfs solved that for me.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 15 2001 - 21:00:21 EST