[svlug] Fstab and swaps

Daevid Vincent daevid at daevid.com
Sun Aug 25 00:30:57 PDT 2002


I put in a new HD today and noticed some things in fstab.

[root at daevid /]# cat /etc/fstab
LABEL=/                 /                       ext3    defaults
1 1
none                    /dev/pts                devpts  gid=5,mode=620
0 0
/dev/hda3               /home                   ext3    defaults
1 2
none                    /proc                   proc    defaults
0 0
none                    /dev/shm                tmpfs   defaults
0 0
/dev/hda2               swap                    swap    defaults
0 0
/dev/fd0                /mnt/floppy             auto
noauto,owner,kudzu 0 0
/dev/cdrom              /mnt/cdrom              iso9660
noauto,owner,kudzu,ro 0 0
/dev/hdb1               /backups                ext3    defaults
1 2
/SWAP                   swap                    swap    defaults
0 0
/dev/hdd1               /MP3                    auto    defaults
1 2

Why do I have these TWO lines. Is one not needed?
/SWAP                   swap                    swap    defaults
0 0
/dev/hda2               swap                    swap    defaults
0 0

And consequently I have a file:
[root at daevid /]# ll /SWAP
-rwxr-xr-x    1 root     root     270532608 Jun  3 13:31 /SWAP

Can I delete that line and that file? Is RH7.3 using both swaps?






More information about the svlug mailing list