Opened 10 years ago

Closed 9 years ago

#11120 closed enhancement (fixed)

FAT file creation times

Reported by: MatejHorvat Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: File Systems/FAT Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

It would be nice if Haiku could support file creation times on FAT partitions. As explained by https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system#Directory_entry, the words at offsets 0x0E and 0x10 of a directory entry are used to store the creation time and date since MS-DOS 7.0 (Windows 9x), which also introduced long file names. As Haiku already supports long file names on FAT partitions (and file creation times on other file systems) and Windows makes use of file creation times on them, I don't see why Haiku shouldn't support this too.

Attachments (1)

0001-Add-support-for-creation-times.patch (7.2 KB ) - added by MatejHorvat 10 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by anevilyak, 10 years ago

Milestone: R1/alpha5R1

comment:2 by MatejHorvat, 10 years ago

patch: 01

comment:3 by waddlesplash, 10 years ago

Milestone: R1Unscheduled

FAT fs driver came from BeOS, it's R1-feature-complete, moving enhancement tickets out of R1

comment:4 by axeld, 9 years ago

Resolution: fixed
Status: newclosed

Thanks for your patch! I've applied it in hrev49339 -- I reworked the confusing use of ctime, though, as that does have a different meaning in POSIX.

Note: See TracTickets for help on using tickets.