On Tuesday 17 February 2009 18:22:38 Kövesdi György wrote:
> Hi,
>
> I have Asus wl500gp, and wanted to upgrade:
> /# opkg upgrade
> and got the following message:
>  * Only have 0 available blocks on filesystem / ...
> ...
>
> the 'df' output is:
>
> Filesystem            Size  Used Avail Use% Mounted on
> rootfs                1.4M  1.4M     0 100% /
> /dev/root             1.4M  1.4M     0 100% /rom
> tmpfs                  15M  840K   14M   6% /tmp
> tmpfs                 512K     0  512K   0% /dev
> /dev/mtdblock3        5.7M  1.2M  4.5M  21% /jffs
> mini_fo:/jffs         1.4M  1.4M     0 100% /
^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is your problem.   /jffs contains all the stuff you have added to your 
FS.. 
so have a look in here at what's taking up all the room.

It's a standard 'union' type filesystem - where you have a mounted drive which 
is  readonly (this is often a compressed filesystem or a ROM filesystem), and 
you 'overlay' another mount point, which contains all the files that you 
modify.  In this case jffs2 -which is a filesystem designed for flash memory.

> /dev/sda2             3.7G 1021M  2.5G  29% /mnt/usbdrive
>
> I don't really understand the filesystem structure used on OpenWrt. AFAIK,
> the root filesystem always shows 0 available blocks, however, e.g. 1Mb
> sized files can be created in directories /, /lib, /bin, etc., using the
> 4.5M free space from /jffs. Why opkg cannot do it?
>
> Thanx in advance
> K. Gy.wrt-devel
//.ichael
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to