Question about nano second timestamps on files in btrfs

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

 



It seems like the nano seconds that are stored in for example mtime
are snapshots of a nano second counter, taken at certain intervals,
much more seldom than one would expect.

For example, a bash script with:

echo HELLO > a.txt
do some bashy loops and echos
echo  HELLO > b.txt

at least on my btrfs/linux installation, you can do a lot of bashy
loops and stuff between
the two echos, and still a.txt and b.txt get the same nano second mtime.

Does anyone one why this is the case?

Thanks!

//Fredrik

Linux qi 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux