dick hoogendijk wrote:
> On Sun, 02 Nov 2008 19:47:52 +0100
> [EMAIL PROTECTED] (Joerg Schilling) wrote:
> 
>> Ian Collins <[EMAIL PROTECTED]> wrote:
>>
>>> dick hoogendijk wrote:
>>>> As I understand ufsrestore is independent of the FS it writes to.
>>>> So, I wonder, is it possible to do a pipe from a UFS to a ZFS
>>>> destination like:
>>>>
>>>> # ufsdump 0f - /dev/rdsk/c0d0s4 | (cd /dest; ufsrestore xf -)
>>>> [ufs-source -> zfs destination]
>>>>
>>>>   
>>> You can, but I don't think ufsdump is ACL aware.
>> ufsdump is ACL aware since 12 years.
>>
>> The problem may be in ufsrestore that IIRC only supports POSIX draft
>> ACLs.
>>
>> If ZFS is able to translate this to NFSv4 ACLs, you may have luck.
> 
> So it might be better to use something like:
> 
> # cd /dir1
> # find . -print -depth | cpio -Ppdm /dir2
> [dir1 on UFS; dir2 on ZFS]
> 

ufsrestore will translate a UFS ACL to a ZFS ACL.  Its all handled in 
the acl_set() interface.

   -Mark

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to