Subject: CVS commit: src/sbin
To: None <source-changes@NetBSD.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 03/01/2007 22:01:30
Module Name:	src
Committed By:	martin
Date:		Thu Mar  1 22:01:30 UTC 2007

Modified Files:
	src/sbin: Makefile
Added Files:
	src/sbin/dkscan_bsdlabel: Makefile dkscan_bsdlabel.8 dkscan_bsdlabel.c
	    dkscan_util.c dkscan_util.h

Log Message:
Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).


To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 src/sbin/Makefile
cvs rdiff -r0 -r1.1 src/sbin/dkscan_bsdlabel/Makefile \
    src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.8 \
    src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.c \
    src/sbin/dkscan_bsdlabel/dkscan_util.c \
    src/sbin/dkscan_bsdlabel/dkscan_util.h

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