Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 1999 12:14:31 +0930
From:      Greg Lehey <grog@lemis.com>
To:        "Francis A. Vidal" <francis@usls.edu>
Cc:        Dave Walton <walton@nordicrecords.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: rearranging files
Message-ID:  <19990901121431.Y13904@freebie.lemis.com>
In-Reply-To: <Pine.LNX.4.10.9909011028280.16539-100000@atlas.usls.edu>; from Francis A. Vidal on Wed, Sep 01, 1999 at 10:30:01AM %2B0800
References:  <19990901112711.W13904@freebie.lemis.com> <Pine.LNX.4.10.9909011028280.16539-100000@atlas.usls.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990901121431.Y13904>