Other Help Topics :: line in fstab is bad



Hi all,


During booting I get the following message:

Quote
[mntent]: line 3 in /etc/fstab is bad
[mntent]: line 4 in /etc/fstab is bad


The content of my /etc/fstab is:

Code Sample
/dev/hda3  /  ext2  defaults,errors=remount-ro  0  1
proc  /proc  proc  defaults  0  0
/dev/fd0  /mnt/auto/floppy  auto vfat  defaults,user,noauto,showexec,umask=022  0  0
/dev/cdrom  /mnt/auto/cdrom  auto iso9660  defaults,ro,user,noexec,noauto  0  0
# partitions found by dsl
#/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=1001,gid=50 0 0
#/dev/hda3 /mnt/hda3 ext2 noauto,users,exec 0 0
#/dev/hdg /mnt/hdg iso9660 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=1001,gid=50 0 0


Anyone seeing what's wrong here?

Help & advice are appreciated!

Nino

In lines 3 and 4, I'm guessing you can take out "vfat" and "iso9660" maybe.
Yep, one directive too much... Overlooked it and still wondering how it got there.
So thanks!
But...
alas I still get the following error when trying to mount /dev/fd0 using the mounttool:


Quote
mount: can't find /dev/fd0 in /etc/fstab or /etc/mtab


/dev/fd0 is in /etc/fstab but not in /etc/mtab. Should it be in both?

I think mtab contains the ones currently mounted - similar to just running `mount`.

Can you mount it manually?
i.e. # mount /dev/fd0 /mnt/auto/floppy

mtab: aha!

Yes, and even with mount /dev/fd0, due to fstab...
Only this *&%3#@ mounttool...

Next Page...
original here.