emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: w32 file-attributes on FAT32 volume vs.same on NTFS volume - bugp?


From: Eli Zaretskii
Subject: Re: w32 file-attributes on FAT32 volume vs.same on NTFS volume - bugp?
Date: Wed, 20 May 2009 23:02:31 +0300

> Date: Wed, 20 May 2009 15:46:19 -0400
> From: MON KEY <address@hidden>
> 
> (file-attributes "u:/a/w32path/on/FAT32/formatted/removable/drive")
> ;;;=>(t 1 0 0 (18948 65472) (18950 1330) (18950 1328) 0 "drwxrwxrwx" t
> (7484788 . 1152) (25026 . 58322))
> 
> ;;; why is `nth 4'  (e.g. Last access time) of that list giving the
> weird time-value on FAT32 drive?
> (current-time-string (quote (18948 65472)))
> ;;;=>"Sat May 09 00:00:00 2009"
> 
> Whereas on a similarly directory created on an NTFS volume I get:
> (file-attributes "c:/Documents and
> Settings/path/on/a/w32path/NTFS/formatted/drive")
> ;;;=>(t 1 1004 513 (18964 23862) (18957 32124) (18944 28179) 0
> "drwxrwxrwx" nil 0 (45128 . 62390))
> 
> (current-time-string (quote (18964 23862)))
> ;;;=>"Wed May 20 15:42:46 2009"
> 
> Am I missing something?

I think you are missing the fact that on FAT32, the last-access time
actually records only the date, with no time.  Whereas on NTFS, it's a
full-fledged time stamp.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]