-
How to get partition information?
Hi,
I noticed that there are icons on the desk top that let you mount the window partions by clicking on it. How does one get that information in C program? I know I can traverse /proc/ide directory to pull out file names starting with "hd" or look in /proc/partiontable. Is there a better way to do it? I looked at fdisk code, it has list_partion call. There seem to be a lot of stuff happening before it gets to that stage. "fdisk" man page says it looks in the partiontable and other places. I'm not sure what is the best way...
Thanks,
Jae
Similar Threads
-
By AV087 in forum General Support
Replies: 2
Last Post: 09-09-2004, 09:45 AM
-
By estudiante in forum General Support
Replies: 1
Last Post: 08-31-2004, 11:29 PM
-
By paradocs in forum The Lounge
Replies: 11
Last Post: 08-05-2003, 03:45 PM
-
By zeus916 in forum Hardware & Booting
Replies: 4
Last Post: 02-26-2003, 04:14 AM
-
Replies: 2
Last Post: 01-23-2003, 09:24 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR
$1100.00

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER
$349.99

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$111.70

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00

IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU
$450.00

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671
$230.00

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$225.00