FreeBSD: Add workaround for 4096-aligned drives
Thanks again for your latest patch! It has now been included in development release 2.9.0. Unless you mind, I will set the status of this to closed-accepted.
Release 2.9.0
FreeBSD fixes provided by Vladimir Kondratyev
Thanks for the updated patch! I hope to be able to release a development version of ms-sys some weekend in May.
Ok, thanks again! I hope to be able to create a new development release some weekend in the future, probably not in April, but hopefully some weekend in May.
Thanks for the patch! The declaration of the new function diocgstripeoffset and the call to that function is only made if DIOCGFWSECTORS is defined. However, the function seem to need sysctl and sysctl.h and some more .h files are only included if DIOCGFWSECTORS and (APPLE or FreeBSD) is defined. Do you think that the call and declaration also only should be made if APPLE or FreeBSD is defined? Or would you prefer if the includes were done also without APPLE or FreeBSD?
The main purpose of DOS FDISK is to create partitions, ms-sys cannot do that. There are other free tools for that like Linux fdisk, cfdisk parted or gparted. However, ms-sys is capable of doing the equivalent of DOS "FDISK /mbr", that is writing master boot records. The master boot record consists of the first 512 bytes of a device and only part of those 512 bytes are the code to boot, in the MBR you also have the DOS partition table. Ms-sys does not alter or create the partition table. The fact...