From owner-freebsd-fs@FreeBSD.ORG Sun Mar 6 17:22:10 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD94E106566C for ; Sun, 6 Mar 2011 17:22:10 +0000 (UTC) (envelope-from mlmichael70@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4348FC14 for ; Sun, 6 Mar 2011 17:22:09 +0000 (UTC) Received: by wwb31 with SMTP id 31so4598676wwb.31 for ; Sun, 06 Mar 2011 09:22:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=+HsxlBScW7Yp7J/liZXVTJzTJNrIy+GjT1Pgo2XVTcc=; b=KKE6sWFPm/QtB+cPQYS031Lhw0zXlpFlJiGhspb8F/cM0hjtG8PwXM+Og+2MNXAdKN Xe7kH56DUEl6N1qar4LR0pXEcLeE5KWbCa5giySP8p1dqxE6ED3z6YoKX6Fyq9D21y6Z TRGktxvIa3/frbcgS3A8ztPLOa/zwt/DP5pOI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=t84iYDU9aeR3pJZtVWsGhdvagWaP5SCcrhTtqKsasRqMfqdheQpt6wWNy5+rxQe2rX gpfcqXArYw3ae/Zu7sQj6wY9z+vmOAqQAjDOwI8mYocc0Ak2wshh1AGCXHTm8CuTmPW5 ELMd+u/DwDOfurOl78UDPJekxr2TqiCcakLJs= Received: by 10.227.165.194 with SMTP id j2mr2618825wby.178.1299432128525; Sun, 06 Mar 2011 09:22:08 -0800 (PST) Received: from prime.nonspace ([82.132.211.72]) by mx.google.com with ESMTPS id w25sm1405463wbd.5.2011.03.06.09.22.06 (version=SSLv3 cipher=OTHER); Sun, 06 Mar 2011 09:22:07 -0800 (PST) Message-ID: <4D73C2C4.6010809@gmail.com> Date: Sun, 06 Mar 2011 17:22:12 +0000 From: Michael User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101215 Thunderbird/3.1.7 MIME-Version: 1.0 To: Jeremy Chadwick References: <4D504D96.2040305@gmail.com> <4D510A7F.3070708@my.gd> <20110208101249.GA8057@icarus.home.lan> In-Reply-To: <20110208101249.GA8057@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: chflags (uappnd) on ZFS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 17:22:10 -0000 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@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