Subject: CVS commit: src/sys/arch/sgimips/sgimips
To: None <>
From: Izumi Tsutsui <>
List: source-changes
Date: 10/04/2005 14:47:50
Module Name:	src
Committed By:	tsutsui
Date:		Tue Oct  4 14:47:50 UTC 2005

Modified Files:
	src/sys/arch/sgimips/sgimips: disksubr.c

Log Message:
On converting sgimips disklabel into BSD disklabel, don't take
dp_secbytes in the SGI volume header because the ARCS firmware ignores it.
Instead, leave the hardware default value set by each driver and
adjust offset values in the SGI volhdr according to the real sector size.

Fixes "resource shortage" messages on mounting a bootable CD-ROM image
which has the SGI volhdr. See posts on port-sgimips for details:

To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/arch/sgimips/sgimips/disksubr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.