On Tue, 10 Mar 2009, Robert P. J. Day wrote:

>
>   ok, i know i'm about to embarrass myself by asking this but it's
> been a while since i've manually installed a package and i've
> forgotten the details.
>
>   freshly-flashed linksys WRT54GL with 8.09, scp'ed the appropriate
> "tcpdump" .ipk package file over into /tmp, now i just want to use
> "opkg" to install it, but the issue is that the rootfs is marked
> read-only and completely full:
>
> # df
> FS            1Ks     Used    Avail   Use     Mounted at
>
> rootfs                1600    1600    0       100%    /
> /dev/root     1600    1600    0       100%    /rom
> ...
> /dev/mtdblock3        1408    220     1188    16%     /jffs
> mini-fo:/jffs 1600    1600    0       100%    /
> #
>
>   obviously(?), i want to install into the jffs filesystem, taking
> advantage of the overlay filesystem, but what's the proper way to do
> that?  should i use the "-d" option of opkg, after adding the
> appropriate entry to /etc/opkg.conf?
>
>   i also vaguely remember the notion of adding an "option
> overlay_root" directive to /etc/opkg.conf.  so what's the right way to
> do this?  thanks.
>
> rday
>
> p.s.  i'm assuming that i'm trying to install into the writable free
> space in the jffs2 filesystem, i just need the right incantation that
> gets it there, at which point the overlay filesystem will kick in and
> tcpdump will appear to have been installed relative to the root,
> right?

  never mind -- apparently, adding

    option overlay_root /jffs

was the solution.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================
_______________________________________________
openwrt-users mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to