From: Marek <Mark@carrera.com>
To: axp-list@redhat.com
Subject: Re: a scripted fdisk ???
Date: Mon, 1 Feb 1999 09:51:21 -0800 [thread overview]
Message-ID: <99020109545003.04988@Marek2> (raw)
In-Reply-To: 199902011737.KAA13385@ellpspace.math.ualberta.ca
One easy way to use fdisk is to make a file with the values and have fdisk take
the values from the file.
For instance, lets say you have 2 partitions on your disk.. you can do
something like this in a text file
n
p
1
1
+1000m
n
p
2
256
+1000m
w
Of course the cylinder values are just out of my head and not real, just to
prove the point.
Name the file something like values
and do fdisk < values.
quick and dirty :)
On Mon, 01 Feb 1999, Michal Jaegermann wrote:
>jeff wrote:
>>
>> if they are the same type of harddisk, why not use dd to copy the first to
>> the others?
>
>This sounds like a pretty risky proposition. Various the same type
>disks may be not really exactly the same because a production process
>is not perfect. Few sectors here, few sectors there....
>
>Also running the first time mke2fs, or mkswap, without -c flag will
>likely work nearly always - untill you will **really** need that
>disk right away. :-)
>
> --mj
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
\x7fELF\x01\x01\x01
next prev parent reply other threads:[~1999-02-01 18:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-29 16:38 a scripted fdisk ??? Bob Segrest
1999-01-30 21:13 ` Philip Blundell
1999-01-30 21:48 ` Michal Jaegermann
1999-01-30 23:38 ` Tharin
1999-01-30 23:17 ` Quant-X Alpha Linux Support
1999-02-01 14:47 ` jeff
1999-02-01 17:37 ` Michal Jaegermann
1999-02-01 17:51 ` Marek [this message]
1999-02-01 18:31 ` Maurice Hilarius
-- strict thread matches above, loose matches on Subject: below --
1999-01-30 21:47 Greer, Joe
[not found] <5518FE2C95E6D111B1A500104B72113B024E291B@alfexc8.alf.dec.c om>
1999-02-01 18:48 ` Frank C. Brants
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox