broadcom: rename the OpenWrt partition to rootfs_data
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 May 2007 12:38:31 +0000 (12:38 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 May 2007 12:38:31 +0000 (12:38 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7171 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/brcm-2.4/base-files/default/bin/firstboot
target/linux/brcm-2.4/base-files/default/sbin/mount_root
target/linux/brcm-2.4/files/drivers/mtd/maps/bcm947xx-flash.c
target/linux/brcm47xx-2.6/files/drivers/mtd/maps/bcm47xx-flash.c

index c3d9a64..5d37437 100755 (executable)
@@ -2,7 +2,7 @@
 # $Id$
 . /etc/functions.sh
 
-partname="OpenWrt"
+partname="rootfs_data"
 mtdpart="$(find_mtd_part $partname)"
 
 rom=$(awk '/squashfs/ {print $2}' /proc/mounts)
index 3ed1b58..a9dd276 100755 (executable)
@@ -19,7 +19,7 @@ if [ "$1" != "failsafe" ]; then
                is_dirty 
                [ $? != 0 ] && {
                        echo "switching to jffs2"
-                       mount $(find_mtd_part OpenWrt) /jffs -t jffs2
+                       mount $(find_mtd_part rootfs_data) /jffs -t jffs2
                        fopivot /jffs /rom
                } || {
                        echo "jffs2 not ready yet; using ramdisk"
index 3176eb0..1641784 100644 (file)
@@ -158,7 +158,7 @@ static struct mtd_partition bcm947xx_parts[] = {
        { name: "linux", offset: 0, size: 0, },
        { name: "rootfs", 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, },
 };
 
index bc8d887..774d4ad 100644 (file)
@@ -95,7 +95,7 @@ static struct mtd_partition bcm947xx_parts[] = {
        { name: "linux", offset: 0, size: 0, },
        { name: "rootfs", 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, },
 };
 
This page took 0.030206 seconds and 4 git commands to generate.