Jump to content

CONFIG.SYS - IFS Statements: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
 
(56 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[The Config.sys Documentation Project|Return to The Config.sys Documentation Project Main Page]]
{{CFGProject}}
IFS means "Installable File System". This are the drivers to read different file systems like FAT, FAT32 or HPFS.
IFS means "Installable File System". This are the drivers to read different file systems like FAT32 or HPFS.


=IFS=CDFS.IFS=
==Compression/Encryption==
*[[CBS.IFS]] - ZipStream
*[[SDCFS.IFS]] - Decryption


The CDFS.IFS enables support for CDROMs. Without this, you can't use your CDROM drive.
==Network File Systems==
*[[ANDREW.IFS]] - Andrew File System (AFS)
*[[EVFS.IFS]] - eComStation Virtual File System
*[[FTP.IFS]] - FTP host access
*[[MCM.IFS]] - Mobile File Synchronization
*[[NDFS.IFS]] - NetDrive for OS/2 File System
*[[NDFS32.IFS]] - NetDrive for OS/2 File System
*[[NETWKSTA.SYS]] - LAN Manager redirector
*[[NETWKSTA.200]] - IBM LAN Server
*[[NFS200.IFS]] - Network File System for TCP/IP 2.0
*[[NFS300.IFS]] - Network File System for TCP/IP > 4.1
*[[NWIFS.IFS]] - Novell NetWare File System
*[[SRVIFSC.IFS]] - IBM ThinIFS File System


IFS=C:\OS2\BOOT\CDFS.IFS [parameters]
==Optical Media==
*[[CDFS.IFS (CONFIG.SYS)|CDFS.IFS]] - CD-ROM ISO9660
*[[CDWFS.IFS]] - RSJ CD Writer
*[[HPOFS.IFS]] - High Performance Optical File System
*[[UDF.IFS]] - Universal Disk Format


Default settings:
==DASD==
*[[DUMPFS.IFS]] - Dump file system
*[[EXT2-OS2.IFS]] - Linux ext2
*[[FAT32.IFS]] - FAT32
*[[HFS.IFS]] - Macintosh HFS
*[[HPFS.IFS]] - High Performance File System
*[[HPFS386.IFS]] - 386 High Performance File System
*[[JFS.IFS (CONFIG.SYS)|JFS.IFS]] - IBM Journaling File System v2
*[[NTFS.IFS]] - Windows NT NTFS
*[[VFAT-OS2.IFS]] - VFAT


* IFS=C:\OS2\BOOT\CDFS.IFS /C:2 /M:8
==Virtual==
*[[EMSFS.IFS]] - Above 4GB RAM File System
*[[RAMFS.IFS]] - RAM File System
*[[STUBFSD.IFS]] - ISOFS, AEFS
*[[TONIGY.IFS]] - Tonigy - Multimedia CD System/2
*[[TVFS.IFS]] - Toronto Virtual File System
*[[VBOXFS.IFS]]
*[[VBOXSF.IFS]] - VirtualBox  shared folders IFS for OS/2 guest
*[[VMMAP.IFS]] - Virtual PC shared folders


Parameters:
[[Category: The Config.sys Documentation Project]]
 
* /C:value
This sets the size of the cache.
Value is expressed in blocks of 64 Kbytes.
 
* /M:value
This sets up the maximum number of file sectors read at the same time.
 
* /P:value
Defines the debug output port (COM1 or COM2).
Value can be 1 or 2
 
* /K
Enables the volume descriptor by kanji.
 
* /Q
Disables error message at boot up.
 
* /V
Shows the used settings at boot up.
 
* /W
Enables support for the Joliet CDROM format. This parameter is new with Warp 3 fixpack 32 and Warp 4 fixpack 5.
Currently not all versions of the Joliet CDROM format are supported.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=IFS=Ext2-os2.ifs=
 
The Ext2-os2.ifs driver installs support for the Linux ext2 file system. You also need following drivers installed: Ext2flt.flt , Ext2_lw.exe and Mwdd32.sys
 
  IFS=C:\OS2\fs\ext2\Ext2-os2.ifs parameters
 
