Re: XATTR option does NOT work for chattr attributes

[email protected] (Joerg Schilling) Fri, 21 Sep 2007 14:47:51 +0200
Newsgroups gmane.comp.archivers.star.user
Message-ID <46f3bd77.98Z9X+ThMa/C0K9n%[email protected]>
"Vincent Callanan" <[email protected]> wrote:

> Jörg,
>
> I think you've just cleared up some major confusion on my part.
> Unfortunately, what I refer to as "chattr" attributes are frequently called
> "extended attributes"...hence the misleading subject line above. So this has
> absolutely nothing to do with EAs/XATTRs, right?

OK, what  you get from chartte is just a few "free" bits from the UFS on disk 
inode.

Extended attributes are much more generic. On Solaris this is any attitional 
file in a new name space. On Linux it is with reduced functionality and gives 
only name value pairs - still more than file flags.

> > So please give a better explanation of your problem.
>
> My problem is that star does not preserve "chattr" attributes during a
> copy/backup/restore (forget about XATTRs, they work fine). But now I
> understand that "chattr" attributes are a whole different ball-game and this
> feature is not yet implemented by star.

File flags are implemented since 2001.

> I'll just have to forget about using the immutable flags...that is if I want
> them preserved during backups and restores. Pity!

Star should support to completely restore the file flags.

If you have a problem, send a tar archive with a single empty file that cannot 
be restored correctly.

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily