On Thursday 30 January 2003 7:57 pm, Doug Weeks wrote:
and made the link on the kde desktop but get the error message: [mntent]: warning: no final newline at the end of /etc/fstab
Any ideas, what is a final newline, I know it exist cause I checked the partitions
"newline" is Unix's fancy way of saying "enter" [carraige return] -- it is actually pretty tough to NOT have a final "newline" in a file because most people's tendancy is to press <enter> after adding stuff to a file, even if only one line. If you used something like "vi", however I can see how this could happen -- you run the cursor to the end of the file, press the letter "A" for "append (at the end of the line since this is an upper case 'a')", pressed "<enter>" to get to the start of the new line, type in the stuff you want to add, then BEFORE actually pressing <enter> again, you press <esc> to get out of insert/append mode, then colon (:) to get a command line, and "wq" to write-and-quit. If you look at the resulting file at the bit-n-byte level, you'll see that (basically) the last character in the file is NOT "0x0D" [hex for character 13 -- a carraige return] [or is it "0x0A", line feed? I can never remember whether it is DOS or Unix that really wants both characters CR and LF to specify a "new line"] and that is what mount is complaining about.