[samba-jp:20329] Re: ファイル生成時刻の扱いについて

Takashi SHIRAI shirai @ unixusers.net
2008年 8月 12日 (火) 23:54:06 JST


$B!!$7$i$$$G$9!#(B

$B!!$s!<!"@h$N(B mail $B$O$5$H$&$5$s$KBP$9$k%D%C%3%_$N$D$b$j$@$C$?(B
$B$s$G$9$,!"$=$&$OFI$a$J$+$C$?$G$7$g$&$+!#8m2r$r>7$$$F$7$^$C$F(B
$B$9$_$^$;$s!#(B

In Message-Id <20080812213938.b6fdee59.touchan @ papa-net.bpl.jp>
        KAWASUMI Junji <touchan @ papa-net.bpl.jp>$B$5$s(Bwrites:
> $B @ n@!$G$9!#(B

> > $B!!$G$b!"!VL$BP1~!W$r<($9?tCM$O(B birthtime $B<BAu4D6-$G$O8=$lF@(B
> > $B$J$$?tCM$G$J$$$H!"6hJL$,$D$+$J$/$J$k$s$8$c$J$$$+$H;W$&$s$G$9(B
> > $B$,$I$&$G$7$g$&!)(B
> $B$=$&$G$9$M!"C1=c$K(B 0$B$h$jBg$-$+$C$?$i:NMQ$H$$$&Iw$K;W$C$F$$$^$7(B
> $B$?$,!"@u$+$C$?$G$9!#(B

$B!!(BUTC $B$rJV$7$F$k(B st_birthtime $B$NJ}$O$=$l$G$b9=$o$J$$$H;W$$$^(B
$B$9!#40`z$8$c$J$$$K$7$m!"<BMQ>eFC$KLdBj$J$$$G$7$g$&!#(Bepoch $B$K(B
$BAL$C$F(B file $B$r:n @ .$9$k%K!<%:$J$s$F$^$:$"$j$^$;$s$7!#(B


> $B$G$b%=!<%9$G3N$+$a$?$o$1$G$OL5$$$G$9$,!"(BFreeBSD$B>e$G(B UFS1$B$G:n$C(B
> $B$?%U%!%$%k$KBP$7$F(Bbirthtime$B$,$I$&$J$k$+<B9T$7$F$_$?$H$3$m!"(B
> $B%(%]%C%/;~4V(B 1970/1/1 09:00:00 $B$,JV5Q$5$l$F$-$^$7$?!#(B
> $B$J$N$G!"2?$H$J$/(B 0$B$G$$$$$s$8$c$J$$$+$H;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(B
> > 
> > $B!!(B10^(-9) $B$N3NN($G(B nano second $BCM$C$F(B 0 $B$K$J$k$s$8$c$J$$$+$H(B
> > $B;W$&$s$G$9$,!"(BUFS2 $B$d(B FFS2 $B$N<BAu$N$I$3$+$K$=$l$r2sHr$9$k;E(B
> > $BAH$_$C$FMQ0U$5$l$F$$$^$9!)(B
> $B8D?ME*$K$O!"(Bst_birthtimensec$B$^$GI,MW$H;W$$$^$;$s$,G!2?$G$7$g$&(B
> $B$+!#(B

$B!!$5$H$&$5$s$,8@$C$F$k$N$O!"(Bnsec $BCM$rM-8z?tCM$H$7$F;H$&$H$$(B
$B$&0UL#$G$O$J$/$F!"(Bnsec $BCM$,L58z$JCM$r<($7$F$$$?:]$K$O!"2>$K(B
st_birthtime $B$,M-8zHO0O$K$"$C$F$bL5;k$9$k$H$$$&0UL#$G$9!#(B
$B!!(Bnsec $BCM$=$N$b$N$OITMW$G$"$k$H$$$&E@$K4X$7$F$OC/$b0[O@$J$$(B
$B$H;W$$$^$9$h!#(B

                                               $B$7$i$$(B $B$?$+$7(B



samba-jp メーリングリストの案内