dosfstools-2.9
所属分类:嵌入式Linux
开发工具:C/C++
文件大小:334KB
下载次数:89
上传日期:2011-08-02 13:56:04
上 传 者:
swhswhswhswh
说明: 用于ARM linux的fsck_fat磁盘检查工具代码,可以在用于修复FAT磁盘,包含FAT文件系统相关内容,适合学习文件系统使用
(The fsck_fat for ARM linux disk check tool code, the disk can be used to repair the FAT, FAT file system that contains relevant content for learning to use the file system)
文件列表:
dosfstools-2.9 (0, 2011-08-01)
dosfstools-2.9\CHANGES (4554, 2005-04-19)
dosfstools-2.9\Makefile (2557, 2011-08-01)
dosfstools-2.9\TODO (394, 2005-04-19)
dosfstools-2.9\cscope.out (570814, 2011-08-01)
dosfstools-2.9\dosfsck (0, 2011-08-01)
dosfstools-2.9\dosfsck\.cvsignore (8, 2005-04-19)
dosfstools-2.9\dosfsck\CHANGES (413, 2005-04-19)
dosfstools-2.9\dosfsck\COPYING (18174, 2005-04-19)
dosfstools-2.9\dosfsck\Makefile (1131, 2005-04-19)
dosfstools-2.9\dosfsck\boot.c (13354, 2005-04-19)
dosfstools-2.9\dosfsck\boot.h (252, 2005-04-19)
dosfstools-2.9\dosfsck\check.c (23464, 2005-04-19)
dosfstools-2.9\dosfsck\check.h (792, 2005-04-19)
dosfstools-2.9\dosfsck\common.c (1757, 2005-04-19)
dosfstools-2.9\dosfsck\common.h (962, 2005-04-19)
dosfstools-2.9\dosfsck\dosfsck (202783, 2005-04-19)
dosfstools-2.9\dosfsck\dosfsck.8 (5155, 2005-04-19)
dosfstools-2.9\dosfsck\dosfsck.c (4690, 2005-04-19)
dosfstools-2.9\dosfsck\dosfsck.h (5067, 2005-04-19)
dosfstools-2.9\dosfsck\fat.c (10117, 2005-04-19)
dosfstools-2.9\dosfsck\fat.h (1985, 2005-04-19)
dosfstools-2.9\dosfsck\file.c (4902, 2005-04-19)
dosfstools-2.9\dosfsck\file.h (1416, 2005-04-19)
dosfstools-2.9\dosfsck\io.c (4481, 2005-04-19)
dosfstools-2.9\dosfsck\io.h (1411, 2005-04-19)
dosfstools-2.9\dosfsck\lfn.c (13415, 2005-04-19)
dosfstools-2.9\dosfsck\lfn.h (391, 2005-04-19)
dosfstools-2.9\fsck_dos.IAB (28672, 2011-08-01)
dosfstools-2.9\fsck_dos.IAD (608, 2011-08-01)
dosfstools-2.9\fsck_dos.IMB (20480, 2011-08-01)
dosfstools-2.9\fsck_dos.IMD (528, 2011-08-01)
dosfstools-2.9\fsck_dos.PFI (84, 2011-08-01)
dosfstools-2.9\fsck_dos.PO (776, 2011-08-01)
dosfstools-2.9\fsck_dos.PR (7064, 2011-08-01)
dosfstools-2.9\fsck_dos.PRI (43016, 2011-08-01)
dosfstools-2.9\fsck_dos.PS (165632, 2011-08-01)
dosfstools-2.9\fsck_dos.WK3 (7929, 2011-08-01)
... ...
Atari format support
====================
Both mkdosfs and dosfsck now can also handle the Atari variation of
the MS-DOS filesystem format. The Atari format has some minor
differences, some caused by the different machine architecture (m68k),
some being "historic" (Atari didn't change some things that M$
changed).
Both tools automatically select Atari format if they run on an Atari.
Additionally the -A switch toggles between Atari and MS-DOS format.
I.e., on an Atari it selects plain DOS format, on any other machine it
switches to Atari format.
The differences are in detail:
- Atari TOS doesn't like cluster sizes != 2, so the usual solution
for bigger partitions was to increase the logical sector size. So
mkdosfs can handle sector sizes != 512 now, you can also manually
select it with the -S option. On filesystems larger than approx. 32
MB, the sector size is automatically increased (stead of the
cluster size) to make the filesystem fit. mkdosfs will always use 2
sectors per cluster (also with the floppy standard configurations),
except when directed otherwise on the command line.
- From the docs, all values between 0xfff8 and 0xffff in the FAT mark
an end-of-file. However, DOS usually uses 0xfff8 and Atari 0xffff.
This seems to be only an consmetic difference. At least TOS doesn't
complain about 0xffff EOF marks. Don't know what DOS thinks of
0xfff8 :-) Anyway, both tools use the EOF mark common to the
system (DOS/Atari).
- Something similar of the bad cluster marks: On Atari the FAT values
0xfff0 to 0xfff7 are used for this, under DOS only 0xfff7 (the
others can be normal cluster numbers, allowing 7 more clusters :-)
However, both systems usually mark with 0xfff7. Just dosfsck has to
interpret 0xfff0...0xfff7 differently.
- Some fields in the boot sector are interpreted differently. For
example, Atari has a disk serial number (used to aid disk change
detection) where DOS stores the system name; the 'hidden' field is
32 bit for DOS, but 16 bit for Atari, and there's no 'total_sect'
field; the 12/16 bit FAT decision is different: it's not based on
the number of clusters, but always FAT12 on floppies and FAT16 on
hard disks. mkdosfs nows about these differences and constructs the
boot sector accordingly.
- In dosfsck, the boot sector differences also have to known, to not
warn about things that are no error on Atari. In addition, most
Atari formatting tools fill the 'tracks' and 'heads' fields with 0
for hard disks, because they're meaningless on SCSI disks (Atari
has/had no IDE). Due to this, the check that they should be
non-zero is switched off.
- Under Atari TOS, some other characters are illegal in filenames:
'<', '>', '|', '"', and ':' are allowed, but all non-ASCII chars
(codes >= 128) are forbidden.
- Roman
近期下载者:
相关文件:
收藏者: