tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Tell a real disklabel apart from a fictious one
If I do ioctl(DIOCGDINFO) on a disk device, is there any better way to tell
this is a real label or one made up by the kernel besides
if (strcmp("default label", lab.d_packname)==0)
?
Martin
Home |
Main Index |
Thread Index |
Old Index