Results 1 to 5 of 5

Thread: fstab - automount

  1. #1

    fstab - automount

    Yesterday i read the changes on the newest firmware and i found this entry:
    21. Added support for /etc/fstab before automount

    But who is it working?

    I have this entry for my usb dongle:
    /dev/discs/disc1/part1 /tmp/dongle vfat defaults 0 2

    The directory dongle exists! But always when i am putting the dongle in the usb slot, it mounts on this directory:
    /dev/discs/disc1/part1 on /tmp/harddisk type vfat (rw,noatime)

    Who do i have to configure the fstab file or where to place or what to do? When i search the forum for the word fstab, there arent any usable threads or manuals for that..

    plz help
    thx alot!

  2. #2
    i'm succesfully using fstab in my router, but my devices are always connected, so it only uses it during reboots.

    Anyhow, the according to the info I found (using babelfish on the russian-forum), you should use the /dev/scsi/... instead of the /dev/discs/... like this:

    Code:
    /dev/scsi/host0/bus0/target0/lun0/part1   /tmp/dongle   vfat   defaults  0  2
    host0 is disc1
    host1 is disc2

    So it is either this, or fstab is only used while booting.

  3. #3
    It is /dev/scsi/host1/bus0/target0/lun0/part1 /tmp/hump msdos defaults
    0 2 but it would not work...

    When i write the cmd in the shell, the drive is mounted corretctl.. Maybe its just working on startup

  4. #4
    Another question is, when i write the file /etc/fstab will it be there after a reboot?!

    Maybe i have to put it into /opt/etc?


    And, when it just mounts on startup, then the text is wrong:
    "21. Added support for /etc/fstab before automount"

    Here it says before automount and automount is when i plug into a usb dongle or a hdd and not on startup!

  5. #5
    Quote Originally Posted by thE_29 View Post
    Another question is, when i write the file /etc/fstab will it be there after a reboot?!
    If you do a :
    Code:
    echo "/tmp/etc/fstab" >> /tmp/local/.files
    and save it to the flash:

    Code:
    flashfs save && flashfs commit && flashfs enable
    it will be there after a reboot.

    Quote Originally Posted by thE_29 View Post
    And, when it just mounts on startup, then the text is wrong:
    "21. Added support for /etc/fstab before automount"

    Here it says before automount and automount is when i plug into a usb dongle or a hdd and not on startup!
    Depends on how you read it...

    During startup, after initialising the usb-driver, it also performs an automount, to mount devices that are present at boot time...

Similar Threads

  1. automount USB mass storage device
    By starbright in forum WL-HDD Custom Development
    Replies: 2
    Last Post: 16-01-2007, 19:24
  2. automount nach /opt wird immer wieder durch /tmp/harddisk ersetzt
    By wagner-laessig in forum German Discussion - Deutsch (DE)
    Replies: 5
    Last Post: 02-08-2006, 17:30
  3. automount swap partition????
    By qczek in forum WL-500g Custom Development
    Replies: 3
    Last Post: 30-06-2006, 20:44

Posting Permissions

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