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

Bug#336585: yaird: The fs_freq and fs_passno fields in /etc/fstab are optional



On Tue, Nov 01, 2005 at 08:36:08AM +0000, Ian Campbell wrote:
> On Mon, 2005-10-31 at 21:53 +0100, Mattia Dongili wrote:
> > On Mon, Oct 31, 2005 at 11:22:23AM +0000, Ian Campbell wrote:
> > > Package: yaird
> > > Version: 0.0.11-10
> > > Severity: normal
> > > 
> > > When running yaird I get the following:
> > >   $ sudo /usr/sbin/yaird --output /tmp/initrd 2.6.14-1-386
> > >   yaird error: malformed line in /etc/fstab:14 (fatal)
> > > this also effects the linux-image-2.6.14-1-386 package.
> > > 
> > > The problem is that I have several entries in fstab without the optional
> > > fifth and sixth fields (fs_freq and fs_passno). The comments around line
> > > 49 of /usr/lib/yaird/perl/FsTab.pm suggest that the author was aware
> > > that these were optional fields but I thought a bug report was
> > > appropriate to stop the problem falling through the cracks.
> > 
> > What about fs_mntops? I have 
> > sysfs /sys sysfs
> > /dev/hda5 /mnt/tmp0 reiser4
> > 
> > if also options are optional
> 
> fstab(5) says "It contains at least the type of mount..." which I would
> take to mean there must be at least one option. I don't know what it
> means by type here but I guess at least "defaults" should be present.

Nope. The options are options, while the type of mount is the kind of
filesyetem :

device	mountpoint	type	options	fs_freq	fs_passno

Friendly,

Sven Luther




Reply to: