Re: Need script to loop fdisk
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Thu, 17 May 2012 15:32:06 -0400
On 2012-05-16, NoHtmlMailsPlease wrote:
According to my logs, in Oct 2005 I used a method that was publicised on
these
groups, and it worked for me, and now I'm trying to remember how it worked.
It went something like this:-
A script which repeatedly calls `fdisk` while increasing the size of the
new-partition, and thus incrementally moving the partition "boundry" of
the new/next partition, and testing for
<yes that's where the previously lost boundry WAS>.
That sounds like something I wrote several years ago.
I can't find the script right now, but IIRC it looped with a new
call to fdisk (with changed parameters in a here document) in each
iteration.
I'll see if I can find it.
--
Chris F.A. Johnson, <http://cfajohnson.com>
Author:
Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
.
- Follow-Ups:
- Re: Need script to loop fdisk
- From: Chris F.A. Johnson
- Re: Need script to loop fdisk
- References:
- Need script to loop fdisk
- From: NoHtmlMailsPlease
- Need script to loop fdisk
- Prev by Date: Re: Saving & Rotating Linux Installations?
- Next by Date: Re: Need script to loop fdisk
- Previous by thread: Need script to loop fdisk
- Next by thread: Re: Need script to loop fdisk
- Index(es):
Relevant Pages
|