Package: star
Version: 1.5a67-1
Severity: wishlist

Hello,

the purpose of the -atime flag (while creating an archive) is

        Reset  access  time  of files after storing them to tarfile.  On
        Solaris 2.x, (if invoked by root) star uses the _FIOSATIME ioctl
        to  do  this.  This  enables  star not to trash the ctime while
        resetting the atime of the files.

(from star(1))

On Linux this modifies the ctime.

You could circumvent that by using

        open(path, O_RDONLY | O_NOATIME);

Then the atime isn't updated at all and so there is no need to reset it.
(Moreover you might get a small performance improvement.)

Best regards
Uwe

-- System Information:
Debian Release: 4.0
  APT prefers proposed-updates
  APT policy: (900, 'proposed-updates'), (900, 'stable'), (300, 
'testing-proposed-updates'), (300, 'testing'), (200, 'unstable'), (2, 
'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages star depends on:
ii  libacl1                       2.2.41-1   Access control list shared library
ii  libattr1                      2.4.32-1   Extended attribute shared library
ii  libc6                         2.7-6      GNU C Library: Shared libraries

star recommends no packages.

-- no debconf information

-- 
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to