2019-02-14 04:45:39 +00:00
|
|
|
|
NEW
|
|
|
|
|
PREFIX
|
|
|
|
|
AUTO 4,1
|
|
|
|
|
#!/BIN/SH
|
|
|
|
|
#
|
|
|
|
|
# This script creates the empty dirs to hold A2osX
|
|
|
|
|
#
|
2019-04-07 02:20:39 +00:00
|
|
|
|
Echo "\f\n\n\n Enter volumne to create new A2osX file system on"
|
|
|
|
|
echo -N "\n\n Volume: "
|
2019-02-14 04:45:39 +00:00
|
|
|
|
READ fsdir
|
2019-04-07 02:20:39 +00:00
|
|
|
|
IF [ -D $fsdir ]
|
|
|
|
|
ECHO "\n\nValid Volume found"
|
|
|
|
|
ELSE
|
|
|
|
|
ECHO "\n\nCould not find Valid Volume - Exiting"
|
|
|
|
|
EXIT
|
|
|
|
|
FI
|
2019-02-14 04:45:39 +00:00
|
|
|
|
echo "\n\n Creating file system in ${fsdir}"
|
|
|
|
|
md ${fsdir}/bin
|
2019-04-07 02:20:39 +00:00
|
|
|
|
#md ${fsdir}/bin/atk
|
|
|
|
|
#md ${fsdir}/bin/dev
|
2019-02-14 04:45:39 +00:00
|
|
|
|
md ${fsdir}/drv
|
2019-04-07 02:20:39 +00:00
|
|
|
|
#md ${fsdir}/drv/gui
|
2019-02-14 04:45:39 +00:00
|
|
|
|
md ${fsdir}/etc
|
|
|
|
|
md ${fsdir}/home
|
|
|
|
|
md ${fsdir}/inc
|
|
|
|
|
md ${fsdir}/lib
|
2019-04-07 02:20:39 +00:00
|
|
|
|
#md ${fsdir}/lib/gui
|
2019-02-14 04:45:39 +00:00
|
|
|
|
md ${fsdir}/root
|
|
|
|
|
md ${fsdir}/sbin
|
2019-04-07 02:20:39 +00:00
|
|
|
|
#md ${fsdir}/sbin/gui
|
2019-02-14 04:45:39 +00:00
|
|
|
|
md ${fsdir}/srv
|
|
|
|
|
md ${fsdir}/sys
|
2019-04-07 02:20:39 +00:00
|
|
|
|
md ${fsdir}/sys/available
|
2019-02-14 04:45:39 +00:00
|
|
|
|
md ${fsdir}/tmp
|
|
|
|
|
md ${fsdir}/usr
|
2019-04-07 02:20:39 +00:00
|
|
|
|
md ${fsdir}/usr/bin
|
2019-02-14 04:45:39 +00:00
|
|
|
|
md ${fsdir}/usr/src
|
|
|
|
|
md ${fsdir}/usr/src/bin
|
|
|
|
|
md ${fsdir}/usr/src/drv
|
|
|
|
|
md ${fsdir}/usr/src/lib
|
|
|
|
|
md ${fsdir}/usr/src/sbin
|
|
|
|
|
md ${fsdir}/usr/src/sys
|
|
|
|
|
md ${fsdir}/usr/share
|
2019-04-07 02:20:39 +00:00
|
|
|
|
md ${fsdir}/usr/share/admin
|
|
|
|
|
md ${fsdir}/usr/share/examples
|
2019-02-14 04:45:39 +00:00
|
|
|
|
md ${fsdir}/usr/share/make
|
2019-04-07 02:20:39 +00:00
|
|
|
|
md ${fsdir}/usr/share/tests
|
2019-02-14 04:45:39 +00:00
|
|
|
|
md ${fsdir}/var
|
|
|
|
|
md ${fsdir}/var/log
|
|
|
|
|
MAN
|
|
|
|
|
TEXT /MAKE/USR/SHARE/MAKE/CREATEFS
|