From owner-freebsd-ports@FreeBSD.ORG Wed Mar 16 19:00:27 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C09D2106568F for ; Wed, 16 Mar 2011 19:00:27 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 66F318FC17 for ; Wed, 16 Mar 2011 19:00:26 +0000 (UTC) Received: from p579187be.dip.t-dialin.net ([87.145.135.190] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1PzvxF-0004Da-96; Wed, 16 Mar 2011 20:00:21 +0100 Message-ID: <4D8108C1.5070006@gwdg.de> Date: Wed, 16 Mar 2011 20:00:17 +0100 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; de-DE; rv:1.9.2.15) Gecko/20110305 Thunderbird/3.1.9 MIME-Version: 1.0 To: Michal Varga References: <20110316172011.GL51701@eggman.experts-exchange.com> <20110316173613.GO51701@eggman.experts-exchange.com> <1300298080.1474.22.camel@xenon> In-Reply-To: <1300298080.1474.22.camel@xenon> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: Jason Helfman , freebsd-ports@freebsd.org Subject: Re: sysutils/gpart: deprecated port, anyone interested? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2011 19:00:27 -0000 On 16.03.2011 18:54 (UTC+1), Michal Varga wrote: > On Wed, 2011-03-16 at 10:36 -0700, Jason Helfman wrote: > >> Whoops :) >> >> I ran the base gpart, so not sure if it works, but I suppose it could, just >> not on my system. >> >> [jhelfman@eggman ~/ports/sysutils/gpart]$ sudo /usr/local/sbin/gpart show >> >> *** Fatal error: open(show): No such file or directory. >> >> -jgh >> > > gpart (the port, not the base geom tool) doesn't work that way, you're > still confusing the two. sysutils/gpart is a tool for rebuilding broken > partitions, so the parameter you're looking for is a device name, not > "show" (what the error message basically told you). gpart in sysutils/gpart stands for 'guess partitions'. Its an old, but very useful tool for repairing partitions. Unfortunately it does not work on amd64. If someone is willing to update the port: I have an original tarball 'gpart-0.1h.tar.gz'. It would need a new home ;-) #cat pkg-descr A port of a tool which tries to guess the primary partition table of a PC-type hard disk in case the primary partition table in sector 0 is damaged, incorrect or deleted. The guessed table can be written to a file or device. Supported (guessable) filesystem or partition types: DOS/Windows FAT, Linux ext2 and swap, OS/2 HPFS, Windows NTFS, FreeBSD and Solaris/x86 disklabels, Minix FS, Reiser FS WWW: http://www.stud.uni-hannover.de/user/76201/gpart/ Rainer Hurling > m. > >