[haiku-bugs] Re: [Haiku] #15803: Allow using Hpkg files as regular archives

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 14 Mar 2020 18:37:04 -0000

#15803: Allow using Hpkg files as regular archives
--------------------------------+----------------------------
   Reporter:  X512              |      Owner:  nobody
       Type:  enhancement       |     Status:  new
   Priority:  normal            |  Milestone:  Unscheduled
  Component:  Kits/Package Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------
Comment (by X512):

 Replying to [comment:2 waddlesplash]:

packagefs images are block-compressed and indexed so they are optimized
 for fast random access, which makes them very computationally expensive to
 create and not as efficient for data storage as standard archives.

 Compression can be disabled if this is an issue.

You can already mount BFS image files as partitions, and then compress
 these with any archive tool (and of course you can modify them, too)
 making them much more suitable for this purpose.

 There are no method for creating BFS image from folder including automatic
 size detection. HPKG is also more simple (less risk of errors and
 possibility to make extracting software for different platforms) and space
 efficient than BFS. Making non-compressed HPKG is much faster than copying
 files to different BFS volume.

 Creating HPKG can be also piped by ssh to backup server.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15803#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: