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


_______________________________________________
ufs-discuss mailing list
[email protected]

Reply via email to