Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    repeating line if fstab

    I have discovered that every time i boot up my computer this line is added to the end of my fstab:
    /dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0

    my current complete fstab file looks like this:

    # Pluggable devices are handled by uDev, they are not in fstab
    /dev/hda1 / ext3 defaults,noatime 1 1
    /dev/hda2 swap swap sw,pri=1 0 0
    none /proc proc defaults 0 0
    none /proc/bus/usb usbfs devmode=0666 0 0
    none /dev/pts devpts mode=0622 0 0
    none /sys sysfs defaults 0 0
    /dev/hda3 /home ext3 defaults,noatime 1 2
    /dev/cdrom /media/cdrom iso9660,udf noauto,users,exec,ro 0 0
    /dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0
    /dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0
    /dev/fd0 /media/floppy vfat,ext2 noauto,users,exec,rw 0 0

    as you can see, I have booted up 3 times, since i reinstalled mepis 6.0, before i reinstalled this line was repeated 135 times. What should I do?

  2. #2
    Linux User
    Join Date
    Jan 2007
    well, until you find the culprit, you could run something like this

    sed '/dev\/fd0/d' <fstab >F; mv F fstab

    in yr rc.local
    the sun is new every day (heraclitus)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts