Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: Ubuntu not using the swap partition

Ioannis Vranos

2008-03-26

Replies:

Author LoginPost Reply
Derek Broughton wrote:
>>
>> Well, previously I used CentOS & Scientific Linux, and "df" showed the
>> swap partition there. It looks like this isn't the case with Ubuntu Linux.
>
> I don't think so:
>
> [derek@(protected)
> CentOS release 4.6 (Final)
> Kernel \r on an \m
>
> [derek@(protected)
> Filesystem       1K-blocks    Used Available Use% Mounted on
> /dev/md0         20161084 13561020  5575928 71% /
> none             2537828      0  2537828  0% /dev/shm
> /dev/md2         218130980 27003928 180046624 14% /home
>
> As somebody else pointed out, since swap isn't a filesystem, it shouldn't
> appear in df - even in CentOS.
>
> As long as you have an entry in /etc/fstab like:
>  <SOMETHING> none swap sw 0 0
> you're fine. <SOMETHING> will probably be a UUID= string, as it was created
> by the installer, but could just as easily be /dev/hdc1


As I said, this was the case with my SL 5.x/CentOS 5.x x86
installations. I do not remember for sure regarding my previous SL 4.x
x86 installation.

--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.