Messages in this thread | | | Subject | Re: [PATCH 1/3] ext2/3/4: enable "undeletable" file attribute. | From | (Dagfinn Ilmari Mannsåker) | Date | Wed, 22 Nov 2006 01:11:35 +0000 |
| |
Arnd Bergmann <arnd@arndb.de> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |