The HDIO_GETGEO ioctl has been depreciated for years and will be removed
"some day", so user space tools have been moving to reading the sysfs
attribute, so I'd prefer not to see more use of the obsolete ioctl.
While it isn't quite as simple as the ioctl, it isn't that bad and you
should be able to copy/paste the code that does this out of parted's
libparted/arch/linux.c, or util-linux's lib/sysfs.c is a bit more
complete but complex interface.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1237519

Title:
  Grub2 fails to install to non-standard device path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1237519/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to