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

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

 



On Fri, 21 Jan 2005 05:50:22 -0800 (PST)
paul moore <paulm2012@xxxxxxxxx> 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

Attachment: read_part
Description: Binary data


[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux