[haiku-bugs] Re: [Haiku] #4424: Indexes missing in alpha image

  • From: "leavengood" <trac@xxxxxxxxxxxx>
  • Date: Tue, 21 Jun 2011 22:19:59 -0000

#4424: Indexes missing in alpha image
----------------------------+----------------------------
   Reporter:  humdinger     |      Owner:  bonefish
       Type:  enhancement   |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by leavengood):

 So the solution here is to add a bunch of calls to mkindex for the
 installed volume to the InstallerFinishScript?

 Something like:

 {{{
 mkindex -d "$volume" -t string AUDIO:Album
 mkindex -d "$volume" -t string AUDIO:Artist
 mkindex -d "$volume" -t string AUDIO:Genre
 mkindex -d "$volume" -t int AUDIO:Rating
 ...and many more...
 }}}

 humdinger, I think this is right up your alley! Or Matt, who is quite the
 shell guru.

 Though I wonder how much overhead these indexes cause. I suppose they only
 affect files with the given attributes.

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

Other related posts: