Re: [Freedos-devel] File creation times

2014-09-25 Thread Matej Horvat
To whom it may concern: I have since discovered a bug in my "fix" for creation times. If INT 21h AH=3Ch is called and the file is truncated (not created), its creation time will be replaced with the modification time. This is because dos_open calls init_direntry when creating or truncating a

Re: [Freedos-devel] File creation times

2014-07-04 Thread Travis Siegel
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 tha

Re: [Freedos-devel] File creation times

2014-07-03 Thread Eric Auer
Hi guys, to give a quick comment on the "triple timestamps in DOS" discussion: I guess it is safe in MOST situations to use those, but not in all. It could be a feature to use per default only for FAT32 kernels, or it could be SYS CONFIG switchable, to keep "classic" directory entries possible.

Re: [Freedos-devel] File creation times

2014-07-03 Thread Rugxulo
Hi, On Thu, Jul 3, 2014 at 4:51 PM, Matej Horvat wrote: > On Thu, 03 Jul 2014 23:09:08 +0200, Rugxulo wrote: > >> (...snip...) > > You're making this a bigger problem than it is. I'm not suggesting we move > "Windows 95 LFN" functions into the kernel, Nor me either (though most users would pref

Re: [Freedos-devel] File creation times

2014-07-03 Thread Steve Nickolas
On Thu, 3 Jul 2014, Matej Horvat wrote: > You're making this a bigger problem than it is. I'm not suggesting we move > "Windows 95 LFN" functions into the kernel, just that we modify the kernel > to set the creation times of new files, which is a trivial thing to do > (just two extra assignment st

Re: [Freedos-devel] File creation times

2014-07-03 Thread Matej Horvat
On Thu, 03 Jul 2014 23:09:08 +0200, Rugxulo wrote: > But how do you view this data? Certainly there must be some easy way > (without manually viewing raw disk info). I don't know. You mentioned 4DOS, so I'm going to give that a try, or one of the many DIR replacements (or write my own...). But

Re: [Freedos-devel] File creation times

2014-07-03 Thread Rugxulo
Hi, On Thu, Jul 3, 2014 at 8:06 AM, Matej Horvat wrote: > On Thu, 03 Jul 2014 05:16:19 +0200, Rugxulo wrote: > >> Bug compared to what? Do you have experience with other DOSes where it >> worked correctly (without the Windows GUI)? > > Compared to my expectations (:D) and Windows' behavior. I do

Re: [Freedos-devel] File creation times

2014-07-03 Thread Matej Horvat
On Thu, 03 Jul 2014 05:16:19 +0200, Rugxulo wrote: > Bug compared to what? Do you have experience with other DOSes where it > worked correctly (without the Windows GUI)? Compared to my expectations (:D) and Windows' behavior. I don't know how other DOSs behave. > But ... this would probably a

Re: [Freedos-devel] File creation times

2014-07-02 Thread Rugxulo
Hi, On Wed, Jul 2, 2014 at 12: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 th

Re: [Freedos-devel] File creation times

2014-07-02 Thread Steve Nickolas
On Wed, 2 Jul 2014, Matej Horvat wrote: > Hi, > > 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 crea

[Freedos-devel] File creation times

2014-07-02 Thread Matej Horvat
Hi, 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 h