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

Bug#336636: fails on fstab line without optional fields



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 1 Nov 2005 14:48:47 +0100
Mattia Dongili <malattia@linux.it> wrote:

> [oh! I'm readding 336636@b.d.o]
> 
> On Tue, Nov 01, 2005 at 01:53:01PM +0100, Jonas Smedegaard wrote:
> > On Tue, 1 Nov 2005 12:03:09 +0100
> > Mattia Dongili <malattia@linux.it> wrote:
> > 
> > > It's legal for mount to have such entries so I'd suggest
> > > decreasing that check.
> > 
> > How do you come to this conclusion?
> 
> do you mean the conclusion that it's legal for mount to accept
> 3-fields lines?

Right.


> simple, I can mount and umount that fs with no
> problems and the behaviour is the same as having 'defaults' as the
> only option.

Ah, so you mean "possible", not "legal".


> Anyway the point I'm trying to make is that yaird is not an fstab
> syntax checker and since mount accepts 3-fields only lines yaird
> shouldn't be so picky about it.

I agree - it just makes good sense to separate "correct parsing" and
"workarounds to avoid surprises with relaxed implementations".

 - Jonas


- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDZ3Sqn7DbMsAkQLgRAn5fAJ4mXBNH+0wFmGI8zrBmrbJt2M0cRQCfX6nc
4Uo5D7H9+N8xCXajK0t1hKs=
=SIsR
-----END PGP SIGNATURE-----



Reply to: