From owner-freebsd-questions Tue Aug 31 19:47:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 9C48514D43 for ; Tue, 31 Aug 1999 19:47:33 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA07192; Wed, 1 Sep 1999 12:14:32 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA86889; Wed, 1 Sep 1999 12:14:32 +0930 (CST) Date: Wed, 1 Sep 1999 12:14:31 +0930 From: Greg Lehey To: "Francis A. Vidal" Cc: Dave Walton , freebsd-questions@FreeBSD.ORG Subject: Re: rearranging files Message-ID: <19990901121431.Y13904@freebie.lemis.com> References: <19990901112711.W13904@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Francis A. Vidal on Wed, Sep 01, 1999 at 10:30:01AM +0800 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 1 September 1999 at 10:30:01 +0800, Francis A. Vidal wrote: > On Wed, 1 Sep 1999, Greg Lehey wrote: > >> On Tuesday, 31 August 1999 at 18:49:13 -0700, Dave Walton wrote: >>> What is the best way to move everything from one partition (not >>> slice) to another, larger partition? I was looking at 'cp -pR', but that >>> doesn't quite do it right - hard-linked files become multiple copies. >> >> tar will do this correctly. But the version in -STABLE and -RELEASE >> can't handle devices with large minor numbers. > > there's an example in the manpage of tar. > > tar cf - . | (cd /some/where; tar xf -) > >> No, that's the way they're allocated. But I have great doubts that >> you need even as many partitions as you have. > > is there a limit to the maximum partition? Yes, 8, one of which (the c partition) must represent the entire disk. > if there is, how do you increase the limit? You hack the kernel sources, in the process creating disks that no normal FreeBSD system will recognize correctly. But, as I said, I have great doubts that you need even as many partitions as you have. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message