Subject: Re: CVS commit: src/sbin
To: None <martin@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: source-changes
Date: 03/01/2007 16:23:48
On Mar 1, 2007, at 2:01 PM, Martin Husemann wrote:

>
> 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).

And why is this needed vs. using the kernel support for it?

>
>
> 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.

-- thorpej