Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 14:24:52 +0200
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        freebsd-stable@FreeBSD.ORG, r00t_0101@yahoo.com
Subject:   Re: BSD/Linux slices like Solaris' Solstice DiskSuite 
Message-ID:  <E1GatQi-0009gk-Ak@cs1.cs.huji.ac.il>
In-Reply-To: <200610201111.k9KBB90l071861@lurza.secnetix.de> 
References:  <200610201111.k9KBB90l071861@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> Danny Braniss wrote:
>  > Oliver Fromme wrote:
>  > > To change the active slice to, say, the third one, use the
>  > > command "fdisk -a 3 /dev/yourdisk".  That will request for
>  > > confirmation interactively.  To do it non-interactively
>  > > (e.g. in a script), use "echo a 3 | fdisk -f - /dev/...".
>  > 
>  > I use 'bsdlabel -s[1234] /dev/mydisk' all the time when
>  > changing between 'slices'
> 
> Uhm?  What version of FreeBSD are you using?  In RELENG_6
> I only get the usage message when I try -s, and the manpage
> doesn't mention it either.
> 
> Looking at the source, the getopt(3) string indeed contains
> "s:", but the code never checks for it and falls through to
> the default case (which spits out the usage message and
> exits).  Looks like a bug.

sorry!, it was before morning coffee,
	s/bsdlabel/boot0cfg/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1GatQi-0009gk-Ak>