[haiku-bugs] Re: [Haiku] #6781: mkfs -t bfs KDLs on small image files

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 27 Nov 2014 12:56:35 -0000

#6781: mkfs -t bfs KDLs on small image files
-----------------------------+----------------------------
   Reporter:  jonas.kirilla  |      Owner:  axeld
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by pulkomandy):

 Still happens.

 If I'm reading the code correctly, the minimal log size is 512 blocks (set
 in {{{Volume::Initialize}}}). But {{{disk_super_block::IsValid()}}}
 considers volumes as small as 10 blocks as valid. So it's possible that
 the log (and other superblock structures) end up not fitting the volume.

 I'm not sure what the milimal size should be, or if we should somehow
 disable the log for very small volumes. So I'll let someone with better
 BFS knowledge decde what the correct fix is.

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

Other related posts: