LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-02-2005, 03:36 PM   #1
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Rep: Reputation: 30
fstab


Can anyone show me how my fstab should look I am getting the message "no final newline at the end of mtab /etc/fstab/. I would appreciate the help. this is my fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hdc1 / ext3 defaults,errors=remount-ro 0 1 /dev/hdc5 none swap sw 0 0 /dev/hdb /media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 /dev/hdc3 /mnt/win ntfs ro,gid=100,umask=0,iocharset=iso8859-15 1 0

http://www.blingo.com/friends?ref=gR...2vQvIfp2X-9TEQ

Last edited by paul62; 12-04-2005 at 08:00 PM.
 
Old 11-02-2005, 03:57 PM   #2
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
i assume you mistyped that message a little, as there's no end " for one thing. but stick a newline at the end of file file, and you should be fine.
 
Old 11-02-2005, 03:59 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Can anyone show me how my fstab should look I am getting the message "no final newline afile:/home/paul/Desktop/fstabt the end of mtab /etc/fstab/. I would appreciate the help. this is my fstab"

You do not say what program is giving you the error message. Some editors will give you that message when the text does not end with an enter (newline). So put some enters after
/dev/hdc3 /mnt/win ntfs ro,gid=100,umask=0,iocharset=iso8859-15 1 0
and see if the error will go away.

---------------------------
Steve Stites
 
Old 11-02-2005, 04:03 PM   #4
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
BTW, in my experience, a number of GNU/Linux utils like to see a newline at the end of a text/config/whatever file. GCC will even nag you when you compile a C or C++ file that doesn't have a newline at the end.
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
What is fstab? sceadu Linux - Newbie 2 11-02-2004 07:25 PM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
Help with /etc/fstab wawosz Linux - General 3 04-24-2003 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:22 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
Open Source Consulting | Domain Registration