On 02/19/2011 02:18 PM, Hal Vaughan wrote:

On Feb 19, 2011, at 12:41 PM, Rob Owens wrote:

On Sat, Feb 19, 2011 at 11:49:41AM -0500, Hal Vaughan wrote:

fdisk: Doesn't seem to have a batch/script mode and I'd have to calculate sizes 
in megabytes from cylinder info

fdisk does allow you to specify the start cylinder, then something like
+1000M for the end of the partition.  "M" meaning megabytes.  It may
also accept "G" for gigabytes these days, but I'm not sure -- you'd have
to try it yourself.

I know I can specify the offset, but there's still the issue of having to 
calculate numbers to get that 1st cylinder -- and I can't use it from a script. 
 It's interactive.


If you're always using partition #1, then shouldn't the calculations always be the same, and thus pre-computable?

--
"The normal condition of mankind is tyranny and misery."
Milton Friedman


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d603101.9000...@cox.net

Reply via email to