Artifact 1d67ea3c96a60f4f0ca5ef4567f0d82bceed1557:
- File genode-haiku/hai-src/servers/registrar/_Ge_InitPilot.cpp — part of check-in [2c0fddbc17] at 2024-08-15 14:08:47 on branch trunk — -- PartitionSetupGPT now passes unit testing for simple NTFS partitioning use-case -- jam: build mkntfs: * main Jamfile: add building of src/lib/ntfs-3g/ntfsprogs/mkntfs ; * libntfs Jamfile: unix_io.c needs "smarter" patching of its fcntl() usage -- we can no longer provide a custom fcntl() since in this case we link against Genode libc, so now we use #define tricks instead ; * remove the custom fcntl() implementation, no longer used ; PartitionSetupGPT: complete "vertical slice" use-case: * (use that name instead of "DriveSetup" to avoid confusion with upstream app) ; * add "Add partition", "Format" buttons, confirmation BAlerts, gray-outs to guide the user, etc ; * implement using gpt_write, launched in InitPilot ; * implement using mkntfs, launched in InitPilot ; * also take charge of launching/quitting part_block in InitPilot ; * lots of things are hardcoded (partition size: 100 GiB etc), in theory this should suffice for station usage ; InitPilot support: * hack support for mkntfs (needs routing of "Block" to part_block) ; GeDepot tweak: * profit from the new InitPilot ability : launch nano3d with a custom config ; -- TESTS -- * In QEMU, PartitionSetupGPT now allows the user to wipe, partition, and NTFS-format a test.raw stand-in file ; * not clear yet how to integrate PartitionSetupGPT into a real-world distro, where PartitionSetupGPT wouldn't be the one in control of ahci_drv and part_block ; (user: user size: 17898)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.