[fpc-pascal] Size of a partition

Sven Barth pascaldragon at googlemail.com
Fri Dec 19 14:15:46 CET 2014


Am 19.12.2014 13:54 schrieb "Rainer Stratmann" <rainerstratmann at t-online.de
>:
>
>  On Thursday 18 December 2014 22:49:08 you wrote:
> > On 12/18/14, Rainer Stratmann <rainerstratmann at t-online.de> wrote:
> > > How to get the total size of an unmounted partition in Linux?
> >
> > Can you use the info at
> >
http://serverfault.com/questions/190685/whats-the-best-way-to-get-info-abou
> > t-currently-unmounted-drives ?
> >
> > Just googled you question ;-)
>
> Thanks, it is may interesting.
> Better would be a syscall.

You'll likely need to check for IOCTL values you can then pass to an opened
partition node per FpIoctl. I don't know them though, so I can't help you
there...

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20141219/5e5d0042/attachment.html>


More information about the fpc-pascal mailing list