1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 03:07:41 +02:00

broadcom: rename the OpenWrt partition to rootfs_data

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7171 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-05-10 12:38:31 +00:00
parent cdd3f428a8
commit 38c6cb915b
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# $Id$ # $Id$
. /etc/functions.sh . /etc/functions.sh
partname="OpenWrt" partname="rootfs_data"
mtdpart="$(find_mtd_part $partname)" mtdpart="$(find_mtd_part $partname)"
rom=$(awk '/squashfs/ {print $2}' /proc/mounts) rom=$(awk '/squashfs/ {print $2}' /proc/mounts)

View File

@ -19,7 +19,7 @@ if [ "$1" != "failsafe" ]; then
is_dirty is_dirty
[ $? != 0 ] && { [ $? != 0 ] && {
echo "switching to jffs2" echo "switching to jffs2"
mount $(find_mtd_part OpenWrt) /jffs -t jffs2 mount $(find_mtd_part rootfs_data) /jffs -t jffs2
fopivot /jffs /rom fopivot /jffs /rom
} || { } || {
echo "jffs2 not ready yet; using ramdisk" echo "jffs2 not ready yet; using ramdisk"

View File

@ -158,7 +158,7 @@ static struct mtd_partition bcm947xx_parts[] = {
{ name: "linux", offset: 0, size: 0, }, { name: "linux", offset: 0, size: 0, },
{ name: "rootfs", offset: 0, size: 0, }, { name: "rootfs", offset: 0, size: 0, },
{ name: "nvram", offset: 0, size: 0, }, { name: "nvram", offset: 0, size: 0, },
{ name: "OpenWrt", offset: 0, size: 0, }, { name: "rootfs_data", offset: 0, size: 0, },
{ name: NULL, }, { name: NULL, },
}; };

View File

@ -95,7 +95,7 @@ static struct mtd_partition bcm947xx_parts[] = {
{ name: "linux", offset: 0, size: 0, }, { name: "linux", offset: 0, size: 0, },
{ name: "rootfs", offset: 0, size: 0, }, { name: "rootfs", offset: 0, size: 0, },
{ name: "nvram", offset: 0, size: 0, }, { name: "nvram", offset: 0, size: 0, },
{ name: "OpenWrt", offset: 0, size: 0, }, { name: "rootfs_data", offset: 0, size: 0, },
{ name: NULL, }, { name: NULL, },
}; };