Subject: Re: sgivol as host tool?
To: Christopher SEKIYA <wileyc@rezrov.net>
From: Matt Thomas <matt@3am-software.com>
List: port-sgimips
Date: 12/09/2003 18:16:47
At 06:19 PM 12/9/2003, Christopher SEKIYA wrote:
>On Wed, Dec 10, 2003 at 02:13:46AM +0200, Ilpo Ruotsalainen wrote:
>
> > Linux doesn't have sys/disklabel.h nor the ioctl() used.
>
>Upon reflection, I'm not convinced that sgivol needs to muck with the 
>disklabel
>at all.
>
>If it's being used as a host tool, it won't be creating/accessing the
>filesystem as seen from the BSD side of things,
>
>If it's being used natively (i.e., during an install), it is used to make 
>things
>look correct from the ARCS point of view -- volume header and checksum.  It
>won't be used to set up the actual filesystems -- they'll be created via
>disklabel(8), and disklabel(5) handles the SGI<->BSD conversion.
>
>To that end, I'm thinking that we should nuke the disklabel references
>in sgivol.  That will result in rather portable code :)

Merge sgivol into installboot(). :)


-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.