NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Some bug in libc/gen/fstab.c



When I use the file requester in Firefox or LiberOffice, and I click on
the "Recent [files]" button, these messages appear in my terminal,
and the program crashes.

soffice.bin: /etc/fstab, 9: Missing fields
soffice.bin: /etc/fstab, 8: Missing fields
soffice.bin: /etc/fstab, 8: Missing fields
soffice.bin: /etc/fstab, 9: Missing fields

These are the 2 lines from my /etc/fstab, with the very similar
surrounding lines, and I don't see any field missing...

 7 NAME=mur-swap none		swap	sw,dp,priority=10 0 0
 8 NAME=mur-usr  /usr		ffs	rw,log		 1 2
 8 NAME=mur-var  /var		ffs	rw,log,nosuid	 1 3
 9 NAME=mur-home /home		ffs	rw,log		 1 4

or in vi, with :set number list:

      7 NAME=mur-swap none^I^Iswap^Isw,dp,priority=10 0 0$
      8 NAME=mur-usr  /usr^I^Iffs^Irw,log^I^I 1 2$
      9 NAME=mur-var  /var^I^Iffs^Irw,log,nosuid^I 1 3$
     10 NAME=mur-home /home^I^Iffs^Irw,log^I^I 1 4$ 
     11 NAME=mur-tmp  /tmp^I^Iffs^Irw,log,nosuid^I 1 5$  

On the theory that the 2 spaces between the first 2 fields in lines 8
and 9 have anything to do with it, I made it just 1 space. When I
repeated the test, the complaints had moved, strangely enough:

soffice.bin: /etc/fstab, 6: Missing fields
soffice.bin: /etc/fstab, 50: Missing fields
soffice.bin: /etc/fstab, 66: Missing fields

I'm not sure what to make of this, but my fstab file seems to be of
proper format to me...

-Olaf.
-- 
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH    falu.nl@rhialto

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index