#16113: Mounting bfs via fuse not working
-----------------------+-----------------------------
Reporter: Alexco | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: - General | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Platform: All
-----------------------+-----------------------------
On my FreeBSD12.1 setup I downloaded the latest haiku sources and build
the bfs_fuse module. When I try to mount my bfs partition (only bfs
partition on this machine, and haiku beta2 boots up from there without
issues), I get the following error:
{{{
bfs_fuse /dev/ada0p8 ~/haiku
bfs: Disk size (138976911360 bytes) < file system size (138977214464
bytes)!
bfs: Mount:207: Invalid argument
bfs: bfs_mount:184: Invalid argument
Error: Mounting FS failed: Invalid argument
}}}
But my partition is fine (output of gpart list):
{{{
Name: ada0p8
Mediasize: 138977214464 (129G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
efimedia: HD(8,GPT,345c2ac9-ac6e-a24d-
ae52-7f53eb4aab7b,0x27b65800,0x102dd800)
rawuuid: 345c2ac9-ac6e-a24d-ae52-7f53eb4aab7b
rawtype: 42465331-3ba3-10f1-802a-4861696b7521
label: Haiku
length: 138977214464
offset: 341125890048
type: !42465331-3ba3-10f1-802a-4861696b7521
index: 8
end: 937701375
start: 666261504
}}}
So where is the difference of 592 blocks/303104 bytes coming from?
I must admit that I didn't understand the code at all...
--
Ticket URL: <https://dev.haiku-os.org/ticket/16113>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.