public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: B19.1: tar -u option under NT 4.0 SP3 does not update properly
@ 1998-07-13  1:02 Andrew Dalgleish
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Dalgleish @ 1998-07-13  1:02 UTC (permalink / raw)
  To: gnu-win32

> -----Original Message-----
> From:	Lavictoire, Jacques [SMTP:Jacques.Lavictoire@geocan.nrcan.gc.ca]
> Sent:	1998 July 10, Friday 23:24
> To:	gnu-win32@cygnus.com; Jacques Lavictoire;
> 'earnie_boyd@yahoo.com'
> Subject:	RE: B19.1: tar -u option under NT 4.0 SP3 does not
> update properly
> 
> Thanks for the information on the FAT problem  but these files are on
> an
> NTFS filesystem.
> 
> Thanks
> 
> Jack
> 
> 
> 
> > ----------
> > From: 	Earnie Boyd[SMTP:earnie_boyd@yahoo.com]
> > Reply To: 	earnie_boyd@yahoo.com
> > Sent: 	Friday, July 10, 1998 9:15 AM
> > To: 	gnu-win32@cygnus.com; Jacques Lavictoire
> > Subject: 	Re: B19.1: tar -u option under NT 4.0 SP3 does not
> > update properly
> > 
> > 
> > On a FAT filesystem there is only one timestamp and that is the date
> > of last access.  Therefore, when tar accesses the file it updates
> the
> > timestamp to the file and then will think that it has been modified.
[Andrew Dalgleish]  
FAT16 holds the last modification time, not the last access.
A file system which only tracked the last access would break MAKE in a
big way. :-)


> > 
> > 
> > 
> > ---Jacques Lavictoire <lavictoi@CCRS.NRCan.gc.ca> wrote:
> > >
> > > Hi,
> > > 
> > >     I'm new to gnu-win32 so it might just be me but repeating a
> tar
> > job
> > > with -u should update only if the files are newer then the
> previous
> > > tarred files correct . But it keeps adding the files but they are
> > all
> > > the same set of files exactly. An example is as follows
> > > 
> > > bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> > > tar: Removing leading `/' from absolute path names in the archive
> > > temp/ati/DE5110C1.EXE
> > > temp/ati/MAKEDISK.BAT
> > > temp/ati/MAKEDISK.PIF
> > > bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> > > tar: Removing leading `/' from absolute path names in the archive
> > > temp/ati/DE5110C1.EXE
> > > temp/ati/MAKEDISK.BAT
> > > temp/ati/MAKEDISK.PIF
> > > bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> > > tar: Removing leading `/' from absolute path names in the archive
> > > temp/ati/DE5110C1.EXE
> > > temp/ati/MAKEDISK.BAT
> > > temp/ati/MAKEDISK.PIF
> > > 
> > > After this you would expect, if I'm reading the help on tar
> > properly,
> > > that I should only have one copy of the files since they haven't
> > changed
> > > at all. Is this a problem ?
[Andrew Dalgleish]  
tar should only output the names of the files it actually updates, so
something is wrong.
There will be only one copy of each file in the .tar though...

I haven't been able to reproduce your problem, but here's a few
suggestions:

Do you have the environment variable "TZ" set to include a daylight
savings flag (ie "PST8PDT" instead of "PST8")?
This may conflict with the Win95/WinNT daylight savings flag.
You will need this set if you run anything compiled with early versions
of Microsoft's C/C++ compiler (I think it's 6 or earlier).
You will want this cleared if you run anything compiled with later
versions.
E.g. the clock in the status bar in DevStudio 97 displays an hour out,
and NMAKE keeps rebuilding everything.


Is the "/temp" directory mounted from another PC?

If so,
Do both PC's have the same timezone?

Do both PC's have the same daylight-saving flag?

Are the starting/ending dates for daylight savings in the Win95/WInNT
time zone correct for your location?
For example, I'm in Melbourne, Vic., Australia.
NT 4 has the "Brisbane Melbourne Sydney" zone has the ending date
incorrect.
Win95B's "Canberra, Melbourne, Sydney" has the dates correct (for VIC
anyway).
Win95's "Canberra, Melbourne, Sydney" has both dates incorrect.
If you need to edit them, TZEDIT for WinNT is in the resource kit and
TZEDIT for Win95 is in the "KernelToys".


Regards,
Andrew Dalgleish

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: B19.1: tar -u option under NT 4.0 SP3 does not update properly
@ 1998-07-14  1:08 Graham Murray
  0 siblings, 0 replies; 6+ messages in thread
From: Graham Murray @ 1998-07-14  1:08 UTC (permalink / raw)
  To: gnu-win32

	>On a FAT filesystem there is only one timestamp and that is the
date
	>of last access.  Therefore, when tar accesses the file it
updates the
	>timestamp to the file and then will think that it has been
modified.

Are you sure that it is the "last accessed" time which is recorded? In
DOS it was always the "last modified" time that was stored. So has NT
changed this on FAT filesystems?
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: B19.1: tar -u option under NT 4.0 SP3 does not update properly
@ 1998-07-11 13:47 Sergey Okhapkin
  0 siblings, 0 replies; 6+ messages in thread
From: Sergey Okhapkin @ 1998-07-11 13:47 UTC (permalink / raw)
  To: gnu-win32, Jacques Lavictoire, 'earnie_boyd@yahoo.com'

Earnie Boyd wrote:
> 
> On a FAT filesystem there is only one timestamp and that is the date
> of last access.  Therefore, when tar accesses the file it updates the
> timestamp to the file and then will think that it has been modified.
> 

Vfat on 95 and NT holds all three timestamps.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: B19.1: tar -u option under NT 4.0 SP3 does not update properly
@ 1998-07-11  4:23 Earnie Boyd
  0 siblings, 0 replies; 6+ messages in thread
From: Earnie Boyd @ 1998-07-11  4:23 UTC (permalink / raw)
  To: gnu-win32, Jacques Lavictoire

On a FAT filesystem there is only one timestamp and that is the date
of last access.  Therefore, when tar accesses the file it updates the
timestamp to the file and then will think that it has been modified.



---Jacques Lavictoire <lavictoi@CCRS.NRCan.gc.ca> wrote:
>
> Hi,
> 
>     I'm new to gnu-win32 so it might just be me but repeating a tar
job
> with -u should update only if the files are newer then the previous
> tarred files correct . But it keeps adding the files but they are all
> the same set of files exactly. An example is as follows
> 
> bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> tar: Removing leading `/' from absolute path names in the archive
> temp/ati/DE5110C1.EXE
> temp/ati/MAKEDISK.BAT
> temp/ati/MAKEDISK.PIF
> bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> tar: Removing leading `/' from absolute path names in the archive
> temp/ati/DE5110C1.EXE
> temp/ati/MAKEDISK.BAT
> temp/ati/MAKEDISK.PIF
> bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> tar: Removing leading `/' from absolute path names in the archive
> temp/ati/DE5110C1.EXE
> temp/ati/MAKEDISK.BAT
> temp/ati/MAKEDISK.PIF
> 
> After this you would expect, if I'm reading the help on tar properly,
> that I should only have one copy of the files since they haven't
changed
> at all. Is this a problem ?
> 
> Thank You
> 
> Jack
> 
> 
> --
> 
>        Jacques Lavictoire Systems Support
>        Canada Centre for Remote Sensing, Natural Resources Canada
>        588 Booth Street, Room G3, Ottawa, Ontario, Canada K1A 0Y7
>        Email: jacques.lavictoire@ccrs.nrcan.gc.ca
>        Phone: (613) 947-1366 Fax: (613) 947-1408
> 
> 
> -
> For help on using this list (especially unsubscribing), send a
message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
> 


==
-        \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd@yahoo.com--
------ooo0O--O0ooo-------



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: B19.1: tar -u option under NT 4.0 SP3 does not update properly
@ 1998-07-11  4:23 Lavictoire, Jacques
  0 siblings, 0 replies; 6+ messages in thread
From: Lavictoire, Jacques @ 1998-07-11  4:23 UTC (permalink / raw)
  To: gnu-win32, Jacques Lavictoire, 'earnie_boyd@yahoo.com'

Thanks for the information on the FAT problem  but these files are on an
NTFS filesystem.

Thanks

Jack



