309 lines
13 KiB
HTML
309 lines
13 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
|
|
<TITLE>Filesystems HOWTO: DOS FAT 12/16/32, VFAT</TITLE>
|
|
<LINK HREF="Filesystems-HOWTO-4.html" REL=next>
|
|
<LINK HREF="Filesystems-HOWTO-2.html" REL=previous>
|
|
<LINK HREF="Filesystems-HOWTO.html#toc3" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="Filesystems-HOWTO-4.html">Next</A>
|
|
<A HREF="Filesystems-HOWTO-2.html">Previous</A>
|
|
<A HREF="Filesystems-HOWTO.html#toc3">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="fat32"></A> <A NAME="fat16"></A> <A NAME="fat12"></A> <A NAME="vfat"></A> <A NAME="fat"></A> <A NAME="s3">3.</A> <A HREF="Filesystems-HOWTO.html#toc3">DOS FAT 12/16/32, VFAT</A></H2>
|
|
|
|
|
|
|
|
<H2><A NAME="ss3.1">3.1</A> <A HREF="Filesystems-HOWTO.html#toc3.1">VFAT: Long filenames</A>
|
|
</H2>
|
|
|
|
<P>Windows 95/98 and Windows NT/2000 store long filenames on FAT in special
|
|
directory entries with set attributes <B>ReadOnly</B>, <B>Hidden</B>,
|
|
<B>System</B> and <B>Volume</B>, so if you access FAT volume from DOS
|
|
you don't see these "files". These special entries have this mad structure:</P>
|
|
<P>
|
|
<PRE>
|
|
byte sequence number for slot
|
|
string(10) first 5 characters in name
|
|
byte attribute byte
|
|
byte always 0
|
|
byte checksum for 8.3 alias
|
|
string(12) 6 more characters in name
|
|
word starting cluster number, 0 in long slots
|
|
string(4) last 2 characters in name
|
|
</PRE>
|
|
</P>
|
|
<P>Problem occur when you delete or modify file with long name from system without
|
|
VFAT support, because only DOS 8+3 entry will be deleted or modified. Scandisk
|
|
from Windows 95/98 can repair this problem.</P>
|
|
|
|
|
|
<H2><A NAME="ss3.2">3.2</A> <A HREF="Filesystems-HOWTO.html#toc3.2">UMSDOS: Linux LFN/attributes on FAT filesystem</A>
|
|
</H2>
|
|
|
|
<P>Linux has it's own FAT extensions which gives you long filenames, permissions
|
|
and owners, links and special devices on FAT partition, called UMSDOS.
|
|
Each directory contains file named
|
|
<B>"--linux-.---"</B>. There are stored long names and other necessary
|
|
fields. For more information see file <B>/usr/src/linux/Documentation/filesystems/umsdos.txt</B>. Author of Linux umsdos driver is Jacques Gelinas
|
|
<
|
|
<A HREF="mailto:jacques@solucorp.qc.ca">jacques@solucorp.qc.ca</A>>
|
|
and it is currently maintained by Matija Nalis
|
|
<
|
|
<A HREF="mailto:mnalis@jagor.srce.hr">mnalis@jagor.srce.hr</A>>.</P>
|
|
|
|
|
|
<H2><A NAME="ss3.3">3.3</A> <A HREF="Filesystems-HOWTO.html#toc3.3">OS/2 Extended Attributes on FAT filesystems</A>
|
|
</H2>
|
|
|
|
<P>OS/2 Warp version 3,4 and 5 stores long filenames and extended attributes on FAT
|
|
volume in files "\ea data. sf" and "\wp root. sf" (both files are in root
|
|
directory of filesystem). AFAIK there is no known implementation of OS/2 EAs
|
|
for any other OS. If you can supply any information about EA structure, don't
|
|
hesitate to mail them to
|
|
<A HREF="mailto:mhi@penguin.cz">me</A>.</P>
|
|
|
|
|
|
<H2><A NAME="ss3.4">3.4</A> <A HREF="Filesystems-HOWTO.html#toc3.4">Star LFN</A>
|
|
</H2>
|
|
|
|
<P>Star LFN is an emulator that allows programs, running under DOS 4.0 or
|
|
above, to use the long filename functions present in Windows'95 DOS
|
|
boxes. Currently, it can only read and write long filenames from and
|
|
into a system+hidden file, which means you can't either read or write
|
|
real Windows'95 long filenames. For more information see
|
|
<A HREF="http://sta.c64.org/starlfn.html">http://sta.c64.org/starlfn.html</A>.</P>
|
|
|
|
|
|
<H2><A NAME="vfat_os2"></A> <A NAME="ss3.5">3.5</A> <A HREF="Filesystems-HOWTO.html#toc3.5">Accessing VFAT from OS/2 (VFAT-OS2) </A>
|
|
</H2>
|
|
|
|
<P>
|
|
<UL>
|
|
<LI> Homepage:
|
|
<A HREF="http://www.dsteiner.com/products/software/os2/ifs.htm">http://www.dsteiner.com/products/software/os2/ifs.htm</A></LI>
|
|
<LI> Author: Daniel Steiner <
|
|
<A HREF="mailto:info@dsteiner.com">info@dsteiner.com</A>></LI>
|
|
<LI> Access: Read-Write, no EAs supported.</LI>
|
|
<LI> Mirror:
|
|
<A HREF="ftp://hobbes.nmsu.edu/pub/os2/system/drivers/filesys/">ftp://hobbes.nmsu.edu/pub/os2/system/drivers/filesys/</A></LI>
|
|
<LI> License: GPL</LI>
|
|
</UL>
|
|
|
|
VFAT-OS2 is a package that will allow OS/2 to seamlessly access Windows
|
|
95 VFAT formatted partitions from OS/2 as if they were standard OS/2 drive
|
|
letters. The ultimate aim of this package is to be able to use the VFAT
|
|
file system as a replacement of FAT. It can now also access NTFS partitions in
|
|
read-only mode.</P>
|
|
|
|
<H2><A NAME="vfat_dos"></A> <A NAME="ss3.6">3.6</A> <A HREF="Filesystems-HOWTO.html#toc3.6">Accessing VFAT from DOS (LFNDOS driver) </A>
|
|
</H2>
|
|
|
|
<P>Some people say that Microsoft has released a driver called LFNDOS that
|
|
provides the Microsoft Long Filename API under DOS. If you know where can this
|
|
driver be downloaded, send me e-mail please.</P>
|
|
|
|
<H2><A NAME="vfat_dos3"></A> <A NAME="ss3.7">3.7</A> <A HREF="Filesystems-HOWTO.html#toc3.7">Accessing VFAT from DOS (Free LFNDOS driver) </A>
|
|
</H2>
|
|
|
|
<P>
|
|
<UL>
|
|
<LI> Homepage:
|
|
<A HREF="http://members.xoom.com/dosuser/">http://members.xoom.com/dosuser/</A></LI>
|
|
<LI> Author: Chris Jones <
|
|
<A HREF="mailto:dosuser@bigfoot.com">dosuser@bigfoot.com</A>></LI>
|
|
<LI> Access: Read-Write</LI>
|
|
<LI> Mirror:
|
|
<A HREF="http://www.simtel.net/pub/simtelnet/msdos/fileutil/lfnds106.zip">http://www.simtel.net/pub/simtelnet/msdos/fileutil/lfnds106.zip</A></LI>
|
|
<LI> License: Free, source code available</LI>
|
|
</UL>
|
|
|
|
LFNDOS provides the Windows95 Long Filename (LFN) API to DOS programs.
|
|
It uses the same format for storing the
|
|
names on disk as Windows95 does, so you can view and use long filenames under
|
|
both systems interchangeably. It runs as a memory-resident program, and while resident requires about 60k of conventional memory.</P>
|
|
|
|
<P>Under Windows95, a DOS program can use long filenames by calling a set
|
|
of interrupt functions, which Windows provides. For example, COMMAND.COM
|
|
will allow long filenames when run as a DOS Prompt from Windows, but not
|
|
if you restart in MS-DOS mode. Other programs such as EDIT.COM and all DJGPP
|
|
programs use long filenames if available.</P>
|
|
|
|
<H2><A NAME="vfat_dos3"></A> <A NAME="ss3.8">3.8</A> <A HREF="Filesystems-HOWTO.html#toc3.8">Accessing VFAT from DOS (Odi's LFN tools) </A>
|
|
</H2>
|
|
|
|
<P>
|
|
<UL>
|
|
<LI> Homepage:
|
|
<A HREF="http://odi.webjump.com/">http://odi.webjump.com/</A></LI>
|
|
<LI> Author: Ortwin Glueck <
|
|
<A HREF="mailto:glueck@freesurf.ch">glueck@freesurf.ch</A>></LI>
|
|
<LI> Access: Read-Write, only DOS utilities</LI>
|
|
<LI> Mirror:
|
|
<A HREF="http://www.simtel.net/pub/simtelnet/msdos/fileutil/lfn141.zip">http://www.simtel.net/pub/simtelnet/msdos/fileutil/lfn141.zip</A></LI>
|
|
<LI> License: ?</LI>
|
|
</UL>
|
|
|
|
These tools provide easy file management under DOS with long filenames
|
|
created by Windows 95/98 on FAT32, FAT16 and FAT12 file systems.
|
|
Typing LDIR brings up the directory with its
|
|
long filenames. Copying a file with LCOPY preserves long filenames.
|
|
You can even create directories (LMD) with long names or rename files
|
|
(LREN) with long names.</P>
|
|
|
|
|
|
<H2><A NAME="fat32_from_os2"></A> <A NAME="ss3.9">3.9</A> <A HREF="Filesystems-HOWTO.html#toc3.9">Accessing FAT32 from OS/2 (FAT32.IFS) </A>
|
|
</H2>
|
|
|
|
<P>
|
|
<UL>
|
|
<LI> Homepage:
|
|
<A HREF="http://www.os2ss.com/information/kelder/index.html">http://www.os2ss.com/information/kelder/index.html</A></LI>
|
|
<LI> Author: Henks Kelder <
|
|
<A HREF="mailto:hkelder@capgemini.nl">hkelder@capgemini.nl</A> ></LI>
|
|
<LI> Access: Read-Write, long filenames, no EAs support.</LI>
|
|
<LI> Download:
|
|
<A HREF="http://www.os2ss.com/information/kelder/os2fat32.zip">http://www.os2ss.com/information/kelder/os2fat32.zip</A></LI>
|
|
<LI> License: Free</LI>
|
|
</UL>
|
|
|
|
FAT32.IFS for OS/2 will allow you to access FAT32 partitions from OS/2. You
|
|
cannot create FAT32 partitions, you'll still need Win95 OSR2 to do that.
|
|
Also, OS/2s CHKDSK cannot fix all possible errors that can occur, you'll
|
|
have to use Windows 95 Scandisk to fix certain errors.</P>
|
|
|
|
<H2><A NAME="fat32_from_nt4"></A> <A NAME="ss3.10">3.10</A> <A HREF="Filesystems-HOWTO.html#toc3.10">Accessing FAT32 from Windows NT 4.0 </A>
|
|
</H2>
|
|
|
|
<P>
|
|
<UL>
|
|
<LI> Download:
|
|
<A HREF="http://www.chat.ru/~ashedel/fat32/fastfat32.rar">http://www.chat.ru/~ashedel/fat32/fastfat32.rar</A></LI>
|
|
<LI> Author: Anonymous</LI>
|
|
<LI> License: Free or GPL ?</LI>
|
|
</UL>
|
|
|
|
FAT32 filesystem driver for NT 4.0 and NT 3.51.</P>
|
|
|
|
|
|
<H2><A NAME="fat32_from_nt4_2"></A> <A NAME="ss3.11">3.11</A> <A HREF="Filesystems-HOWTO.html#toc3.11">Accessing FAT32 from Windows NT 4.0 </A>
|
|
</H2>
|
|
|
|
<P>
|
|
<UL>
|
|
<LI> Homepage:
|
|
<A HREF="http://www.sysinternals.com/fat32.htm">http://www.sysinternals.com/fat32.htm</A></LI>
|
|
<LI> Author: Mark Russinovich <
|
|
<A HREF="mailto:mark@sysinternals.com">mark@sysinternals.com</A>> and
|
|
Bryce Cogswell <
|
|
<A HREF="mailto:cogswell@winternals.com">cogswell@winternals.com</A>>.</LI>
|
|
<LI> Access: Read-only in free version, RW in commercial.</LI>
|
|
<LI> Download: ?</LI>
|
|
<LI> License: Free(read-only) or Commercial(read-write)</LI>
|
|
</UL>
|
|
|
|
This is a FAT32 file
|
|
system driver for Windows NT(R) 4.0. Once installed, any FAT32 drives present
|
|
on your system will be fully accessible as native Windows NT volumes. Free
|
|
version provides read-only capabilities. A read/write version is for sale.</P>
|
|
|
|
<H2><A NAME="dmsdos_from_linux"></A> <A NAME="ss3.12">3.12</A> <A HREF="Filesystems-HOWTO.html#toc3.12">Accessing Stac/Dblspaced/Drvspaced drives from Linux (DMSDOS)</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<UL>
|
|
<LI> Homepage:
|
|
<A HREF="http://fb9nt.uni-duisburg.de/mitarbeiter/gockel/software/dmsdos/">http://fb9nt.uni-duisburg.de/mitarbeiter/gockel/software/dmsdos/</A></LI>
|
|
<LI> Author: Frank Gockel
|
|
<
|
|
<A HREF="mailto:gockel@sent13.uni-duisburg.de">gockel@sent13.uni-duisburg.de</A>> and
|
|
Pavel Pisa <
|
|
<A HREF="mailto:pisa@cmp.felk.cvut.cz">pisa@cmp.felk.cvut.cz</A>></LI>
|
|
<LI> Access: Stacker, Dblspace and Drvspace in Read-Write mode,
|
|
long filenames.</LI>
|
|
<LI> Download:
|
|
<A HREF="ftp://fb9nt.uni-duisburg.de/pub/linux/dmsdos/">ftp://fb9nt.uni-duisburg.de/pub/linux/dmsdos/</A></LI>
|
|
<LI> Freshmeat: Console/Filesystems</LI>
|
|
<LI> License: GPL</LI>
|
|
</UL>
|
|
|
|
DMSDOS reads and writes compressed DOS filesystems (CVF-FAT). The following
|
|
configurations are supported:
|
|
<UL>
|
|
<LI> DoubleSpace / DriveSpace (MS-DOS 6.x)</LI>
|
|
<LI> DoubleSpace / DriveSpace (Windows 95)</LI>
|
|
<LI> DriveSpace 3 (Windows 95 with Plus! pack)</LI>
|
|
<LI> Stacker 3</LI>
|
|
<LI> Stacker 4</LI>
|
|
</UL>
|
|
|
|
It works with FAT32, NLS, codepages (tested with fat32
|
|
patches version 0.2.8 under Linux 2.0.33 and with fat32 in
|
|
standard 2.1.xx kernels and 2.0.34+35). Dmsdos can run together with vfat or
|
|
umsdos for long filenames. It has been redesigned to be ready for SMP
|
|
and should now compile completely under libc6.</P>
|
|
|
|
<H2><A NAME="dblspace_from_linux"></A> <A NAME="ss3.13">3.13</A> <A HREF="Filesystems-HOWTO.html#toc3.13">Accessing Dblspaced/Drvspaced drives from Linux (thsfs)</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<UL>
|
|
<LI> Download:
|
|
<A HREF="ftp://ftp.ai-lab.fh-furtwangen.de/pub/os/linux/local/thsfs.tgz">ftp://ftp.ai-lab.fh-furtwangen.de/pub/os/linux/local/thsfs.tgz</A></LI>
|
|
<LI> Author: Thomas Scheuermann <
|
|
<A HREF="mailto:ths@ai-lab.fh-furtwangen.de">ths@ai-lab.fh-furtwangen.de</A>></LI>
|
|
<LI> Access: Dblspace and Drvspace in Read-only mode.</LI>
|
|
<LI> License: See copyright on files. Basically free</LI>
|
|
</UL>
|
|
</P>
|
|
|
|
<H2><A NAME="fsresize"></A> <A NAME="ss3.14">3.14</A> <A HREF="Filesystems-HOWTO.html#toc3.14">Fsresize - FAT16/32 resizer</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<UL>
|
|
<LI> Homepage:
|
|
<A HREF="http://www.alphalink.com.au/~clausen/fsresize/">http://www.alphalink.com.au/~clausen/fsresize/</A></LI>
|
|
<LI> Author: Andrew Clausen <
|
|
<A HREF="mailto:clausen@alphalink.com.au">clausen@alphalink.com.au</A>></LI>
|
|
<LI> Download:
|
|
<A HREF="http://www.alphalink.com.au/~clausen/fsresize-0.8.tar.gz">http://www.alphalink.com.au/~clausen/fsresize-0.8.tar.gz</A></LI>
|
|
<LI> Freshmeat:
|
|
<A HREF="http://news.freshmeat.net/appindex/1999/01/09/915912424.html">Console/Filesystems</A></LI>
|
|
<LI> Access: Read/Write, full FAT16/FAT32 support</LI>
|
|
<LI> License: GPL</LI>
|
|
</UL>
|
|
|
|
Resizes FAT16/FAT32 filesystems. It doesn't require any other
|
|
programs (like a defrager). It has --backup and --restore
|
|
options, so if there's a power failure, (or a bug), you can
|
|
always go back. The backup files are usually < 1 meg.</P>
|
|
|
|
<P>The author probably won't be releasing any more versions of fsresize,
|
|
because he is working on parted - a Partition Magic clone. It will be
|
|
able to resize, copy, create and check filesystems/partitions.</P>
|
|
|
|
|
|
<H2><A NAME="fips"></A> <A NAME="ss3.15">3.15</A> <A HREF="Filesystems-HOWTO.html#toc3.15">FIPS - FAT16 resizer</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<UL>
|
|
<LI> Homepage: ?</LI>
|
|
<LI> Author: Arno Schaefer <
|
|
<A HREF="mailto:schaefer@rbg.informatik.th-darmstadt.de">schaefer@rbg.informatik.th-darmstadt.de</A>></LI>
|
|
<LI> Download:
|
|
<A HREF="ftp://sunsite.unc.edu/pub/Linux/system/Install/fips01alpha.tar.z">ftp://sunsite.unc.edu/pub/Linux/system/Install/fips01alpha.tar.z</A></LI>
|
|
<LI> License: GPL</LI>
|
|
</UL>
|
|
</P>
|
|
|
|
<HR>
|
|
<A HREF="Filesystems-HOWTO-4.html">Next</A>
|
|
<A HREF="Filesystems-HOWTO-2.html">Previous</A>
|
|
<A HREF="Filesystems-HOWTO.html#toc3">Contents</A>
|
|
</BODY>
|
|
</HTML>
|