Re: Linux slack space question

2006-12-11 Thread Erik Mouw
On Fri, Dec 08, 2006 at 12:21:04PM -0500, Maria Short wrote: > I have a question regarding how the Linux kernel handles slack space. > I know that the ext3 filesystems typically use 1,2 or 4 KB blocks and > if a file is not an even multiple of the block size then the last > allocated block will not

Re: Linux slack space question

2006-12-08 Thread linux-os \(Dick Johnson\)
On Fri, 8 Dec 2006, Maria Short wrote: > I have a question regarding how the Linux kernel handles slack space. > I know that the ext3 filesystems typically use 1,2 or 4 KB blocks and > if a file is not an even multiple of the block size then the last > allocated block will not be completely fille

Re: Linux slack space question

2006-12-08 Thread Bob Copeland
On 12/8/06, Maria Short <[EMAIL PROTECTED]> wrote: What I need is the code in the kernel that does that. I have been looking at http://lxr.linux.no/source/fs/ext3/inode.c but I could not find the specific code for partially filling the last block and placing an EOF at the end, leaving the rest to

Linux slack space question

2006-12-08 Thread Maria Short
I have a question regarding how the Linux kernel handles slack space. I know that the ext3 filesystems typically use 1,2 or 4 KB blocks and if a file is not an even multiple of the block size then the last allocated block will not be completely filled, the remaining space is wasted as slack space.