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

Re: [Xen-devel] [SOLVED] Error looking up phy:sda5

> Maybe check 'sfdisk', '/sbin/sfdisk', then '/usr/sbin/sfdisk'?
> > I guess it would probably be cleaner if we just read this out of
> > /proc/partitions rather than using sfdisk...

I'd check 'sfdisk' last, using PATH as a last resort.

> Unfortunately the proc file lists blocks rather than sectors, so you
> can't do sector-accurate calculations based on it.

Oh yeah, I remember why I wrote that code now ;-)


This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.