rcrun: savecore and swap1 patch
Matthew Dillon
dillon at apollo.backplane.com
Sun Dec 14 18:42:43 PST 2003
:I'm sorry, but the code you checked in doesn't solve the problem
:at hand either. Try sshd again...
:
:What we need here are special provisions for idempotent operations
:like swapon et al.
:Maybe swap1 should check for the varsym on its own.
:Any other idea ?
:
:Cheers
:Peter
I'm not sure I understand what the problem with swapon is. swapon will
not turn swap on twice, you can rerun 'swapon -a' as many times as you
like. It does return an exit code of 1 if swap is already mounted, but
that's the only side effect.
-Matt
More information about the Submit
mailing list