LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-22-2003, 06:55 AM   #1
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Rep: Reputation: 30
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 )
 
Old 09-22-2003, 07:09 AM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WARNING: /etc/fstab not working NTay5 Linux - Software 17 04-07-2005 06:36 PM
warning: no final newline at the end of /etc/fstab Jeebizz Slackware 2 10-12-2004 03:19 PM
fstab warning Gordon Slackware 5 04-15-2003 05:41 PM
WARNING: Bad format on line 10 of /etc/fstab thetwin Linux - Newbie 22 03-05-2003 01:55 AM
fstab warning on boot rogleale Linux - Newbie 3 07-20-2002 06:10 PM


All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration