[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 ;-)

Ian


-------------------------------------------------------
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!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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