Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: adding swap
- To: tlug@example.com
- Subject: Re: tlug: adding swap
- From: Viktor Pavlenko <pavlenko@example.com>
- Date: Thu, 28 Oct 1999 15:12:35 +0900 (JST)
- Content-Type: text/plain; charset=US-ASCII
- In-Reply-To: <199910280607.PAA01383@example.com>
- References: <199910280607.PAA01383@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Great, thanks, but: I hate seeing error messages at the boot time... ___________________________________ Viktor Pavlenko \\\ IMRglobal Tokyo >>>>> "DK" == Dmytro Koval'ov <kov@example.com> writes: >> Hi, >> >> I wanted to enable some additional swap at the boot time, so >> added the folloing line into /etc/fstab to mount my swap file: >> >> /home/swapfile none swap defaults 0 0 >> >> Since swap -a is envoked before the file systems are mounted, >> I'm getting an error at startup: DK> Hi, DK> Here is what I have (Mandrake 6.0): $ pwd /etc/rc.d $ grep -n DK> swap * rc.sysinit:54:# Start up swapping. DK> rc.sysinit:55:action "Activating swap partitions" swapon -a DK> rc.sysinit:352:# Right, now turn on swap in case we swap to DK> files. DK> rc.sysinit:353:swapon -a >/dev/null 2>&1 ^^^^ DK> rc.sysinit:354:action "Enabling swap space" /bin/true DK> $ grep -n mount * [...] rc.sysinit:276:# filesystems are NOT DK> unmounted in single user mode. rc.sysinit:277:action DK> "Mounting local filesystems" mount -a -t [...] ^^^^^ DK> swap -a invoked twice once before mounting filesystems and 2nd DK> time after. Just to ensure swaping to files. I think RedHat DK> should be the same. DK> Regards -- Dmytro DK> _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ DK> _/ Dmytro Koval'ov, mailto:kov@example.com/ DK> _/ UNIX Systems Administration _/ DK> _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ DK> You never know how many friends you have until you rent a DK> house on the beach. >> swapon: cannot stat /home/swapfile: No such file or directory >> >> And -- despite of that -- I have my swap file enabled (swapon >> -s)! (???) >> >> Is it better to enable the additional swap in >> /etc/rc.d/rc.local? >> >> Thanks. >> >> P.S. I'm running RH 6.0 ___________________________________ >> Viktor Pavlenko \\\ IMRglobal Tokyo >> >> ------------------------------------------------------------------- >> Next Technical Meeting: November 13 (Sat), 13:30 place: Temple >> Univ. * Network Security speaker: Steve Baur Next Nomikai: >> December 17 (Fri), 19:00 Tengu TokyoEkiMae 03-3275-3691 >> ------------------------------------------------------------------- >> more info: http://www.tlug.gr.jp Sponsor: Global Online Japan >> >> >> DK> ------------------------------------------------------------------- DK> Next Technical Meeting: November 13 (Sat), 13:30 place: Temple DK> Univ. * Network Security speaker: Steve Baur Next Nomikai: DK> December 17 (Fri), 19:00 Tengu TokyoEkiMae 03-3275-3691 DK> ------------------------------------------------------------------- DK> more info: http://www.tlug.gr.jp Sponsor: Global Online Japan ------------------------------------------------------------------- Next Technical Meeting: November 13 (Sat), 13:30 place: Temple Univ. * Network Security speaker: Steve Baur Next Nomikai: December 17 (Fri), 19:00 Tengu TokyoEkiMae 03-3275-3691 ------------------------------------------------------------------- more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- References:
- Re: tlug: adding swap
- From: "Dmytro Koval'ov" <kov@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: adding swap
- Next by Date: tlug: RH6.1-J officially announced
- Prev by thread: Re: tlug: adding swap
- Next by thread: tlug: RH6.1-J officially announced
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links