Jenda Krynicky wrote:
> 
> From: "John W. Krahn" <[EMAIL PROTECTED]>
> > perldoc -f -C
> >                    -M  Age of file in days when script started.
> >                    -A  Same for access time.
> >                    -C  Same for inode change time.
> >
> >
> > In *nix files do not have a creation time.  You probably want to use
> > -M instead.
> 
> When does the inode change? (after the file creation ...:)


man 2 stat
[snip]
       The field st_atime is changed by file  accesses,  e.g.  by
       exec(2),  mknod(2), pipe(2), utime(2) and read(2) (of more
       than zero bytes). Other routines, like mmap(2), may or may
       not update st_atime.

       The  field st_mtime is changed by file modifications, e.g.
       by mknod(2), truncate(2), utime(2) and write(2)  (of  more
       than  zero  bytes).   Moreover, st_mtime of a directory is
       changed by the creation  or  deletion  of  files  in  that
       directory.   The st_mtime field is not changed for changes
       in owner, group, hard link count, or mode.

       The field st_ctime is changed by  writing  or  by  setting
       inode  information  (i.e., owner, group, link count, mode,
       etc.).


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to