Date: Thu, 20 Apr 2000 11:31:01 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/extattrctl extattrctl.c Message-ID: <200004201831.LAA50623@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004201831.LAA50623>
