how to mount sd card to root on tomato-slodki-ND-1.28.02 ?

Discussion in 'Tomato Firmware' started by samsara00, May 19, 2011.

  1. samsara00

    samsara00 Addicted to LI Member

    Hi,
    I want to mount my sd card to the root directory or to say I want to save the log files and the webmon logs to the sd card.
    how to do so?
    If I type "mount /mmc/ / " the filesize of the mmc is the same size as /dev/root/ (3.2MB) instead of 3.6 GB from the sd.

    I tried it with this init script which I found in the forum, but it doesnt work for me
    Code:
    sleep 15s
    mount "$boot_dev" /mmc
    [ -x /mmc/sbin/init ] && {
            mount -o move /proc /mmc/proc && \
            pivot_root /mmc /mmc/mmc && {
                    mount -o move /mmc/dev /dev
                    mount -o move /mmc/tmp /tmp
                    mount -o move /mmc/jffs2 /jffs2 2>&-
                    mount -o move /mmc/sys /sys 2>&-
            }
    }
    exec /bin/busybox init
    When I reboot the Router I can access the GUI for a short Time and then it wont respond anymore. Furthermore the Total / Free Memory shows just "??"
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice