Re: Automatic partitioning of a spare disk???

From: Guest section DW (
Date: Wed Mar 15 2000 - 11:09:17 EST

On Tue, Mar 14, 2000 at 10:21:23PM -0700, Christopher A. Gantz wrote:

> I've been looking around for a version of fdisk or som other disk
> partitioning utility that
> can utilize a specification of the partitioning information from a file
> or from the command line. I am trying
> to find a tool that will allow me to read the partitioning information
> on a current disk and
> then mimick the partitions exactly on the 2nd, 3rd, or nth new disk
> automatically!!!

Maybe you should use fewer exclamation marks.

But yes, there are various ways to do what you want.
For example,
        % sfdisk -d /dev/hda >
        % sfdisk /dev/hdb <
might do what you want.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:17 EST