Linux and partition

zhaozj2021-02-11  214

Linux and partition

Linux and Partition 1. Introduction Linux kernel supports numerous file system types, currently it can read and write (at least read) Most file systems. Linux often coexist with Microsoft Windows in a system or hard disk. Linux for Windows 9X / NT The file system supports very well. Vice to use Visual C programming in Windows, you must take a look at Linux GCC-HOWTO. This article tries to give you a simple help. This document is : Liu jingwen liujw@ihepa.ac.cn latest version V0.1 and corresponding software: web site: http://www.ihepa.ac.cn/~liujw/ Currently only Chinese version can be downloaded. This HOWTO is free FREE Documentation; You can reissone and / or modify it under the FSF published GNU GPL; you can freely decide any of the versions of the applicable GPL 2.0. I hope that this file can help you. But we don't provide any guarantee, even if it is a business or a special purpose implicit guarantee. For details, please refer to GNU General Publication. This article does not affect the concept of file systems and partitions without affecting the understanding. 1 Linux Access FAT / FAT32 / NTFS partition. Linux internal nuclear response supports at least the FAT / MSDOS file system (after installation). The VFAT file system is generally compiled as module, which can be loaded with ModProbe VfAT. NTFS can be in the low version of the kernel Support. If you use 2.0.3 ?,, you need to download this ftp://sunsite.unc.edu/pub/linux/system/filesystems/ntfs.tar.gz, then Patch to the kernel Compile. FAT / VFAT partitions can be readwritable file system (RW). The NTFS partition is currently only Mount (RO) file system. 2. Microsoft Access EXT2 partition. 2.1. Ext2 Tools v1.1 Ext2 Tools is a tool package that allows you to read Linux Ext2 file systems under DOS. It consists of the following programs: E2CAT is similar to Linux CAT command E2CP Similar to Linux CD command E2LS similar to Linux L INUX LS Command E2PART List Hard Disk Partition Information E2PWD Similar to Linux PWD Command Ext2 Tools is GNU General Public License Software, Copyright (C) 1995 Claus Tondering (ct@login.dknet.dk), EXT2TOOL_1_1.zip Ftp://sunsite.unc.edu/pub/linux/system/filesystems/ext2 = Anonymous download. Now all programs have been compiled under GCC, (under DOS) Running requires GO32 DOS extension Go32.exe. Go32 .Exe is included in the release of ext2tools, as part of DJGPP, Go32.exe can also download from ftp://oak.oakland.edu/simtel/venders/djgpp. 2.1. Install Ext2 Tools [MSDoS]> MKDIR C: Ext2L> pkunzip -d ext2tool_1_1.zip> DIR 2.1.2. Run Ext2 Tools Set environment variables before running:> SET E2CWD = 129: 5 or> SET E2CWD =

