LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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: 56
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,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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,417

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


Reply



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 13 04-29-2023 05:55 PM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:52 AM.

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
Open Source Consulting | Domain Registration