Rob van der Heij wrote:
On 3/1/07, John Summerfield <[EMAIL PROTECTED]> wrote:
It shouldn't be hard to hook a mkswap command into /etc/inittab, to run
before (almost) everything else and do away with this "ipl cms first"
caper.
The original motivation was to use the diagnose driver, so you needed
to write to even sooner. Adding the code to also initialize it as swap
disk was for free. And IMHO having some code in Linux to overwrite one
of your disks during boot is something waiting to bite you real bad.
So you wrap the mkswap in a script that parses /etc/fstab enough to find
your swap devices. It _could_ check that there's no partition table if
that's the expected state) or no relevant filesystem.
If you see dangers, plan for them: if you look at the dangers of driving
on the road, you'd never go to work.
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
Please do not reply off-list
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390