Date: Wed, 1 Nov 2000 09:53:12 -0800 (PST) From: Matt Dillon <dillon@earth.backplane.com> To: Warner Losh <imp@village.org> Cc: Randell Jesup <rjesup@wgate.com>, obrien@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: Like to commit my diskprep Message-ID: <200011011753.eA1HrCV29435@earth.backplane.com> References: <ybuy9z3iom7.fsf@jesup.eng.tvol.net.jesup.eng.tvol.net> <20001031132945.B28476@dragon.nuxi.com> <200010311747.KAA80353@harmony.village.org> <200011010341.eA13fCV42009@billy-club.village.org> <200011011735.KAA54300@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
:: :: IMHO disklabel should have always been able to do that anyways. :: Fix disklabel. If you still need a better UI/skin/X interface on top of :: disklabel, fine, but fix disklabel (and fdisk, newfs, etc) first. : :How should I fix disklabel? There's currently no syntax for the :concept of a "hog" partition in this disklabel, or any other one that :I've seen (except for Solbourne's interactive one, but it didn't have :a non-interactive way to do that). This functionality would arguably :be a big wart on disklabel, but then again disklabel isn't going to :win any beauty contests anytime soon. OpenBSD does have a disklabel :-E which is akin to the Solboune interactive disk label program. : :Warner I don't see there being an issue here. We have fdisk, which creates a hog slice just fine. And we have disklabel, which applies a FreeBSD label to a disk or a slice (with my patch) just fine. Two programs, two functions. I suppose if we wanted to give disklabel an option to create a hog partition, it could simply exec 'fdisk -BI' and then auto-label the resulting slice. There is no particular need to put a create-hog-parttion function directly into disklabel. Disklabel currently only messes around with the DOS partition if you tell it to create a dangerously dedicated disklabel. The only real problem here is that the user doesn't necessarily realize he just did that because the command line looks roughly the same as the command line for creating a label in a bootable slice. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011011753.eA1HrCV29435>