vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I've started porting gpt(8) over from FreeBSD (with some very minor bits from NetBSD). This tool lets you create and manipulate GPT disks which are used by EFI platforms and which I need support for. I have 2 patches for this -- i) the first patch adds uuid support (http://dickman.org/openbsd/gpt/lib_uuid.patch) ii) the second patch adds gpt support and depends on the first patch (http://dickman.org/openbsd/gpt/gpt.patch) I also have a diff with the changes I had to make to FreeBSD's gpt to get it working on openbsd. This might be helpful for anyone wanting to look at the OpenBSD specific bits. http://dickman.org/openbsd/gpt/gpt_c..._openbsd.patch What's left to do: - uuid_create hasn't been implemented. On FreeBSD they added a syscall for generating UUIDs, I'd like to explore if this can be done in userspace. At the moment, this just returns a null UUID as a stub. - the gpt man page needs to be fixed for OpenBSD - this hasn't undergone much testing Any comments/feedback? |