Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Oct 2000 21:42:57 -0400
From:      media@ct1.nai.net
To:        Salvo Bartolotta <bartequi@inwind.it>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Switching one's sources between branches and/or dates & bad-tempered (was Re: obtaining partition information??)
Message-ID:  <v03130300b607e57242b7@[209.150.38.237]>
In-Reply-To: <20001008.22582100@bartequi.ottodomain.org>
References:  <78803519@toto.iv> <v03130302b6061e99ae94@[209.150.34.212]>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanx :)  That's a bit too much information to digest right now, but I do
appreciate it.  I think I'll get up to speed with working with the file
system before I try using cvsup, so I'll be better prepared in case
something goes wrong.

At 10:58 PM +0000 10/08/00, Salvo Bartolotta wrote:
>>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
>
>On 10/8/00, 6:01:26 PM, media@ct1.nai.net wrote regarding Re:
>obtaining partition information??:
>
>
>> Hmmm . . I think I need to find out exactly when bad144 was removed,
>> and not upgrade past that point.  Unfortunately, my hard drive has bad
>> blocks according to FreeBSD (they were undetectable using DOS), so
>> until I buy a new hard drive, I think I need to keep bad144.
>
>
>
>>From /usr/src/UPDATING:
>
><blockquote>
>
>19991203:
>        BAD144 support has been removed.  Cope or replace the
>        hardware.
>
></blockquote>
>
>
>You may wish to take a look at cvsup(1), notably at the "date" item;
>which will allow you to update your system exactly to the desired
>date. Please have a look at the cvsup FAQ at http://www.polstra.com.
>
>More generally, the following "theoretical" considerations may be of
>interest:
>
>
><CONSIDERATION I>
>
><REMARK>
>If one specifies tag=A in a supfile, cvsup will generate a checkouts
>file called "checkouts.cvs:A": e.g. if tag=RELENG_4, a checkouts
>file called checkouts.cvs:RELENG_4 is generated.
></REMARK>
>
>When tracking FreeBSD src-all, if one wishes to switch from tag=A to
>tag=B (A<B or A>B does not make any difference), and if one's
>checkouts file is, say, checkouts.cvs:A, the following steps need
>to be performed:
>
>1) mv checkouts.cvs:A checkouts.cvs:B
>  /* This will provide the subsequent step with the appropriate
>     checkouts file */
>
>2) write a supfile whose collection line reads:
>   src-all tag=B
>
>3) cvsup sources (ie src-all) using the supfile as per 2).
>
>Cvsup will look for a checkouts.cvs:B -- in that the target is B;
>thus, cvsup will make use of the information contained therein in
>order to correctly manage the sources. The benefits:
>
>a) the sources are dealt with correctly (no stale files, no disk space
>wasted);
>b) less load is placed on the server in that cvsup will operate in the
>most efficient way.
>
>Example I
>A=RELENG_4, B=.
>
>The period in "B=." means CURRENT.
>This is a rather typical update, from 4-STABLE to -CURRENT.
>
>Example II
>A=. B=RELENG_4.
>
>This is the reverse operation, from -CURRENT to 4-STABLE.
>
>
></CONSIDERATION I>
>
>
><CONSIDERATION II>
>
>If one wishes to switch from "tag=A" to "tag=A" as of a different GMT
>date (say, "date=D"), one will perform the following actions:
>
>1) write a supfile whose collection line reads:
>   src-all tag=A date=D
>
>2) cvsup using the supfile as per 1)
>
>The fact that the date is < or > the date of the last update with tag=A
>is immaterial.
>
>For example, in order to specify the date "August 27, 2000, 10:00:00
>GMT" one will write the line:
>
>src-all tag=RELENG_4 date=2000.08.27.10.00.00
>
>
>N.B. The format of the date is rigid. One has to specify all the
>components of a date: century (19 for the 19th or 20 for the 20th),
>year, month, day, hour, minutes, seconds -- as shown in the above
>example. For more information, please see cvsup(1).
>
>
><REMARK>
>Whether or not a date is specified, the checkouts file will be called
>checkouts.cvs:A (eg checkouts.cvs:RELENG_4). As a result, no
>particular action is needed in order to revert to the previous state:
>one has to modify the date in the supfile, and csvup again.
></REMARK>
>
></CONSIDERATION II>
>
>
>
>Best regards,
>Salvo





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?v03130300b607e57242b7>