> ----------
> From: 	Earnie Boyd[SMTP:earnie_boyd@yahoo.com]
> Reply To: 	earnie_boyd@yahoo.com
> Sent: 	Friday, July 10, 1998 9:15 AM
> To: 	gnu-win32@cygnus.com; Jacques Lavictoire
> Subject: 	Re: B19.1: tar -u option under NT 4.0 SP3 does not
> update properly
> 
> 
> On a FAT filesystem there is only one timestamp and that is the date
> of last access.  Therefore, when tar accesses the file it updates the
> timestamp to the file and then will think that it has been modified.
> 
> 
> 
> ---Jacques Lavictoire <lavictoi@CCRS.NRCan.gc.ca> wrote:
> >
> > Hi,
> > 
> >     I'm new to gnu-win32 so it might just be me but repeating a tar
> job
> > with -u should update only if the files are newer then the previous
> > tarred files correct . But it keeps adding the files but they are
> all
> > the same set of files exactly. An example is as follows
> > 
> > bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> > tar: Removing leading `/' from absolute path names in the archive
> > temp/ati/DE5110C1.EXE
> > temp/ati/MAKEDISK.BAT
> > temp/ati/MAKEDISK.PIF
> > bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> > tar: Removing leading `/' from absolute path names in the archive
> > temp/ati/DE5110C1.EXE
> > temp/ati/MAKEDISK.BAT
> > temp/ati/MAKEDISK.PIF
> > bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
> > tar: Removing leading `/' from absolute path names in the archive
> > temp/ati/DE5110C1.EXE
> > temp/ati/MAKEDISK.BAT
> > temp/ati/MAKEDISK.PIF
> > 
> > After this you would expect, if I'm reading the help on tar
> properly,
> > that I should only have one copy of the files since they haven't
> changed
> > at all. Is this a problem ?
> > 
> > Thank You
> > 
> > Jack
> > 
> > 
> > --
> > 
> >        Jacques Lavictoire Systems Support
> >        Canada Centre for Remote Sensing, Natural Resources Canada
> >        588 Booth Street, Room G3, Ottawa, Ontario, Canada K1A 0Y7
> >        Email: jacques.lavictoire@ccrs.nrcan.gc.ca
> >        Phone: (613) 947-1366 Fax: (613) 947-1408
> > 
> > 
> > -
> > For help on using this list (especially unsubscribing), send a
> message to
> > "gnu-win32-request@cygnus.com" with one line of text: "help".
> > 
> 
> 
> ==
> -        \\||//
> ---o0O0--Earnie--0O0o----
> --earnie_boyd@yahoo.com--
> ------ooo0O--O0ooo-------
> 
> 
> 
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* B19.1: tar -u option under NT 4.0 SP3 does not update properly
@ 1998-07-08 12:23 Jacques Lavictoire
  0 siblings, 0 replies; 6+ messages in thread
From: Jacques Lavictoire @ 1998-07-08 12:23 UTC (permalink / raw)
  To: gnu-win32

Hi,

    I'm new to gnu-win32 so it might just be me but repeating a tar job
with -u should update only if the files are newer then the previous
tarred files correct . But it keeps adding the files but they are all
the same set of files exactly. An example is as follows

bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
tar: Removing leading `/' from absolute path names in the archive
temp/ati/DE5110C1.EXE
temp/ati/MAKEDISK.BAT
temp/ati/MAKEDISK.PIF
bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
tar: Removing leading `/' from absolute path names in the archive
temp/ati/DE5110C1.EXE
temp/ati/MAKEDISK.BAT
temp/ati/MAKEDISK.PIF
bash-2.01$ tar -v -u /temp/ati/* -f /temp/test1.tar
tar: Removing leading `/' from absolute path names in the archive
temp/ati/DE5110C1.EXE
temp/ati/MAKEDISK.BAT
temp/ati/MAKEDISK.PIF

After this you would expect, if I'm reading the help on tar properly,
that I should only have one copy of the files since they haven't changed
at all. Is this a problem ?

Thank You

Jack


--

       Jacques Lavictoire Systems Support
       Canada Centre for Remote Sensing, Natural Resources Canada
       588 Booth Street, Room G3, Ottawa, Ontario, Canada K1A 0Y7
       Email: jacques.lavictoire@ccrs.nrcan.gc.ca
       Phone: (613) 947-1366 Fax: (613) 947-1408


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-07-14  1:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-13  1:02 B19.1: tar -u option under NT 4.0 SP3 does not update properly Andrew Dalgleish
  -- strict thread matches above, loose matches on Subject: below --
1998-07-14  1:08 Graham Murray
1998-07-11 13:47 Sergey Okhapkin
1998-07-11  4:23 Lavictoire, Jacques
1998-07-11  4:23 Earnie Boyd
1998-07-08 12:23 Jacques Lavictoire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).