| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | "Bertram" <nospam AT nospam DOT org> |
| Newsgroups: | comp.os.msdos.djgpp |
| References: | <5230b96b$0$1372$4fafbaef AT reader1 DOT news DOT tin DOT it> <201309112001 DOT r8BK1QbW018320 AT delorie DOT com> |
| Subject: | Re: Exact size hdd |
| Date: | Thu, 12 Sep 2013 21:14:14 +0200 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 6.00.3790.3959 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.3790.3959 |
| X-RFC2646: | Format=Flowed; Original |
| Lines: | 21 |
| Message-ID: | <5232128c$0$1341$4fafbaef@reader2.news.tin.it> |
| Organization: | TIN.IT (http://www.tin.it) |
| X-Comments: | Please send technical notifications to newsmaster AT tin DOT it |
| NNTP-Posting-Host: | 79.41.212.122 |
| X-Trace: | 1379013260 reader2.news.tin.it 1341 79.41.212.122:8734 |
| X-Complaints-To: | Please send abuse reports to abuse AT retail DOT telecomitalia DOT it |
| Bytes: | 1624 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
"DJ Delorie" <dj AT delorie DOT com> ha scritto nel messaggio news:201309112001 DOT r8BK1QbW018320 AT delorie DOT com... > > I don't think there's such a function. You'd need to read and parse > the partition tables on the hard drive to get that info. > > The best you can do is the size of the whole hard drive, which is a BIOS > function: http://www.delorie.com/djgpp/doc/libc/libc_71.html > > Note that these BIOS calls are only reliable for smaller disk drives; > there's a limit to how large a disk can be and still fit into the BIOS > parameters, and today's disks are often bigger than that limit. Ok, many thanks. Regards
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |