Re: [gentoo-user] Filetimestamp needed by emerge ?

2006-04-21 Thread Neil Bothwick
On Fri, 21 Apr 2006 05:35:51 +0200 (CEST), Meino Christian Cramer wrote:

  I want to cp -a /usr/portage to another partition to make room on /
 
  When I will do this, all files of the portage directory will get
  a new and nearly identical timestamp.

No they won't. -a includes -p, which preserves timestamps. If you are
really concerned about an identical copy, use rsync.


-- 
Neil Bothwick

If at first you don't succeed, redefine success.


signature.asc
Description: PGP signature


Re: [gentoo-user] Filetimestamp needed by emerge ?

2006-04-21 Thread Hemmann, Volker Armin
On Friday 21 April 2006 05:35, Meino Christian Cramer wrote:
 Hi,

  I want to cp -a /usr/portage to another partition to make room on /

  When I will do this, all files of the portage directory will get
  a new and nearly identical timestamp.

  Will this hurt the packaging/compiling or anything related to
  administer gentoo-thingy ?

no it wont.

I cp -a'ed my whole system on a new harddisk yesterday and everything still 
works like it should.

You have to use -a, not -r, but you will be save.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Filetimestamp needed by emerge ?

2006-04-21 Thread John Jolet



On 4/20/06 11:41 PM, Martins Steinbergs [EMAIL PROTECTED] wrote:

 On Friday 21 April 2006 06:35, Meino Christian Cramer wrote:
 Hi,
 
  I want to cp -a /usr/portage to another partition to make room on /
 
  When I will do this, all files of the portage directory will get
  a new and nearly identical timestamp.
 
  Will this hurt the packaging/compiling or anything related to
  administer gentoo-thingy ?
 
  Thank you very much in advance for any helpful reply ! :)
 
  Keep hacking!
  mcc
Rsync -a is a better tool for that, as it will preserve
timestamps/permissions, etc.
 
 I have experience only with distfiles on vfat partition. generally it can be
 that way but without lockfile and cvs and svn. and probably resume on
 unfinished downloads corrupts files but I'm not sure about it.
 To avoid very complex setup i steal space from vfat in favor of ext3 to put
 distfiles on.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Filetimestamp needed by emerge ?

2006-04-21 Thread Ryan Tandy

Meino Christian Cramer wrote:

Hi,

 I want to cp -a /usr/portage to another partition to make room on /

 When I will do this, all files of the portage directory will get
 a new and nearly identical timestamp.

 Will this hurt the packaging/compiling or anything related to
 administer gentoo-thingy ?

 Thank you very much in advance for any helpful reply ! :)

 Keep hacking!
 mcc
  
Won't cause any problems, since as mentioned by other posters, -a 
implies -p.  Even if it didn't, you wouldn't have problems because your 
sync timestamp is contained in /usr/portage/timestamp.chk.  As long as 
the *contents* of this file are not modified, your syncs will be fine.  
Other portage stuff does not use timestamps as far as I know (of files 
in /usr/portage anyway).

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Filetimestamp needed by emerge ?

2006-04-20 Thread Meino Christian Cramer
Hi,

 I want to cp -a /usr/portage to another partition to make room on /

 When I will do this, all files of the portage directory will get
 a new and nearly identical timestamp.

 Will this hurt the packaging/compiling or anything related to
 administer gentoo-thingy ?

 Thank you very much in advance for any helpful reply ! :)

 Keep hacking!
 mcc
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Filetimestamp needed by emerge ?

2006-04-20 Thread Martins Steinbergs
On Friday 21 April 2006 06:35, Meino Christian Cramer wrote:
 Hi,

  I want to cp -a /usr/portage to another partition to make room on /

  When I will do this, all files of the portage directory will get
  a new and nearly identical timestamp.

  Will this hurt the packaging/compiling or anything related to
  administer gentoo-thingy ?

  Thank you very much in advance for any helpful reply ! :)

  Keep hacking!
  mcc

I have experience only with distfiles on vfat partition. generally it can be 
that way but without lockfile and cvs and svn. and probably resume on 
unfinished downloads corrupts files but I'm not sure about it.
To avoid very complex setup i steal space from vfat in favor of ext3 to put 
distfiles on.

-- 
Linux 2.6.15-ck7 AMD Athlon(tm) 64 Processor 3200+
 07:28:29 up  5:04,  5 users,  load average: 1.25, 1.13, 1.10
-- 
gentoo-user@gentoo.org mailing list