From owner-freebsd-current Thu Feb 28 23:32:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from web14105.mail.yahoo.com (web14105.mail.yahoo.com [216.136.172.135]) by hub.freebsd.org (Postfix) with SMTP id 9DC9237B405 for ; Thu, 28 Feb 2002 23:32:28 -0800 (PST) Message-ID: <20020301073228.8391.qmail@web14105.mail.yahoo.com> Received: from [68.6.92.237] by web14105.mail.yahoo.com via HTTP; Thu, 28 Feb 2002 23:32:28 PST Date: Thu, 28 Feb 2002 23:32:28 -0800 (PST) From: Galen Sampson Subject: extended attribute files sizes To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello all, I am curious about the file sizes of the backing files for extend attributes. I have compiled a custom kernel that has both extended attribute support and acl support. I can sucessfully add and remove acls for files. I am quite impressed. I used a sparse backing file (i.e. no -p option when creating the backing file) to see if acl's would work. I am aware of the security implications of this, but my only goal was to test them out. The size of the backing file when used with -p and 388 bytes is too large of an overhead for me to live with anyhow. I am curious about the file sizes displayed in 'ls -l' for these sparse backing files. The sparse files are indeed small. Unfortunately I see strange results with 'ls -l'. An example... /usr/home/.attribute/system> ls -l total 49 -rw------- 1 root wheel 544094812 Feb 28 23:13 posix1e.acl_access -rw------- 1 root wheel 12 Feb 28 23:05 posix1e.acl_default /usr/home/.attribute/system> du -h 50K . /usr/home/.attribute/system> Is there any reason the file is shown as being 544,094,812 bytes? I'm sure it is actually only 50K. Just curious if this is something a developer should look at before the release (this is obviously quite minor compared to other things). Galen Sampson __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message