Changeset 3417

Show
Ignore:
Timestamp:
08/06/07 17:06:01 (1 year ago)
Author:
tg
Message:

mount mfs on /dev early on, we're using mdev for 2.6 anyway

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/base-files/Makefile

    r3405 r3417  
    1010PKG_NAME:=              base-files 
    1111PKG_VERSION:=           1.1 
    12 PKG_RELEASE:=           27 
     12PKG_RELEASE:=           28 
    1313WRKDIST=                ${WRKDIR}/base-files 
    1414NO_DISTFILES:=          1 
     
    369369${_IPKGS_COOKIE}: ${TOPDIR}/.cfg/FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U 
    370370${_IPKGS_COOKIE}: ${TOPDIR}/.cfg/FWRT_LINUX_2_6_BRCM_ASUS_WL500G_PREMIUM 
    371 ${_IPKGS_COOKIE}: ${TOPDIR}/.cfg/FWRT_LINUX_2_6_BRCM_NETGEAR_WGT634U 
    372371${_IPKGS_COOKIE}: ${TOPDIR}/.cfg/FWRT_LINUX_2_4_RB_RB532 
    373372${_IPKGS_COOKIE}: ${TOPDIR}/.cfg/FWRT_LINUX_2_6_RB_RB532 
  • trunk/freewrt/package/base-files/files/etc/preinit

    r3391 r3417  
    44mount -nt proc proc /proc 
    55if [[ ! -e /dev/null ]]; then 
    6         mount -no remount,rw / 
     6        # this is linux 2.6 only anyway, we have devfs in 2.4 
     7        mount -t tmpfs mdev /dev 
    78        # values hard-coded for Linux 
    89        mknod -m 0666 /dev/null c 1 3 
  • trunk/freewrt/target/linux/rb-2.6/files/sbin/mount_root

    r2569 r3417  
    66chmod 1777 /tmp 
    77mount -o remount,rw / 
    8 mount -o nosuid -t tmpfs mdev /dev 
     8mount | fgrep -q 'on /dev' || mount -o nosuid -t tmpfs mdev /dev 
    99mount -o nosuid,nodev,noexec -t sysfs sysfs /sys 
    1010mkdir -p /dev/pts 
  • trunk/freewrt/target/linux/x86-2.6/files/sbin/mount_root

    r2035 r3417  
    55mount none /tmp -t tmpfs -o remount,nosuid,nodev,mode=1777 
    66mount -o remount,rw / 
    7 mount -o nosuid -t tmpfs mdev /dev 
     7mount | fgrep -q 'on /dev' || mount -o nosuid -t tmpfs mdev /dev 
    88mount -o nosuid,nodev,noexec -t sysfs sysfs /sys 
    99mkdir -p /dev/pts