Hmm. It would be good to know what the partition table mathematics parted uses actually are. I'm dealing with a system that creates its own partition table (I'm not quite sure how) and parted refuses to deal with them because the partitions are not aligned on cylinder boundaries. I see three options:
1. Drop parted and come up with some kludge to wrap around, for example, fdisk. 2. Learn parted partition table mathematics and see if I can get those adopted by who writes the software to create partitions 3. Teach parted to handle unaligned partitions. In general, number 3 would be my perference because it helps out other people with my issue, too, but I doubt I have enough time to do that. Number 2 is easier but runs into trying to get others to change existing software. Number 1 is the least desirable and it may not even be possible to do what needs to be done this way. Anyone have any perspective on this? Of course, I'm on a very tight deadline and need to decide which way to go almost immediately... -- David VomLehn, Staff O/S Software Engineer Scientific Atlanta, A Cisco Company 10590 N. Tantau Avenue, Cupertino, CA 95014 [EMAIL PROTECTED] voice: 408-777-5052 fax: 408-777-0176 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of [EMAIL PROTECTED] > Sent: Sunday, January 14, 2007 11:51 AM > To: François Patte > Cc: bug-parted@gnu.org > Subject: Re: new to parted > > > Dear François, > > On Fri, Jan 12, 2007 at 07:29:08PM +0100, François Patte wrote: > > > Why 8 ends at 15304,108 and 9 begins at 15304,140? 0,031 is missing! > Parted automatically aligns partitions based on what it > thinks is best (or, rather, necessary). The mathematics of > partition tables are sometimes strange ones. Be sure that > it's for your own good :) > > > can I add 5000 to 15304,108 to add 5GB to sda8? Or is it more > > complicated to calculate? > The 'unit' command will tell you which unit is currently in > use. You can always suffix numbers with a unit to tell > parted what you mean. > > If you have any more questions, please ask. > > Leslie > > -- > gpg --keyserver pgp.mit.edu --recv-keys DD4EBF83 > http://nic-nac-project.de/~skypher/ > - - - - - Appended by Scientific Atlanta, a Cisco company - - - - - This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer. _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted