Re: removing swap space...only by reboot? A bug?

2003-09-08 Thread Ceri Davies
On Mon, Sep 08, 2003 at 09:30:49PM +0900, Rob Lahaye wrote:
> 
> Ceri Davies wrote:
> > On Mon, Sep 08, 2003 at 05:28:54PM +0900, Rob Lahaye wrote:
> > 
> >>"man swapon" says:
> >>
> >>BUGS
> >> There is no way to stop paging and swapping on a device.  It is 
> >> therefore
> >> not possible to dismount swap devices which are mounted during system
> >> operation.
> >>
> >>Is that still a bug?
> > 
> > 
> > That depends on which version you are running.
> > If you have 4.x or 5.0 then you're out of luck, but a recent -current has
> > the swapctl command which does what you want.
> 
> Thanks. So I'm out-of-luck with 4.8 :).

Afraid so.

> I wonder if a brief note on this could go at the end of the "adding swap space"
> section in the handbook. Something like
> 
> Removing swap space:
>   for OSversion <= 5.0 only reboot can do
> otherwise swapctl command does it on a running system.

Already added to the todo list ;)

Ceri
-- 
User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR?
Iniaes: Sure, I can accept all forms of payment.
   -- www.chatterboxchallenge.com


pgp0.pgp
Description: PGP signature


Re: removing swap space...only by reboot? A bug?

2003-09-08 Thread Rob Lahaye

Ceri Davies wrote:
> On Mon, Sep 08, 2003 at 05:28:54PM +0900, Rob Lahaye wrote:
> 
>>"man swapon" says:
>>
>>BUGS
>> There is no way to stop paging and swapping on a device.  It is 
>> therefore
>> not possible to dismount swap devices which are mounted during system
>> operation.
>>
>>Is that still a bug?
> 
> 
> That depends on which version you are running.
> If you have 4.x or 5.0 then you're out of luck, but a recent -current has
> the swapctl command which does what you want.

Thanks. So I'm out-of-luck with 4.8 :).

I wonder if a brief note on this could go at the end of the "adding swap space"
section in the handbook. Something like

Removing swap space:
for OSversion <= 5.0 only reboot can do
otherwise swapctl command does it on a running system.

Regards,
Rob.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: removing swap space...only by reboot? A bug?

2003-09-08 Thread Ceri Davies
On Mon, Sep 08, 2003 at 05:28:54PM +0900, Rob Lahaye wrote:
> 
> 
> Hi,
> 
> "man swapon" says:
> 
> BUGS
>  There is no way to stop paging and swapping on a device.  It is 
>  therefore
>  not possible to dismount swap devices which are mounted during system
>  operation.
> 
> Is that still a bug?

That depends on which version you are running.
If you have 4.x or 5.0 then you're out of luck, but a recent -current has
the swapctl command which does what you want.

Ceri

-- 
User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR?
Iniaes: Sure, I can accept all forms of payment.
   -- www.chatterboxchallenge.com


pgp0.pgp
Description: PGP signature


removing swap space...only by reboot? A bug?

2003-09-08 Thread Rob Lahaye


Hi,

"man swapon" says:

BUGS
 There is no way to stop paging and swapping on a device.  It is therefore
 not possible to dismount swap devices which are mounted during system
 operation.
Is that still a bug?

--

The Handbook explains how additional swap space can be added to a running system,
without need for reboot. I have added a swap file this way.
If I want to stop using that swap file, or use another one, that is bigger, smaller or
on another partition; how should I proceed?
Is a reboot the only way to go? Or is there a run-time command that disconnects the 
kernel
from certain swap space and allows its removal?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"