Date: Fri, 15 Mar 2013 00:24:50 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Bruce Evans <brde@optusnet.com.au> Cc: arch@FreeBSD.org, "Kenneth D. Merry" <ken@FreeBSD.org>, fs@FreeBSD.org Subject: Re: patches to add new stat(2) file flags Message-ID: <20130314232449.GC1446@garage.freebsd.pl> In-Reply-To: <20130307214649.X981@besplex.bde.org> References: <20130307000533.GA38950@nargothrond.kdm.org> <20130307214649.X981@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--p2kqVDKq5asng8Dg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 07, 2013 at 10:21:38PM +1100, Bruce Evans wrote: > On Wed, 6 Mar 2013, Kenneth D. Merry wrote: >=20 > > I have attached diffs against head for some additional stat(2) file fla= gs. > > > > The primary purpose of these flags is to improve compatibility with CIF= S, > > both from the client and the server side. > > ... > > UF_IMMUTABLE: Command line name: "uchg", "uimmutable" > > ZFS name: XAT_READONLY, ZFS_READONLY > > Windows: FILE_ATTRIBUTE_READONLY > > > > This flag means that the file may not be modified. > > This is not a new flag, but where applicable it is > > mapped to the Windows readonly bit. ZFS and UFS > > now both support the flag and enforce it. > > > > The behavior of this flag is compatible with MacOS X. >=20 > This is incompatible with mapping the DOS read-only attribute to the > non-writeable file permission in msdosfs. msdosfs does this mainly to > get at least one useful file permission, but the semantics are subtly > different from all of file permissions, UF_IMMUTABLE and SF_IMMUTABLE. > I think it should be a new flag. I agree, especially that I saw some discussion recently on Illumos mailing lists to not enforce this flag in ZFS, which would be confusing to FreeBSD users if we forget to _not_ merge that change. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --p2kqVDKq5asng8Dg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFCXEEACgkQForvXbEpPzSCswCeLMmHONhIZDnAFFCZD+iv2Ghq AygAn0fbIw2k8sJHl5Fv41sUqi4kIjY8 =Tb+w -----END PGP SIGNATURE----- --p2kqVDKq5asng8Dg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130314232449.GC1446>