chflags (uappnd) on ZFS
Michael
mlmichael70 at gmail.com
Sun Mar 6 17:22:10 UTC 2011
On 08/02/2011 10:12, Jeremy Chadwick wrote:
> On Tue, Feb 08, 2011 at 10:18:55AM +0100, Damien Fleuriot wrote:
>> Getting the very same error on 8.2-RC3 amd64
>>
>> FreeBSD mybsd 8.2-RC3 FreeBSD 8.2-RC3 #1: Thu Feb 3 11:03:48 CET 2011
>> root at mybsd:/usr/obj/usr/src/sys/DAM amd64
>>
>> mybsd# zpool get version data
>> NAME PROPERTY VALUE SOURCE
>> data version 15 default
>>
>> mybsd# zfs get version
>> NAME PROPERTY VALUE SOURCE
>> data version 4
>>
>>
>> On 2/7/11 8:52 PM, Michael wrote:
>>> Hello,
>>>
>>> Is uappnd flag supported on ZFS? I'm using 8.1-R and when I try to:
>>> chflags uappnd file.txt
>>> then I get:
>>> chflags: file.txt: Operation not supported
>
> It looks like the implemented/translated chflags(2) bits are:
>
> SF_IMMUTABLE ("chflags schg")<--> ZFS_IMMUTABLE
> SF_APPEND ("chflags sappnd")<--> ZFS_APPENDONLY
> SF_NOUNLINK ("chflags sunlnk")<--> ZFS_NOUNLINK
> UF_NODUMP ("chflags nodump")<--> ZFS_NODUMP
>
Any idea what is the reason for that? I mean is it temporal situation
(not implemented yet) or are they for some reason dropped/deprecated?
Are the UFlags coming for ZFS or not really?
Michael
More information about the freebsd-fs
mailing list