Dec 062017
 
MSDOS utilities to access Linux ext2 file systems from inside DOS, freeware with source code.

Full Description of File


MSDOS utilities to access Linux ext2 file
systems from inside DOS, freeware with
source code.


File EXT2TOOL.ZIP from The Programmer’s Corner in
Category Recently Uploaded Files
MSDOS utilities to access Linux ext2 file systems from inside DOS, freeware with source code.
File Name File Size Zip Size Zip Type
COPYING 17982 6544 deflated
E2CAT.EXE 63954 24232 deflated
E2CD.BAT 88 72 deflated
E2CD2.EXE 62239 23647 deflated
E2CP.EXE 65445 24783 deflated
E2LS.EXE 81533 31801 deflated
E2PART.EXE 45990 17558 deflated
E2PWD.EXE 62218 23509 deflated
EXT2FS 0 0 stored
ALLOC.C 2884 973 deflated
BADBLOCK.C 2899 869 deflated
BB_INODE.C 6273 1823 deflated
BITMAPS.C 4396 934 deflated
BITOPS.C 1971 848 deflated
BITOPS.H 5211 1279 deflated
BLOCK.C 6286 1369 deflated
CHK_DESC.C 1687 627 deflated
CLOSEFS.C 2524 964 deflated
COM_ERR.H 24 24 stored
EXPANDIR.C 2546 954 deflated
EXT2FS.H 11798 2728 deflated
EXT2_ERR.H 4070 776 deflated
FREEFS.C 711 361 deflated
GET_PATH.C 2777 997 deflated
INIT.C 6724 2153 deflated
INLINE.C 592 314 deflated
INODE.C 6464 1472 deflated
IO.H 2091 707 deflated
LINK.C 3683 1127 deflated
LLSEEK.C 1752 669 deflated
MAKEFILE 367 227 deflated
MKDIR.C 2986 1033 deflated
NAMEI.C 4452 1417 deflated
NEWDIR.C 1276 554 deflated
OPENFS.C 3596 1296 deflated
READ_BB.C 1611 674 deflated
READ_BBF.C 1300 599 deflated
RW_BITM.C 5599 1221 deflated
FILE_ID.DIZ 97 89 deflated
GO32.EXE 78810 44668 deflated
LINUX 0 0 stored
EXT2_FS.H 16173 4025 deflated
MAKEFILE 166 81 deflated
README 5349 2129 deflated
SRC 0 0 stored
DISKIO.C 1538 564 deflated
DISKIO.H 404 199 deflated
E2CAT.C 3365 1149 deflated
E2CD2.C 2172 848 deflated
E2CP.C 3487 1188 deflated
E2ERR.C 1163 566 deflated
E2ERR.H 682 327 deflated
E2LS.C 6152 1873 deflated
E2PART.C 2036 808 deflated
E2PWD.C 2928 1008 deflated
GENHD.H 1013 395 deflated
ISTAT.H 1260 402 deflated
LDISK.C 2360 898 deflated
LDISK.H 480 239 deflated
MAKEFILE 1436 299 deflated
MSDOS_IO.C 5261 1417 deflated
PART.C 3144 1065 deflated
PART.H 923 412 deflated
SYS 0 0 stored
TYPES.H 1055 522 deflated

Download File EXT2TOOL.ZIP Here

Contents of the README file


MSDOS utilities to access Linux ext2 file
systems from inside DOS, freeware with
source code.
EXT2 TOOLS
==========

Version 1.0 - 17 May 1995


INTRODUCTION
------------

The ext2 tools are a set of programs that enable you to read a Linux
ext2 file system under DOS.

The ext2 tools consist of the following programs:

E2CAT analogous to the Linux cat command
E2CD analogous to the Linux cd command
E2CP analogous to the Linux cp command
E2LS analogous to the Linux ls command
E2PART lists hard disk partitions
E2PWD analogous to the Linux pwd command

All these programs have been compiled with GCC and require the GO32
DOS extender in order to execute.

There are currently no programs for writing to an ext2 file system and
probably never will be unless someone else would care to make them.

