[haiku-bugs] Re: [Haiku] #11142: FAT: archive bit support

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Tue, 19 Aug 2014 12:45:36 -0000

#11142: FAT: archive bit support
--------------------------------+----------------------------
   Reporter:  MatejHorvat       |      Owner:  nobody
       Type:  enhancement       |     Status:  new
   Priority:  normal            |  Milestone:  R1
  Component:  File Systems/FAT  |    Version:  R1/Development
 Resolution:                    |   Keywords:  FAT, archive
 Blocked By:                    |   Blocking:
Has a Patch:  1                 |   Platform:  All
--------------------------------+----------------------------

Comment (by korli):

 Thanks for the patch!
 * _create_dir_entry_() is also used to create a label. Setting the mode in
 create_dir_entry() should be preferred.
 * write_vnode_entry() is too generic: you should only add the archive bit
 when the modification time is updated and when the node isn't a directory
 [http://cgit.haiku-os.org/haiku/tree/src/add-
 ons/kernel/file_systems/fat/file.c#n251 here].

--
Ticket URL: <https://dev.haiku-os.org/ticket/11142#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: