From owner-freebsd-hackers Thu Aug 21 13:12:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA16986 for hackers-outgoing; Thu, 21 Aug 1997 13:12:18 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id NAA16977 for ; Thu, 21 Aug 1997 13:12:12 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA24892; Thu, 21 Aug 1997 13:03:49 -0700 From: Terry Lambert Message-Id: <199708212003.NAA24892@phaeton.artisoft.com> Subject: Re: ? "sysinstall" errors labeling a new disk To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Thu, 21 Aug 1997 13:03:49 -0700 (MST) Cc: rhh@ct.picker.com, hackers@FreeBSD.ORG In-Reply-To: <24565.872185569@time.cdrom.com> from "Jordan K. Hubbard" at Aug 21, 97 10:46:09 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Ultimately, someone just needs to hack on the disklabel and fdisk > programs (and even if it involves a total rewrite of those tools) so > that they're more "drivable" from scripts - Terry has an entire > interaction model for tools to do this which I'm sure he'd be happy to > share with anyone thinking of doing that work. :-) Yes: 1) Command line, for incorporation in scripts 2) Command parser, for interactive use 3) Pipeline parser, for driving by GUI/TUI I'll be happy to talk to anyone interested in it... > Even if one doesn't go for a full-blown Terry model, it'd still be > possible to hack fdisk and disklabel significantly in ways which would > make them much friendlier to "front-ending", perhaps enough so that > some other perl hacker can come along and provide you a CGI script > which enables one to partition and label a disk from one's HTML > browser! :-) I still think that it is a bad idea, seperating the fdisk and disklabel function; they are both subclasses of a mor general device management problem, and should be solvable in a single program. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.