The programs are distributed in both binary and source code form.


COPYRIGHT
---------

The ext2 tools are copyright (C) 1995 Claus Tondering ([email protected]).

Note: The ext2fs routines are copyright (C) 1993, 1994 Theodore Ts'o.
For further copyrights, see the source code files.

The ext2 tools may be redistributed under the terms of the GNU General
Public License, which is included in the file called COPYING.

For your convenience the GO32 program has been included in this
distribution. It is part of the DJGPP distribution, which can be obtained
by anonymous FTP from oak.oakland.edu in the directory /SimTel/msdos/djgpp.


DISCLAIMER
----------

This is free software. Use it at your own risk. If it doesn't work,
it's your problem, not mine.



BASIC PRINCIPLES
----------------

Before you use the ext2 tools, you must set the environment variable
E2CWD using a statement similar to the following:

SET E2CWD=129:5
or
SET E2CWD=129:5:234

The three numbers after the equals sign are interpreted thus:

The first number (129 in the above example) identifies the physical
disk on which the ext2 file system is located. The number is used as
the second parameter to the DOS biosdisk() routine. Typical values
are:
0 for A: disk
1 for B: disk
128 for first hard disk
129 for second hard disk

(Your BIOS may use different values, especially if you have an SCSI
drive.)

The second number (5 in the above example) is the number of the disk
partition on which the ext2 file system is located. This number is
typically part of the Linux file name for the disk device. If, for
example, you are used to referring to the disk as /dev/hdb5 under
Linux, the partition number is 5. The E2PART program can help you
identify the partitions.

The third number is the inode number of the directory that is to be
your current working directory. If this number is omitted, 2 (the root
inode number) is used. If you don't know what an inode is, don't worry.
Just omit the final number from E2CWD.

Note: File names starting with / will be interpretet relative to the
root directory on the particular disk identified by the E2CWD
environment variable.

None of the programs support wildcards.

Be sure to have the GO32.EXE program somewhere in your PATH.



E2CAT
-----

SYNOPSIS
E2CAT [-bt] pathname

DESCTIPTION
The E2CAT program will copy the contents of the file identified
by ext2 pathname to the standard output.

The following options are available:

-bBinary mode. No translation performed.

-tText mode (default). LF translated to CR/LF.



E2CD
----

SYNOPSIS
E2CD pathname

DESCRIPTION
The pathname must identify an ext2 directory. That directory is
made the current working directory.

NOTE
E2CD is a .BAT file that creates another .BAT file (called
___E2CD.BAT) that modifies the E2CWD environment variable. It
then executes ___E2CD.BAT and deletes it. (So beware if you
alread have a file called ___E2CD.BAT.)

If you are using 4DOS, add the /Q switch to the DEL command in
E2CD.BAT.


E2CP
----

SYNOPSIS
E2CP [-bt] file1 file2

DESCTIPTION
The E2CP program will copy the contents of the file identified
by ext2 pathname 'file1' to the MSDOS file 'file2'.

The following options are available:

-bBinary mode (default). No translation performed.

-tText mode. LF translated to CR/LF.



E2LS
----

SYNOPSIS
E2LS [-adiltr] pathname

DESCRIPTION
The pathname must identify an ext2 directory or file. The E2LS
program provides a list of the contents of that directory in a
manner similar to the Linux ls program.

The following options are supported:

-aInclude file names starting with . in listing.
-dList only pathname, even if it is a directory.
-iInclude inode number in listing.
-lProduce a long listing.
-tSort by modification time.
-rReverse the sort order.




E2PART
------

SYNOPSIS
E2PART diskno

DESCRIPTION
The E2PART program lists the partitions that are available on a
particular physical disk. This program does not use the E2CWD
environment variable, instead the disk number is given as an
argument to the E2PART program.

BUGS
The program is not very good at identifying MSDOS file systems.




E2PWD
-----

SYNOPSIS
E2PWD

DESCRIPTION
The E2PWD program prints the current directory.




HOW TO CONTACT THE AUTHOR
-------------------------

The author can be contacted by e-mail at [email protected].


 December 6, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)