On Wed, 28 Mar 2007 20:11:50 +0200, Frank Batschulat (Home)
<[EMAIL PROTECTED]> wrote:
Richard L. Hamilton wrote:
and does it vary by filesystem type? I know I ought to know the
answer, but it's been a long time since I thought about it, and
I must not be looking at the right man pages. And also, if it varies,
how does one tell? For a pipe, there's fpathconf() with _PC_PIPE_BUF,
but how about for a regular file?
that would be a single full disk sector-sized (512 byte) write which
is also sector-aligned. partial sector writes would not be allowed
as that would include a read-modify-write cycle or may involved
multiple disk sectors which defeats the atomicity.
in addition this intentionally and blissfully
ignores any potential existing/enabled write cache in either the disk,
the controller and/or the array/nvram.
/usr/include/sys:param.h:#define DEV_BSIZE 512
---
frankB
for the interested readers, this topic also has been discussed
on the ZFS interest alias:
http://www.opensolaris.org/jive/thread.jspa?threadID=27171
---
frankB
_______________________________________________
ufs-discuss mailing list
[email protected]