I'm trying to install optware, following the guide at (http://www.dd-wrt.com/wiki/index.php/Optware)
But when i mount /jffs/opt to /opt the result is that it mounts the /jffs to /opt and not /jffs/opt
before mounting opt/
root@WRN3500L:/# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/scsi/host1/bus0/target0/lun0/part1 on /jffs type vfat (rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
after mounting opt/
root@WRN3500L:/# mount -o bind /jffs/opt /opt/
root@WRN3500L:/# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/scsi/host1/bus0/target0/lun0/part1 on /jffs type vfat (rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
/dev/scsi/host1/bus0/target0/lun0/part1 on /opt type vfat (rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
any idea why?
Just noticed that myself, must be some weird bug.
But setting the USB to auto-mount on /opt/ works, so if you're using USB you can still get it done that way. If you split your USB into several partition you can have one for /jffs and one for /opt.
Maybe the dd-wrt people forgot to include -o bind in mount when they made the build?
Could you report when you manged to get optware to work properly on WNR3500L. I managed to install it, but many of the installed binarys weren't working. (seemded to be something with the 2.6-Kernel) Which Version of dd-wrt are you using? I used those mini_ftp_usb and big from dd-wrt.org
And by the way: In the dd-wrt-Distro mount -o bind seemed to work. I managed to use at least two partitions.
Thanks.
I created two partitions and now it works.
Not that much to show. Mounted the different partitions to different points.
mount /dev/scsi/host0/bus0/target0/lun0/part1 /jffs
mount /dev/scsi/host0/bus0/target0/lun0/part2 /opt
Theged test
OptWare package system gmat test
was originally created to accompany the Unslung firmware for the NSLU2 (originally the packages were also called Unslung packages). It has since been expanded to cover a variety of other gre test
platforms, however much of the documentation hasn't been updated so you may still see references to Unslung and the NSLU2 when theisee test
information also applies to other platforms.