file creation timestamps wrong on msdos fs?

Rene Ladan r.c.ladan at gmail.com
Mon Nov 27 07:08:11 PST 2006


Oliver Fromme schreef:
> Rene Ladan wrote:
>  > Oliver Fromme schreef:
>  > > [...]
>  > > That should fix the output of "ls -lUT" (please report).
>  > Yep, with the file above:
>  > 
>  > rene at s000655:/media/stick>ls -lUT a-new-dos-file
>  > -rwxr-xr-x  1 rene  wheel  0 27 nov 10:53:59 2006 a-new-dos-file
>  > 
>  > Time for yet another PR :)
> 
> Yes ...  Are you going to submit a PR, or shall I do it?
> 
I've sent a kern PR with s/ctime/birthtime (the confirmation has not yet
arrived).

>  > > However, the question remains what the vnode's ctime should
>  > > be set to.  There's no such thing as an inode change time
>  > > in FAT's directory entries.  Maybe it should simply be
>  > > copied from the mtime.
>  > Maybe, but how can you see the inode change time anyway?
>  > 
>  > 'man ls' and 'apropos inode' don't tell me.
> 
> ls -lc
>
Ah...

It doesn't output anything useful on msdos filesystems after the patch.


> Best regards
>    Oliver
> 
Regards,
Rene
-- 
GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)

"It won't fit on the line."
		-- me, 2001




More information about the freebsd-fs mailing list