Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Note the fact that buffer cache takes block n...
details: https://anonhg.NetBSD.org/src/rev/ceeb24e091fa
branches: trunk
changeset: 584104:ceeb24e091fa
user: wrstuden <wrstuden%NetBSD.org@localhost>
date: Thu Sep 08 22:51:36 2005 +0000
description:
Note the fact that buffer cache takes block numbers in
units of DEV_BSIZE, even if the device's device size is
larger. Update date.
Reviewed by wiz. :-)
diffstat:
share/man/man9/buffercache.9 | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 3e45290c839c -r ceeb24e091fa share/man/man9/buffercache.9
--- a/share/man/man9/buffercache.9 Thu Sep 08 18:41:50 2005 +0000
+++ b/share/man/man9/buffercache.9 Thu Sep 08 22:51:36 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: buffercache.9,v 1.13 2004/06/25 15:31:37 wiz Exp $
+.\" $NetBSD: buffercache.9,v 1.14 2005/09/08 22:51:36 wrstuden Exp $
.\"
.\" Copyright (c)2003 YAMAMOTO Takashi,
.\" All rights reserved.
@@ -101,7 +101,7 @@
.\"
.\"
.\" ------------------------------------------------------------
-.Dd June 17, 2004
+.Dd September 8, 2005
.Dt BUFFERCACHE 9
.Os
.Sh NAME
@@ -181,6 +181,14 @@
.Fa blkno .
The buffer is returned via
.Fa bpp .
+.Fa blkno
+is in units of
+.Dv DEV_BSIZE .
+Both
+.Fa blkno
+and
+.Fa size
+must be multiples of the underlying device's block size.
.Pp
If the buffer is not found (i.e. the block is not cached in memory),
.Fn bread
Home |
Main Index |
Thread Index |
Old Index