From owner-cvs-all Thu Apr 20 11:31: 7 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8EAF537B660; Thu, 20 Apr 2000 11:31:01 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA50623; Thu, 20 Apr 2000 11:31:01 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Message-Id: <200004201831.LAA50623@freefall.freebsd.org> From: Robert Watson Date: Thu, 20 Apr 2000 11:31:01 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/extattrctl extattrctl.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG rwatson 2000/04/20 11:31:01 PDT Modified files: usr.sbin/extattrctl extattrctl.c Log: o Allow the ``-p'' argument to be specified to initattr, which indicates that space for extended attributes should be preallocated, instead of using a sparse attribute file. NOTE: This can result in a really large file full of zeros. However, it can prevent a low disk condition from causing an attribute write to fail, which is good for security and consistency attributes. o Unlink the attribute file during initattr if an error occurs -- this is alright, as we specify O_CREAT when opening the file. Revision Changes Path 1.3 +47 -9 src/usr.sbin/extattrctl/extattrctl.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message