From owner-freebsd-current Fri Mar 3 12:27:38 2000 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id CAC2B37B6B4 for ; Fri, 3 Mar 2000 12:27:32 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA42801; Fri, 3 Mar 2000 13:27:28 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA25103; Fri, 3 Mar 2000 13:27:13 -0700 (MST) Message-Id: <200003032027.NAA25103@harmony.village.org> To: Poul-Henning Kamp Subject: Re: fdisk -s, post 4.0 Cc: current@FreeBSD.ORG In-reply-to: Your message of "Fri, 03 Mar 2000 20:16:17 +0100." <4660.952110977@critter.freebsd.dk> References: <4660.952110977@critter.freebsd.dk> Date: Fri, 03 Mar 2000 13:27:13 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <4660.952110977@critter.freebsd.dk> Poul-Henning Kamp writes: : In message <200003031909.MAA24732@harmony.village.org>, Warner Losh writes: : > : >I'd like to add a fdisk -s command after 4.0. What -s would do is : >produce a much boiled down fdisk output, for two consumers. First, : >for people who don't want to wade through a whole screen of stuff, and : >second for scripts. Here's the current output. Lemme know what you : >think. : > : >BTW, I'm also in the middle of writing a prepdisk script that uses : >fdisk and disklabel to properly and easily label a disk for use under : >FreeBSD. : : Please look at the script I wrote for the doc2k device, it is in : src/sys/contrib/dev/fla This is a second generation of that script. It will work for scsi devices, where your script won't. It will also work for removable media not present at /var/run/demsg.boot time. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message