You are not logged in.
I'm trying to tweak my boot speed on the Asus eee. The root partition is formated as ext2 and I didn't create a swap partition.
Inside rc.sysinit I found the following line:
status "Activating Swap" /sbin/swapon -a
Since I have no swap partition, is it nessesary to have this line or can I just comment it out?
Offline
From "man swapon"
-a All devices marked as ``swap'' in /etc/fstab are made available,
except for those with the ``noauto'' option. Devices that are
already being used as swap are silently skipped.
So, given you have no partitions marked as swap, this is doing nothing.
Offline
Thanks, I'll just disable it then
Offline
Thanks, I'll just disable it then
I think you missed what Allan said there. You don't have to do anything at all, as that line will do nothing. It is best not to modify rc.sysinit as it isn't backed up...
Edit: and your total time savings from commenting this line out is going to be like 0.01 seconds, if that. It isn't worth it. Using a custom kernel and limiting the amount of work udev has to do would be much more effective; booting my Eee using my custom kernel takes ~12 seconds to an X login screen from hitting the power button.
Offline