[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Making a swapfile
- Subject: Re: [cobalt-users] Making a swapfile
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue Sep 10 04:28:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Tue, 10 Sep 2002, Oleg Volkov wrote:
> On Tuesday 10 September 2002 04:49, Gerald Waugh wrote:
> > #### Now fix it so the swap file gets started on boot ####
> > [root tmp]# cp /etc/rc.d/rc.sysinit /etc/rc.d/rc.sysinit.save [backup]
> > [root tmp]# vi /etc/rc.d/rc.sysinit
>
> Initialization scripts are overwritten very often during updates/upgrades.
> There is "special" configuration file for mounting filesystems
> and swaps /etc/fstab. Both startup and shutdown scripts takes care
> about swapfiles in it.
>
Yes, I thought about that as I completed the writeup.
swapon -a will setup the swaps in /etc/fstab
Gerald
--
http://frontstreetnetworks.com | http://raqware.com
229 Front Street, Ste. C, New Haven, CT. 06513-3203
Phone: +1 203-785-0699