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/