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

H. Peter Anvin (hpa@zytor.com)
9 May 2001 15:29:28 -0700


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/