helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
807 stars 58 forks source link

Extended attributes disappear when system is installed to disk #88

Open probonopd opened 3 years ago

probonopd commented 3 years ago

Extended attributes disappear when system is installed to disk.

Compare the output of

% sudo lsextattr user /.url
/.url   url     sha     build

to the output of the same command on an installed system.

probonopd commented 3 years ago

is this at fault?

https://github.com/helloSystem/ISO/blob/eaf018ce49ff7ccd897d2e5c9859407380918404/overlays/uzip/furybsd-live-settings/files/usr/local/bin/furybsd-install#L75

Why are we not using zfs send (like the initd does)?

probonopd commented 3 years ago

According to https://forums.freebsd.org/threads/copying-freebsd-to-a-different-disk.55606/#post-315897,

cpdup does not take care of Extended Attributes and ACLs

...which is bad. We should replace it.

probonopd commented 3 years ago

Maybe use tar --xattrs | untar as an alternative?

Or rsync, although it might(?) be slower.