fstab warning
Sep 22 16:53:55 localhost mount: [mntent]: warning: no final newline at the end of /etc/fstab
this is a warning i got when booting my RedHat 9 LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda6 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 /dev/hda10 /f vfat auto,umask=0 0 0 /dev/hda11 /g vfat auto,umask=0 0 0 above are my fstab look like.. what might be wrong? and how do i turn off those services that i dont need when booting linux?(such as sendmail, xfs and etc ) |
As root user open fstab go to the end of the last line of text and press enter to create a new blank line at the bottom, then save the file.
To stop services from running on boot simply move the relevant symlinks out of /etc/rc.d/rcX.d where X is the run level you want to stop the services at and put them in another directory - for exampe mkdir /etc/removed_services then mv /etc/rc.d/rc5.d/S20random /etc/removed_services this symlink is now not in the run-level 5 directory hence the service wont start in runlevel 5 on boot up. |
All times are GMT -5. The time now is 08:01 AM. |