Parameters:
 
All parameters are case insensitive and you can use a "/" instead of the "-". Use any logical combination of the parameters.
 
* -q
This parameter turns off the banner during boot up.
 
* -cache:value
The cache parameter sets up the maximum disk cache size. This value is the maximum amount of physical memory ext2-os2.ifs can dynamically allocate for the disk cache.
Value can be in the range from 240 to the value of the installed RAM .
This value is expressed in Kbytes.
If this parameter is not set, it defaults to 240 .
 
* -rw
Use this parameter if you want to have write access to the disk.
If this parameter is not set, you have read access only to the disk.
note: You must also enable the write access on the Ext2flt.flt driver.
 
* -no_auto-fsck
Prevents ext2-os2 from forcing Linux to run e2fsck on partitions "touched" by OS/2.
The default is to force Linux to run e2fsck.
 
* -case_retensive
This option makes the ext2 file system behave like HPFS. With this option set you can access a file by the name of the file no matter what case you use.
The default is case sensitive. That means that you can access a file only if you use the right case.
 
* -IFS trace entry point
Traces one or more specific IFS entry points. Ext2-os2.exe generates than an output whenever the specified entry point is entered.An example of this parameter would look like this: IFS=ext2-os2.ifs -FS_Copy -FS_Delete
 
Here is a list of the available entry points:
o FS_AllocatePageSpace
o FS_ChDir
o FS_ChgFilePtr
o FS_Close
o FS_Commit
o FS_Copy
o FS_Delete
o FS_DoPageIO
o FS_Exit
o FS_FileAttribute
o FS_FileInfo
o FS_FindClose
o FS_FindFirst
o FS_FindFromName
o FS_FindNext
o FS_FlushBuf
o FS_FsInfo
o FS_IOCtl
o FS_MkDir
o FS_Mount
o FS_Move
o FS_NewSize
o FS_OpenCreate
o FS_OpenPageFile
o FS_PathInfo
o FS_ProcessName
o FS_Read
o FS_RmDir
o FS_ShutDown
o FS_Write
 
* -no_strat2
Use this option to turn off the extended I/O operations. Turn the extended I/O only off, if you have any problems with it. If you use Os2dasd.dmd as your block device driver it should work fine.
If this parameter is not set up, the default is to use the extended I/O on every fixed disk.
 
* -errors=value
Here you can set up what ext2 should do when it finds an error in the file system.
Value can be panic or continue .
If set to panic the system will halts immediately. You must boot Linux and run e2fsck to repair your file system.
Use the continue option to go on with your work after an error where detected. Ext2 marks this partition as bad and forces Linux to run e2fsck on the next Linux reboot.
 
* -output=comport
Redirect the ext2 messages to the specified comport. It is only necessary for tracing or debugging
Comport can be com1 or com2 .
 
* -tz=value
Specifies the timezone in minutes from UTC (GMT). This parameter is used to have the same date and time for files as Linux.
Value can be in the range from -1440 to +1440 .
0 is the same as GMT.
 
* -force_strat2:drive-number
Ext2 normally use extended disk I/O only on fixed disk, but not on removable media. With this option set removable media can use extended disk I/O, if available. This will improve your performance. But you must first use the unmount.exe utility before you can remove the drive.
Drive-number can be in the range from 0 to 26 . A "0" for the drive-number means drive "A", a "1" means drive "B" and so on.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
 
=IFS=FAT32.ifs=
 
Gives support for the FAT32 file system under OS/2.
 
IFS=Fat32.ifs parameters
 
Parameters:
 
* /Q
Disable the messages shown at boot up.
 
* /Cache:value
Speficies the cache size in kilobytes.
Value can be in the range from 0 to 2048 . if not set it defaults to 1024 Kbytes.
 
* /Monitor
This option is needed by the Monitor.exe program.
 
* /RASectors:value
efines the numbers of sectors which should be read per read action and
 
* /EAS
Gives support for the Extended Attributes (EAs).
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=IFS=HFS.IFS=
 
Hfs-ifs is an installable file system for reading/writing Macintosh Hfs (Hierarchical File system) -Media, transparently in OS/2. Be it a floppydisc, CDom or even a harddisc. To get Hfs support you need have installed the BASEDEV=Hfsflt.flt and the RUN=Hfs.exe drivers.
 
IFS=C:\Os2\Fs\Hfs\Hfs.ifs Parameter
 
Parameters:
 
/Q
Prevents the Ifs from displaying the startup logo during the boot.
 
note: If you intend to use HFS-CDRoms you must place the Hfs.ifs line in front of the Cdfs.ifs line.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=IFS=HPFS.IFS=
 
This command installs the High Performance File System. Without this command you can't access any HPFS formatted drives.
 
IFS=C:\OS2\HPFS.IFS [parameter]
 
Parameters:
 
* /C:value or /CACHE:value
Determines the cache size.
Value can be D or in the range from 1 to 2048 .
If set to D the cache size is 10% of RAM up to the maximum of 2048 Kbytes.
Default is D
This value is expressed in Kbytes.
 
* /CRECL:value
Specifies the maximum file size to be cached. If a file is greater than this value the file is not cached.
Value can be in the range from 2 to 64 in multiplies of 2.
Default = 4
This value is expressed in Kbytes.
 
* /AC:drives
The AC parameter specifies which drives should be checked by chkdsk.exe during start up after an improper shut down. Add only the drive letter without the colon. If you want to run chkdsk.exe on a drive at every start up add a plus sign (+) in front of the drive letter.
 
* /F:level
Indicates on which level chkdsk.exe should be run.
Level can be in the range from 1 to 3 .
Default is 2
 
* /Quiet
If this option is set up, the Hpfs.ifs driver will show no error messages at boot up. This parameter can not be the last parameter!
 
* /Force
With this option set you can get access to a disk that is marked as bad and is not in the Autocheck list (the /AC: parameter). But beware there are may errors in the file system, so run chkdsk as soon as possible.
 
The following line sets up a two megabyte cache size, allows only files which are not greater than 32 Kbytes to be cached and autochecks drive C: and drive D: after an improper shut down:
IFS=C:\OS2\HPFS.IFS /CACHE:2048 /CRECL:32 /AC:CD
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=IFS=MCM.IFS=
This is the installable file system for Mobile File Synchronization (MFS).
 
IFS=C:\Mfs\Dll\Mcm.ifs
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=IFS=Netwksta.200=
 
This is the LAN Redirector. This installable file system allows File and Print Network drives to be seen as local drives.
 
IFS=C:\Ibmlan\Netprog\Netwksta.200 parameter
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=IFS=NWIFS.IFS=
 
This is the Netware installable file system and allows OS/2 to see the Netware network drives like it sees the local drives.
 
IFS=C:\Netware\Nwifs.ifs
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=IFS=TVFS.IFS=
 
The Toronto Virtual File System (TVFS) is not a filesytem with that you can format a harddisk, it is virtual. It is used to collect a selecteable amount of files and directories from different drives on one TVFS drive.
 
IFS=C:\Os2\fs\Tvfs\TVFS.IFS /LOGO
 
Parameter:
 
* /LOGO
Enables the short message at boot time.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=IFS=RAMFS.IFS=
 
Driver for a Ramdisk.
 
IFS=C:\OS2\fs\Ramfs\Ramfs.ifs
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=IFS=Vfat-os2.ifs=
 
The Vfat-os2.ifs driver installs support for the Windows Vfat file system. You need also following drivers installed: Vfat_lw.exe and Mwdd32.sys :Note. The Vfat-os2.ifs includes also support for the Linux ext2 file system. To enable it you need to add BASEDEV=EXT2FLT.FLT to your config.sys file.
 
IFS=C:\OS2\fs\Vfat\Vfat-os2.ifs parameters
 
Parameters:
 
All parameters are case insensitive and you can use a "/" instead of the "-". Use any logically combination of the parameters.
 
* -q
This parameter turns off the banner during boot up.
 
