Ok, now try this.... was [Re: Try...]

Luca 'Ziabice' Gambetta l.gambetta at bluenine.it
Fri Jan 21 17:37:51 UTC 2005


On Fri, 21 Jan 2005 05:50:22 -0800 (PST)
paul moore <paulm2012 at yahoo.com> wrote:

> 
>  Got it here 8~)
> 
>   Paul

OK! :D
In attach you can find the code I writed (1 week ago) to read a disk
partition table... usage is simple (as root):

read_part /dev/hdX

It prints the same as:

fdisk -l /dev/hdX

To compile you need linux kernel headers and:

gcc -o read_part read_part.c


PS:
sorry if my english isn't good ;)

-- 
Blue Nine di Gambetta Luca
http://www.bluenine.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: read_part
Type: application/octet-stream
Size: 13692 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ataraid-list/attachments/20050121/c9d328bd/attachment.obj>


More information about the Ataraid-list mailing list