Disk Drives and Files
Advanced User’s Guide
5-5
The
config.sys
file (refer to
) will load the
flashdsk.sys
driver to create the
C
drive and the
vdisk.sys
driver to create the
D
drive. It
will then load
decode.sys
and
cfgdev.sys
before chaining to its
counterpart on drive
C
. The
autoexec.bat
file (refer to
chain to its counterpart on drive
C
, except during a safe boot.
Figure 5-4: Config.sys File on Drive B
Figure 5-5: Autoexec.bat File on Drive B
The purpose of the
config.saf
file (refer to
) is to provide a
minimal boot configuration that preserves the flash and RAM drives. When
the safe-boot sequence is initiated (refer to page
), the
config.saf
file is processed instead of the
config.sys
file. This prevents chaining into
the drive-
C
initialization files by omitting the
NEWFILE
=
C:\CONFIG.SYS
command. It also eliminates the loading of the
decode.sys
and
cfgdev.sys
drivers.
Figure 5-6: Config.saf File on Drive B
REM ****************************************
REM Standard CONFIG.SYS for building system.
REM ****************************************
REM ***************************
REM Create flash and RAM drives
REM ***************************
DEVICE = B:\FLASHDSK.SYS 4096
DEVICE = B:=VDISK.SYS 4096 /e
REM *********************************
REM Load decode/configuration drivers
REM *********************************
DEVICE = B:\DECODE.SYS
DEVICE = B:\CFGDEV.SYS
NEWFILE = C:\CONFIG.SYS
@echo off
REM ******************************************
REM Standard AUTOEXEC.BAT for starting system.
REM ******************************************
PATH=%PATH%;B:\
C:
IF EXIST A:\CONFIG.SAF IF EXIST C:\AUTOEXEC.BAT C:\AUTOEXEC.B
advuser.book Page 5 Friday, September 27, 2002 4:22 PM