posix , detect partition type

Hi Which posix function we can use to detect the partition type? thanks from Peter ( snipped-for-privacy@hotmail.com)

Reply to
cmk128
Loading thread data ...

POSIX does not say anything about partitions or partition type.

Regards Manish Regmi

Reply to
Manish Regmi

There is nothing for POSIX to do with partitions but you check this out, Migth be this is what you are actually looking for :

formatting link

Cheers, Sandeepksinha

Reply to
sandy

whats wrong with plain old "fdisk -l" having read the available drives from dmsmg or proc ?

Reply to
Unknown

Well i think, he wants to use it inside the program. So, issuing something on a command line is totally a different issue. Well, it would be quite costly that way and quite comlex at the same time, involving output redirection and all those stuffs.

Cheers, Sandeepksinha.

Reply to
sandy

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.