Skip site navigation (1)Skip section navigation (2)
Date:      23 Nov 2005 13:52:47 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Michael Collette <Michael.Collette@TestEquity.com>
Cc:        FreeBSD Lists <freebsd-questions@freebsd.org>
Subject:   Re: Automating Drive Formatting
Message-ID:  <44wtiz42o0.fsf@be-well.ilk.org>
In-Reply-To: <4384AF06.4090809@TestEquity.com>
References:  <4384AF06.4090809@TestEquity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Collette <Michael.Collette@TestEquity.com> writes:

> I'm looking for some way to script together an automatic formatting of a hard
> drive.  Having a fair amount of difficulty locating some good information on
> doing this.
> 
> For example, let's say there's an unknown IDE drive that's at least 40G in
> size.  On that drive I want to create 1 partition with 3 labels.  2 of the
> labels get 10G, and the 3rd gets whatever is left.
> 
> My reason for doing this is that we've set up a couple of servers that are
> running diskless, but are bogging down a bit with getting everything via NFS.
> I'm trying to get a diskless box note the installed drive, check to see if
> it's in the format I expect, and if not perform the bsdlabel, newfs, and all
> that.
> 
> I know the basic info is somewhere accessible, or sysinstall wouldn't have
> this stuff available.  Just need a shove in the right direction please.

There are a *lot* of ways to roll-your-own, 
but have you tried "man sysinstall"?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44wtiz42o0.fsf>