On Jul 2, 2014, at 1:38 PM, Matej Horvat wrote: > > I noticed that many files on my FreeDOS partition do not have a > creation > time, or rather they claim to be created in 1980. For a long time I > thought that this is a bug, but today I looked at the kernel source > code > and found out that file creation times are never actually set. > > The file hdr\fat.h does define "dir_crtime" and "dir_crdate" in the > "dirent" structure, but a search didn't reveal them being used > anywhere. > > I compiled myself a new kernel with two simple changes to > init_direntry in > kernel\fatfs.c:
Thanks. I too will make this change. I don't use my dos partition much these days, (using macos mostly now, and a few linux boxes) but when I do, it'd be nice to have this set. Always wondered myself why it wasn't done, but it never bothered me enough to go fix it. :) And, as mentioned in the thread, few (if any) utilities actually supported it, so ... But, thanks for the patch anyhow. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
