[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8011: cp --preserve=timestamps don't preserve crtime (created time)
From: |
Cristian Pop |
Subject: |
bug#8011: cp --preserve=timestamps don't preserve crtime (created time) |
Date: |
Thu, 10 Feb 2011 03:03:43 +0000 (GMT) |
Thx for your great job and for useful, powerfull and stable utilities.
No realy a bug, because crtime was recently implanted in ext4, but i will be
happy to see created timestamp preserve on copy.
Symptoms :
cp --version : 8.9
cp --preserve=timestamps fileOriginal fileCopy
sudo debugfs -R 'stat <inode of fileOriginal>' /dev/sda1
ctime: 0x4d196ae0:95e62538 -- Tue Dec 28 05:43:12 2010
atime: 0x4d529bbc:5b795bd0 -- Wed Feb 9 14:50:52 2011
mtime: 0x4d196ae0:888c2d38 -- Tue Dec 28 05:43:12 2010
crtime: 0x4d196ae0:888c2d38 -- Tue Dec 28 05:43:12 2010
sudo debugfs -R 'stat <inode of fileCopy>' /dev/sda1
ctime: 0x4d5342ce:2442ab18 -- Thu Feb 10 02:43:42 2011
atime: 0x4d529bbc:5b795bd0 -- Wed Feb 9 14:50:52 2011
mtime: 0x4d196ae0:888c2d38 -- Tue Dec 28 05:43:12 2010
crtime: 0x4d5342ce:225a6318 -- Thu Feb 10 02:43:42 2011
atime and mtime are preserved but
crtime is modified.
Thx a lot!
Cristian
- bug#8011: cp --preserve=timestamps don't preserve crtime (created time),
Cristian Pop <=