On Wed, Jan 11, 2012 at 12:11 PM, Colin Guthrie <gm...@colin.guthr.ie> wrote: > 'Twas brillig, and Tom Gundersen at 02/01/12 23:28 did gyre and gimble: >> The 'Age' filed only makes sense when used together with 'D', as >> 'd' does not delete any files. >> >> Change all entries with a non-empty Age field from 'd' to 'D'. > > I'm pretty sure Lennart promised to merge this kind of patch a while ago > when I discussed it with him in Prague. Slacker!
Kay convinced me on IRC that my patch is wrong. I promised an updated manpage to clear up any confusion, but I have not gotten around to it yet. My confusion stemmed from the fact that I thought the Age field means that the Action ('d' or 'D') is not applied to files younger than the Age. However, the semantics should be that the Age and the Action are entirely independent: The Action is applied to files regardless of their age; and files older than Age are deleted on --clean regardless of the corresponding Action. I still think that we might want to change the '/tmp' entry (and possibly the ones you your patch) to 'D' as that would make the case of tmpfs and non-tmpfs /tmp more similar, and I guess more in line with what people expect (/tmp being emptied on boot). Cheers, Tom _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel