NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/41652: newfs ignores block and frag sizes in disklabel
>Number: 41652
>Category: bin
>Synopsis: newfs neither respects nor updates the block and frag sizes in
>disklabel
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 30 21:40:00 +0000 2009
>Originator: Christoph Badura
>Release: NetBSD 5.0_STABLE iso-image from 20090625 autobuild
>Organization:
bozotic netbsd software testing labs
>Environment:
System: NetBSD 5.x
Architecture: i386
Machine: i386
>Description:
newfs(8) specifies that the defaults are taken from the disklabel.
I have chosen 8K/1k block/frag sizes in the disklabel for partitions.
newfs ignores this for filesystems >1G and uses 16k/2k block/frag sizes.
newfs also fails to update the block/frag sizes in the kernel as the man
page specifes.
>How-To-Repeat:
Create a 4.2BSD partition in the diskabel that is larger than 1GB.
Set the block and frag sizes in the label to some value.
Run newfs on the partition and observe its output.
Use disklabel(8) to print the disklabel and observer that the partition
information hasn't been updated.
Additionaly, there is a garbled sentence at the end of the last paragraph
in the NOTES section of the newfs(8) man-page.
>Fix:
unknown.
>Unformatted:
NetBSD 5.99.14 iso-image from 20090627 autobuild
Home |
Main Index |
Thread Index |
Old Index