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

Re: Mounting the Swap partition



On Wed, Mar 22, 2000 at 07:08:01PM +0100, Oswald Buddenhagen wrote:
> > In my /etc/rc.boot script, I find this line:
> > 
> > swapon -a 2>%1 | sed -e '/busy/d'
> > 
> > Is this the line that is mounting my swap partition?  Do I need
> > this line in the /etc/fstab?
> > 
> > /dev/hda2 none swap sw 0 0
> > 
> > for the rc.boot script to work?  Because if I don't have this line,
> > you say my swap partition won't be activated?
> > 
> yes, yes, yes, exactly :-)
> 
> btw: i don't know, how it is on debian, but suse works fine, if your
> swap-line is just 
> /dev/hda2 none swap

i don't know about the sw part but i think its a bad idea to leave out
the 0 0 which tells fsck and dump to ignore this partition.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


Reply to: