On Wed, Mar 22, 2000 at 06:46:41AM -0800, Dzuy M. Nguyen wrote:
> I recently checked my '/etc/fstab' and found that my swap drive does not mount
> at boot.  When I check with 'df' I do not see it on the printout.

swap does not show up in df listings

> I was wondering if I should ad this command in the '/etc/fstab':
> 
> /dev/hda2 none swap sw

that does need to be in fstab for swap to be activated, but swap
partitions are not `mounted' you also need to add a 0 0 to the end of
that line like this:

/dev/hda2       none    swap    sw      0 0

> Do you need to mount the swap partition?

not like a filesystem no, but at boot swapon -a is run, which looks in
/etc/fstab to see what swap partitions you have that should be
activated, if none are found then swap is not activated and your swap
partition is unused.

you will not see swap anywhere in the filesystem however, and it is
not shown in mount or df listings. it is however shown in `free' and `top'

>  --
> Dzuy M. Nguyen
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

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

Reply via email to