version 1.9.4.1, 2014/06/30 20:59:27
|
version 1.9.4.3, 2014/07/29 17:15:44
|
Line 33 fi
|
Line 33 fi
|
clean_fsdir() |
clean_fsdir() |
{ |
{ |
echo "+++ Clean ELWIX FS ..." |
echo "+++ Clean ELWIX FS ..." |
|
chflags -Rf nosunlink $1 |
rm -rf $1 $2 |
rm -rf $1 $2 |
} |
} |
|
|
Line 73 build_fsdir()
|
Line 74 build_fsdir()
|
install -d boot; |
install -d boot; |
# cf |
# cf |
install -d cf; |
install -d cf; |
|
case ${TARGET} in |
|
i386) |
|
# 256KB for config map |
|
dd if=/dev/zero of=cf/map.cfg bs=65536 count=4 |
|
chflags sunlink cf/map.cfg |
|
;; |
|
mips) |
|
ln -fs /dev/map/cfg cf/map.cfg |
|
;; |
|
esac |
# etc |
# etc |
install -d etc; |
install -d etc; |
install -d -o 883 -g 883 etc/mqtt; |
install -d -o 883 -g 883 etc/mqtt; |
Line 101 create_etc_fstab()
|
Line 112 create_etc_fstab()
|
/dev/ufs/elwix /elwix ufs ro 0 1 |
/dev/ufs/elwix /elwix ufs ro 0 1 |
md3 /tmp mfs rw,-s8m,-oasync,-S 0 0 |
md3 /tmp mfs rw,-s8m,-oasync,-S 0 0 |
md4 /var mfs rw,-s16m,-S 0 0 |
md4 /var mfs rw,-s16m,-S 0 0 |
|
/var/db /elwix/etc unionfs rw,noauto,-onoatime 0 0 |
_EOF |
_EOF |
} |
} |
|
|