LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-24-2002, 06:32 PM   #1
Rodcl
Member
 
Registered: Apr 2002
Location: Manchester, England
Distribution: Slackware 9.1
Posts: 113

Rep: Reputation: 15
[mntent]:warning: no final newline at the end of /etc/fstab


I added my cdr to the fstab
and whenever i mount it and access the cdrom i get this warning message :
no final newline at the end of /etc/fstab

i checked if there was any errors when i wrote it down but it seems fine here is my fstab config:



# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda2 / ext2 errors=remount-ro 0 1
/dev/hda3 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
/dev/cdrom1 /cdrom1 iso9660 ro,user,noauto 0 0
the one added was cdrom1
Best Regards
 
Old 08-24-2002, 08:53 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
What editor did you use to edit the file?
 
Old 08-25-2002, 04:10 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well... IS there a new line at the eend of the file???
 
Old 08-25-2002, 01:54 PM   #4
Rodcl
Member
 
Registered: Apr 2002
Location: Manchester, England
Distribution: Slackware 9.1
Posts: 113

Original Poster
Rep: Reputation: 15
Well, re-edited the fstab leaving "one new line" and now there is no complain at all!!
thanks
 
Old 08-25-2002, 02:58 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well of course it doesn't complain... that's EXACTLY what the error message said was wrong...
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get dpkg error: files list file ... missing final newline PBSchmidt Debian 9 12-11-2012 05:14 AM
warning: deprecated use of label at end of compound statement abk4523 Programming 1 03-06-2005 09:50 AM
warning: no final newline at the end of /etc/fstab Jeebizz Slackware 2 10-12-2004 02:19 PM
warning: no newline at end of file huno Programming 1 07-16-2004 09:39 AM
Warning: no newline at end of file acid_kewpie Programming 1 03-13-2002 02:53 AM


All times are GMT -5. The time now is 01:18 AM.

Main Menu
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