DragonFly BSD
DragonFly submit List (threaded) for 2003-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: rcrun: savecore and swap1 patch


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 14 Dec 2003 18:42:03 -0800 (PST)

: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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]