Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: HEADS UP: UFS2 extended attribute changes will be committed tomorrow



On Mon, Dec 05, 2022 at 11:32:38AM +0100, Matthias Petermann wrote:
> Hi Chuck,
> 
> Am 22.11.22 um 07:10 schrieb Chuck Silvers:
> [....]
> > as you noted in your later mail, this is documented only in the fsck_ffs manpage
> > since it only applies to fsck_ffs and not the fs-independent fsck wrapper program.
> > 
> > thanks for your feedback!
> > 
> > -Chuck
> 
> thank you very much for the explanations. The UFS2ea is now running stable
> for a few weeks at my place (migrated with fsck_ffs -p -c ea) as SYSVOL of a
> Samba server, as well as for some filesystems used as large file shares.
> 
> In my records, I noticed another note that I had made more than a year ago.
> That was around the time the Posix ACLs were imported into NetBSD. I'm not
> sure if this is on anyone's radar, or if it's generally considered a
> requirement. I would be interested to know how dump / restore are affected
> by the current changes, or if there are plans to add support for Extended
> Attributes / ACLs to them. Back in FreeBSD 6.0 times there was a patch[1]
> that did exactly that for the FreeBSD variants of dump / restore. Probably
> the source code deviates however far from it.

christos applied the dump changes for extattrs from freebsd to our code last year:

commit 52fea75266aee4480e62dd763d4d3d74b002ea5c
Author: christos <christos%NetBSD.org@localhost>
Date:   Sat Jun 19 13:56:34 2021 +0000

    Add external attribute dumping and restoring support from FreeBSD.
    Does not fully work yet, attributes are being saved and restored correctly,
    but don't appear in the restored files somehow.


there is a bug in that code that effectively prevents restoring NFSv4 ACLs.
I have a fix for this bug that I need to apply to freebsd and then I'll apply it
to our code as well.

-Chuck


> Kind regards and thanks again for all the work with this much appreciated
> feature
> Matthias
> 
> [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=93085


Home | Main Index | Thread Index | Old Index