Im on Linux Mint 21, I have a EXT4 file system
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
i opened a file my_test:
touch my_test
stat my_test
File: my_test
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 831h/2097d Inode: 54 Links: 1
Access: 2023-12-17 22:26:37.610635694 +0100
Modify: 2023-12-17 22:26:37.610635694 +0100
Change: 2023-12-17 22:26:37.610635694 +0100
Birth: 2023-12-17 22:26:37.610635694 +0100
then edited it with nano
nano my_test
stat my_test
File: my_test
Size: 12 Blocks: 8 IO Block: 4096 regular file
Device: 831h/2097d Inode: 54 Links: 1
Access: 2023-12-17 22:27:32.207040986 +0100
Modify: 2023-12-17 22:27:48.387162937 +0100
Change: 2023-12-17 22:27:48.387162937 +0100
Birth: 2023-12-17 22:26:37.610635694 +0100
You see birth date exactly the same, then i opened it with libre writer, edited something and saved it
stat my_test
File: my_test
Size: 17 Blocks: 8 IO Block: 4096 regular file
Device: 831h/2097d Inode: 55 Links: 1
Access: 2023-12-17 22:29:06.259760565 +0100
Modify: 2023-12-17 22:29:06.259760565 +0100
Change: 2023-12-17 22:29:06.267760627 +0100
Birth: 2023-12-17 22:29:06.251760503 +0100
birth date changed - You see there is a new inode - why?
Shell:
echo "hello" > my_test
keeps the birth date
why are libre office writer or xed changing the birth date
this makes the whole sense of birth date useless
are they using the same wrong dynamic library with file system functions ? or what?