Subject: CVS commit: src/sys/miscfs/specfs
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 10/15/2003 08:41:26
Module Name: src
Committed By: dsl
Date: Wed Oct 15 08:41:26 UTC 2003
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
Log Message:
Set vnode size of character disk devices to that of the partition when they
are opened (was always done for block devices).
This means that fstat will report the partition size and hence newfs
needn't grovel into the disklabel to find the filesystem size.
To generate a diff of this commit:
cvs rdiff -r1.69 -r1.70 src/sys/miscfs/specfs/spec_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.