* -VFAT:value
Specifies which VFAT partition should be supported.
Value can be * , one or more drive letters or one or more drive letters with a plus sign .
To use all recognized FAT partition as VFAT you need to add this: -VFAT:*
To use a list of recognized FAT partition as VFAT you need to add the driver letters to the -VFAT: parameter. For example use drive E and F as Vfat use this option: -VFAT:EF
To force a FAT partition as VFAT when not automatically recognized add a plus sign after the drive letter: -VFAT:E+
 
* -cache:value
The cache parameter sets up the maximum disk cache size. This value is the maximum amount of physical memory Vfat-os2.ifs can dynamically allocate for the disk cache.
Value can be in the range from 240 to the value of the installed RAM .
This value is expressed in Kbytes.
If this parameter is not set it defaults to 240 .
 
* -rw
Use this parameter if you want to have write access to the disk.
If this parameter is not set you have only read access to the disk.
note: You can also use the vfat-os2.exe program to enable a limited write access.
 
* -no_auto-fsck
Only available with ext2flt.flt .
Prevents vfat-os2 from forcing Linux to run e2fsck on partitions "touched" by OS/2.
The default is to force Linux to run e2fsck.
 
* -case_retensive
ext2flt.flt .
This option makes the ext2 file system behave like HPFS. With this option set you can access a file by the name of the file no matter what case you use.
The default is case sensitive. That means that you can access a file only if you use the right case.
 
* -IFS trace entry point
Traces one or more specific IFS entry points. Vfat-os2.exe generates than an output whenever the specified entry point is entered.An example of this parameter would look like this: IFS=vfat-os2.ifs -FS_Copy -FS_Delete
 
Here is a list of the available entry points:
o FS_AllocatePageSpace
o FS_ChDir
o FS_ChgFilePtr
o FS_Close
o FS_Commit
o FS_Copy
o FS_Delete
o FS_DoPageIO
o FS_Exit
o FS_FileAttribute
o FS_FileInfo
o FS_FindClose
o FS_FindFirst
o FS_FindFromName
o FS_FindNext
o FS_FlushBuf
o FS_FsInfo
o FS_IOCtl
o FS_MkDir
o FS_Mount
o FS_Move
o FS_NewSize
o FS_OpenCreate
o FS_OpenPageFile
o FS_PathInfo
o FS_ProcessName
o FS_Read
o FS_RmDir
o FS_ShutDown
o FS_Write
 
* -no_strat2
Use this option to turn off the extended I/O operations. Turn the extended I/O only off, if you have any problems with it. If you use Os2dasd.dmd as your block device driver it should work fine.
If this parameter is not set up, the default is to use the extended I/O on every fixed disk.
 
* -errors=value
Here you can set up what vfat should do when it finds an error in the file system.
Value can be panic or continue .
If set to panic the system will halts immediately. You must boot Windows/Linux to repair your file system.
Use the continue option to go on with your work after an error where detected. Ext2 marks this partition as bad and forces Linux to run e2fsck on the next Linux reboot.
 
* -output=comport
Redirect the ext2 messages to the specified comport. It is only necessary for tracing or debugging
Comport can be com1 or com2 .
 
* -tz=value
ext2flt.flt .
Specifies the timezone in minutes from UTC (GMT). This parameter is used to have the same date and time for files as Linux.
Value can be in the range from -1440 to +1440 .
0 is the same as GMT.
 
* -force_strat2:drive-number
Vfat normally use extended disk I/O only on fixed disk, but not on removable media. With this option set removable media can use extended disk I/O, if available. This will improve your performance. But you must first use the unmount.exe utility before you can remove the drive.
Drive-number can be in the range from 0 to 26 . A "0" for the drive-number means drive "A", a "1" means drive "B" and so on.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}

Latest revision as of 07:10, 11 January 2023

The Config.sys Documentation Project
  1. BASEDEV Statements
  2. CALL Statements
  3. DEVICE Statements
  4. IFS Statements
  5. OS/2 Commands
  6. DOS Commands
  7. RUN Statements
  8. SET Statements
  9. PSD Statements
  10. Other Information
  1. Programs
  2. Hardware
  3. List of Statements

IFS means "Installable File System". This are the drivers to read different file systems like FAT32 or HPFS.

Compression/Encryption

Network File Systems

Optical Media

DASD

Virtual