129: 5: 234 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0: A Wash Drive | 0: A Welish Drive | 1: B Welling Drive | 128: First Blind Dish | 129: Second Block | _____________ Environment Variable Ensure GO32.exe in the system PATH. Run the E2LS command to list the fifth partition of the second hard disk. Run the E2PART 129 command can list the partition of the second hard disk. 2.3. Ext2 Tools can run in Microsoft Windows3X / 9X, Peter Joot (Peter@accessv.com, peeter_joot@vnet.ibm.com) Put Ext2 Tools Migrate to NT. Ext2 Tools NT Edition EXT2NT-1.06.Tar.gz can be downloaded from ftp://sunsite.unc.edu/pub/linux/utils/dos/DOS / Download, installation, and use methods. 2.1.4 exists The third hard disk (IDE) and SCSI hard drives support for the machine and different. Available or not depends on whether the system relies on interrupt 13 access hard drive. 2... Command usage # Will Translate Into Chinese soon. # Sorry for my laziness. 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:... -b Binary mode No translation performed -t Text Mode (default). LF Translated to CR / LF. E2CD ---- Synopsis E2CD Pathname Description The Pathname Must Identify An Ext2 Directory. That Directo ry is made the current working directory. NOTE E2CD is a .BAT file that creates another .BAT file (called ___ E2CD.BAT) that modifies the E2CWD envir- onment variable. It then executes ___ E2CD.BAT and deletes it. (So beware if YOU ALREADY HAVE A File Called ___ e2cd.bat.) for use with 4dos, an e2cd.btm file is also include. 4dos will use what INSTET OF E2CD.BAT. E2CP ---- Synopsis E2CP [-bt] file1 file2 dectiption 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:. -B Binary mode (default) No translation performed -t Text mode LF translated to CR / LF E2LS ---- SYNOPSIS E2LS [-adiltr] pathname ... DESCRIPTION The pathnames may... identify ext2 directories or files. Wildcard characters (*, [],?, etc.) may be used in a manner similar to what the Linux shell allows. The E2LS program provides a directory listing of the specified pathnames in a manner similar to the . Linux ls program The following options are supported: -a Include file names starting with in listing -d List only pathname, even if it is a directory -I Include inode number in listing -l Produce a long listing -..... t Sort by modification time. -r Reverse 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 Progr am is not very good at identifying MSDOS file systems. E2PWD ----- SYNOPSIS E2PWD DESCRIPTION The E2PWD program prints the current directory. 2.2. Reading software LINUX EXT2 file system under LREAD 2.3 another DOS. LREAD is GPL free software. V1.0 is developed by Jason Hunter and David Lutz. V2.x is modified by Werner Zimmermann. Lread-2.23.zip can be downloaded from ftp://sunsite.unc.edu/pub/linux/utils/dos/DOS/. 2.2. 1. Installing LREAD is very simple, as long as LREAD-2.3.zip is unwained to the corresponding directory under DOS, you will find the original code and binary LDIR and LREAD, which generally does not require compilation and configuration. Lread is in Windows 3X / 9X Can run. 2.2.3. Command Usage Command LDIR [-H | -V] [-s / dev / hd ..] [Linux_directory] lists the EXT2 Directory Options: -H Help Information -V Version Information - s Specify the hard disk partition where the directory is located, such as / dev / hda5. The default value is specified in ldir.h. Support floppy drive: / DEV / FD?

If only / dev / had or / dev / hdb is specified, the LDIR will search for the first Linux partition on this drive. It must be pointed out that if the provincial shortage is -s / dev / ..., LDIR will Use it to pre-specify the hard drive (usually / de). Using '/'. All Linux Road is sensitive with '/' (not '), support matching characters, sensitive. Command LREAD [-H | V] [-s / dev / hd ..] Linux_file [DOS_FILE] lists Linux files or copies into DOS. Options -h Help Information -V Version Information-Skin DOS_FILE legal DOS destination file name. Omitted, output to standard output ( STDOUT) On. 2.3 The most practical GPL software is fsdext2 Copyright (c) 1997 by peter van sebille. This software can only be run under Win32, you can use the corresponding Linux EXT2 partition Mount to read only the disk under Windows, use Extremely convenient. 2.3.1 Installing FSDext2 Expand 95EXT2FS.ZIP to a directory such as c: fsdext, run install.bat or direct copy-related driver to the corresponding directory: vext2d.vxd -> C: WindowsSystem TSDext2.vxd -> C: WindowsSystemiosubsys Add c: fsdext to the system PATH and restart. 2.3.2 Mount / Umount Linux EXT2 file system Run C: fsdextMount.exe command to logical partitions. Mount / dev / hdb1g An Available Partition | | __DOS logic D, E, F ... | | _________ linux, the corresponding device name * mount / UG Remove the corresponding partition 2.3.3. * Existing issues If your PC has two IDE hard drives and one IDE Optical drive. Hardware | Slot | M / S | Linux device name ----------------------- ----------------------------------------- First Hard Disk IDE0 Master / DEV / Had second hard disk IDE1 MASTER / DEV / HDC optical drive IDE1 slave / dev / hdd wants to put Linux EXT2 partition / dev / hdc1 mount to Windows 9x, you must use mount / dev / hdb1 g instead of mount / dev / hdc1 g! ! 2.3.4. Command usage (mount /?): Ext2 file system mount for Windows 95 Version 0.17 by Peter Van Sebille Usage: Mount [[DeviceName] Driverletter] [Options] Options: / R: Relax Partition ID Check When Mounting / u: unload driving / d: get current debug level / d = value: SET CURRENT Debug Level / ?: Show usage 3. Compare software Microsoft platform easy-to-use GPL ---------- -------------------------------------------------- ------ EXT2 TOOL DOS / Windows 9X / NT is LREAD DOS / Windows9x

转载请注明原文地址:https://www.9cbs.com/read-3638.html

New Post(0)