grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stat for FreeBSD


From: Robert Millan
Subject: Re: stat for FreeBSD
Date: Sat, 7 Feb 2009 20:39:05 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]