[haiku-bugs] Re: [Haiku] #6719: Find by folder not working

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 13 Aug 2013 03:24:24 -0000

#6719: Find by folder not working
------------------------------------+----------------------------
   Reporter:  HAL                   |      Owner:  axeld
       Type:  bug                   |     Status:  reopened
   Priority:  normal                |  Milestone:  R1
  Component:  Applications/Tracker  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by bonefish):

 FWIW, the `mime_update.sh` script is gone with package management. It
 simply wouldn't work, since most folders and files under /boot/system and
 /boot/common are read-only. On the upside, both the Haiku build system and
 haikuporter run `mimeset` before creating a package. So all packaged
 folders do already have the attribute. Folders that don't come from
 packages still don't, though.

 A MIME sniffer rule doesn't exist for directories, since those operate on
 data. Directories and symlinks are handled explicitly by the MIME sniffing
 code. In BeOS the registrar crawled the file system to sniff files in the
 background, so everything was properly identified eventually. In Haiku we
 don't do that. Originally the plan was to introduce the same mechanism
 eventually, but since the whole query support is misplaced in the file
 systems and should rather be put into a separate server (like the index
 server Clemens implemented), that might not happen after all.

--
Ticket URL: <http://dev.haiku-os.org/ticket/6719#comment:13>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: