bug-parted
[Top][All Lists]
Advanced

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

end of the drive


From: Andrew Gaffney
Subject: end of the drive
Date: Fri, 21 Jan 2005 23:44:26 -0600
User-agent: Mozilla Thunderbird 1.0 (X11/20041212)

What does libparted consider the end of the drive? Is it the physical last sector of the drive or the last sector implied by the geometry that parted picks for the drive (which sometimes comes out to less sectors than the physical amount)?

I'm running into a problem where I get "can't create a partition past the physical end of the drive" when I delete a partition that goes to the last physical sector and try to recreate it. It is very possible that my program is passing a sector number that is too high for the end value since it is calculated from the position of a GTK+ slider widget. I haven't gotten around to debugging that yet, because I've had other issues to deal with.

Even if the problem is on my end, I'd still like to know the answer to the question out of curiosity.

--
Andrew Gaffney
Gentoo Linux Developer
Installer Project




reply via email to

[Prev in Thread] Current Thread [Next in Thread]