Jacob Bunk Nielsen <spam@bunk.cc> writes:
>>> Jeg har et problem med samba, når man via xp åbner en fil ændre den
>>> oprettelse dato !!
>>
>> I unix-filsystemer findes begrebet "oprettelsesdato" mig bekendt ikke.
>
> ctime?
Nej, ctime står for change time og er det tidspunkt hvor man har
ændret filen, eventuelt bare indholdet af inoden:
brother@pma-linux:/tmp$ touch foo
brother@pma-linux:/tmp$ stat foo
File: `foo'
Size: 0 Blocks: 0 IO Block: 131072 regular empty file
Device: 302h/770d Inode: 12876 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ brother) Gid: ( 1000/ brother)
Access: 2006-03-21 10:16:48.000000000 +0100
Modify: 2006-03-21 10:16:48.000000000 +0100
Change: 2006-03-21 10:16:48.000000000 +0100
brother@pma-linux:/tmp$ chmod a+w foo
brother@pma-linux:/tmp$ stat foo
File: `foo'
Size: 0 Blocks: 0 IO Block: 131072 regular empty file
Device: 302h/770d Inode: 12876 Links: 1
Access: (0666/-rw-rw-rw-) Uid: ( 1000/ brother) Gid: ( 1000/ brother)
Access: 2006-03-21 10:16:48.000000000 +0100
Modify: 2006-03-21 10:16:48.000000000 +0100
Change: 2006-03-21 10:17:04.000000000 +0100
brother@pma-linux:/tmp$ echo f > foo
brother@pma-linux:/tmp$ stat foo
File: `foo'
Size: 2 Blocks: 8 IO Block: 131072 regular file
Device: 302h/770d Inode: 12876 Links: 1
Access: (0666/-rw-rw-rw-) Uid: ( 1000/ brother) Gid: ( 1000/ brother)
Access: 2006-03-21 10:16:48.000000000 +0100
Modify: 2006-03-21 10:17:25.000000000 +0100
Change: 2006-03-21 10:17:25.000000000 +0100
brother@pma-linux:/tmp$
--
Peter Makholm | There are 10 kinds of people. Those who count in
peter@makholm.net | binary and those who don't
http://hacking.dk |