Disabling Swap Activation Message
I installed Debian Lenny on my PC (/dev/hda1) without any swap partition. I recompiled my kernel to boot without using an initrd.
Now when I boot to my base system, I still see following messages from the init scripts on my console:
Activating swap...Done
....................
.....................
Activating swapfile sawp...Done
After doing a find it seems that these messages are spitted out by scripts mountall.sh and checkroot.sh files in /etc/init.d/ directory.
My question is what is the best way to disable these messages and the associated function with those messages?
Should I just comment out the relevant swap portition in those two init files?
Here are contents of my fstab file:
# less /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 errors=remount-ro 0 1
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/etc/fstab (END)
Here is my drive structure:
debian:/etc/init.d# fdisk -l /dev/hda
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9c9a78cd
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1824 14651248+ 83 Linux
/dev/hda2 1825 5472 29302560 5 Extended
/dev/hda5 1825 3648 14651248+ 83 Linux
/dev/hda6 3649 5472 14651248+ 83 Linux
debian:/etc/init.d#
Thanks
Reply to: