Re: [PATCH 1/3] ext2/3/4: enable "undeletable" file attribute.

From: Dagfinn Ilmari MannsÃker
Date: Tue Nov 21 2006 - 20:12:21 EST


Arnd Bergmann <arnd@xxxxxxxx> writes:
> On Tuesday 21 November 2006 23:16, James Hunt wrote:
> > ... it's not honoured by the kernel:
> >
> >  > rm /tmp/wibble       # yikes! this should fail!!
>
> I always thought of the term 'undeletable' to mean that you can
> undelete the file (restore it) after it has been deleted. Of course,
> this is not implemented either, but it means something very different
> than what your patch does.

That is indeed what the documented (but not implemented) meaning is.
>From chattr(1):

| When a file with the âuâ attribute set is deleted, its contents
| are saved. This allows the user to ask for its undeletion.

So the meaning is undelete-able, not un-deletable.

--
ilmari
"A disappointingly low fraction of the human race is,
at any given time, on fire." - Stig Sandbeck Mathisen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/