lkml.org 
[lkml]   [2003]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject.truncate function in filesystems
All,

I'm rather at a loss to understand what .truncate is supposed to do when
it _extends_ a file (2.5.68+ kernel). Looking through the examples in
the tree, I don't see where they deal with that case. Could someone
give me a clue as to how .truncate is supposed to...tell the kernel what
blocks it is to use when it goes to read from the extended portion of
the file?

So far, I have googled, grep'ed, looked at lwn.net, started in on
linux.bkbits.net, emailed linux-fsdevel and kernel-newbies... and I'm
still not getting anywhere. Even a basic explanation of how filesystems
deal/interact with buffer heads and inodes would probably help at this
point.

Any clues or pointers or _anything_ would be very much appreciated. :/

Eli
--------------------. "If it ain't broke now,
Eli Carter \ it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.030 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site