[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:44:02 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.
>
#### Now fix it so the swap file gets started on boot ####
#### add the following line to /etc/fstab ####
vi /etc/fstab
/home/tmp/swapfile swap swap defaults 0 0
Excuse me, forgot to add the above to my earlier response.
Gerald
--
http://frontstreetnetworks.com | http://raqware.com
229 Front Street, Ste. C, New Haven, CT. 06513-3203
Phone: +1 203-785-0699