hi all
after going through ext3 file system , i understood that data resolution for ext3 FS is 1 second...can i increase it 2 second...? any idea..?
I think you mean the date (as in time/date) resolution, not the data resolution. And no, short of recompiling the kernel and probably screwing up your system beyond repair in the process you can't change that resolution, as it's simply based on the seconds since the epoch in a 32bit signed integer.
@pludi
hi
i have problem in modified time of file......consider file as modified time as 5:50:35 in ext3 format. if i copy this to fat format pen drive modified time is changing to 5:50:34.......i'm using modified time for file integrity check.... any idea?
Yes, use something other than the time for modification check (cryptographic hashes for instance [md5sum, sha256sum]), or copy the files in an container (eg tar them):
$ touch test.txt
$ LANG=C stat test.txt
File: `test.txt'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 801h/2049d Inode: 622770 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ pludi) Gid: ( 100/ users)
Access: 2010-05-07 08:35:37.000000000 +0200
Modify: 2010-05-07 08:35:37.000000000 +0200
Change: 2010-05-07 08:35:37.000000000 +0200
$ tar -cf /tmp/test.tar test.txt
$ cd /tmp
$ tar xf test.tar
$ LANG=C stat test.txt
File: `test.txt'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 801h/2049d Inode: 1724286 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ pludi) Gid: ( 100/ users)
Access: 2010-05-07 08:36:23.000000000 +0200
Modify: 2010-05-07 08:35:37.000000000 +0200
Change: 2010-05-07 08:36:23.000000000 +0200