On Mon, Dec 15, 2008 at 09:24:41AM -0800, Andrey Shuvikov wrote: > I don't have much experience developing under FreeBSD but this call taken > from the fdisk source code seems to work (see attachment also): > > error = ioctl(fd, DIOCGMEDIASIZE, &size);
This seems fine. Could you provide a tested patch? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel