Re: [PATCH 1/6] xstat: Add a pair of system calls to make extended file stats available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 30, 2012 at 09:15:56PM +0100, David Howells wrote:
> Ben Hutchings <ben@xxxxxxxxxxxxxxx> wrote:
> 
> > Try 86,400 seconds - the actual granularity of atime on VFAT.
> 
> 24 hours?  Really?  I guess it makes the updating of atime on the media
> something you can be lazy about.
> 
> > (For mtime it's 2 seconds, and for ctime 0.01 seconds.)

Does it actually support ctime, or is there some confusion here between
unix ctime and file creation time?

> Sigh.  Okay.  Ugh.  I guess I need separate granularities after all...  Not
> only that, but a 32-bit integer isn't sufficiently capacious to hold the full
> range I now know about (1nS up to 1 day).
> 
> I wonder if granularity should be left to a statfsxat() syscall?
> 
> And I know Linus didn't like it, but I wonder if I can pack it in to a 32-bit
> word either by doing an x * 10^y thing.

Does it matter if we don't get vfat's atime granularity exactly right?
Is anyone ever going to use it for anything?

--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux