HomeSort by relevance Sort by last modified time
    Searched defs:fat (Results 1 - 25 of 32) sorted by null

1 2

  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
package-info.java 20 * Contains the classes implementing the FAT(12/16/32) file system.
22 package de.waldheinz.fs.fat;
DirectoryFullException.java 19 package de.waldheinz.fs.fat;
DosUtils.java 20 package de.waldheinz.fs.fat;
26 * and the format known from DOS filesystems (e.g. fat)
FatFileSystem.java 20 package de.waldheinz.fs.fat;
29 * Implements the {@code FileSystem} interface for the FAT family of file
33 * For creating (aka "formatting") FAT file systems please refer to the
42 private final Fat fat; field in class:FatFileSystem
76 this.fat = Fat.read(bs, 0);
80 final Fat tmpFat = Fat.read(bs, i);
81 if (!fat.equals(tmpFat))
    [all...]
FatUtils.java 20 package de.waldheinz.fs.fat;
34 * Gets the offset (in bytes) of the fat with the given index
LittleEndian.java 20 package de.waldheinz.fs.fat;
ClusterChain.java 19 package de.waldheinz.fs.fat;
28 * A chain of clusters as stored in a {@link Fat}.
33 protected final Fat fat; field in class:ClusterChain
43 * @param fat the {@code Fat} that holds the new chain
46 public ClusterChain(Fat fat, boolean readOnly) {
47 this(fat, 0, readOnly);
50 public ClusterChain(Fat fat, long startCluster, boolean readOnly)
    [all...]
Dummy83BufferGenerator.java 19 package de.waldheinz.fs.fat;
SuperFloppyFormatter.java 19 package de.waldheinz.fs.fat;
27 * Allows to create FAT file systems on {@link BlockDevice}s which follow the
30 * a single FAT file system.
236 final Fat fat = Fat.create(bs, 0); local
240 rootDirStore = ClusterChainDirectory.createRoot(fat);
241 fsi.setFreeClusterCount(fat.getFreeClusterCount());
242 fsi.setLastAllocatedCluster(fat.getLastAllocatedCluster());
249 new FatLfnDirectory(rootDirStore, fat, false)
    [all...]
ClusterChainDirectory.java 20 package de.waldheinz.fs.fat;
34 * According to the FAT specification, this is the maximum size a FAT
66 public static ClusterChainDirectory createRoot(Fat fat) throws IOException {
68 if (fat.getFatType() != FatType.FAT32) {
73 final Fat32BootSector bs = (Fat32BootSector) fat.getBootSector();
74 final ClusterChain cc = new ClusterChain(fat, false);
Fat16BootSector.java 19 package de.waldheinz.fs.fat;
57 * The offset to the sectors per FAT value.
75 * Offset to the FAT file system type string.
136 * Gets the number of sectors/fat for FAT 12/16.
146 * Sets the number of sectors/fat
148 * @param v the new number of sectors per fat
Fat16RootDirectory.java 19 package de.waldheinz.fs.fat;
FatFile.java 19 package de.waldheinz.fs.fat;
30 * FAT file system.
46 static FatFile get(Fat fat, FatDirectoryEntry entry)
53 fat, entry.getStartCluster(), entry.isReadonlyFlag());
FatType.java 20 package de.waldheinz.fs.fat;
24 * FAT flavours.
146 * Returns the human-readable FAT name string as written to the
149 * @return the boot sector label for this FAT type
FsInfoSector.java 19 package de.waldheinz.fs.fat;
102 * @see Fat#getFreeClusterCount()
115 * @see Fat#getFreeClusterCount()
122 * Sets the last allocated cluster that was used in the {@link Fat}.
124 * @param value the FAT's last allocated cluster number
125 * @see Fat#getLastAllocatedCluster()
134 * Returns the last allocated cluster number of the {@link Fat} of the
138 * @see Fat#getLastAllocatedCluster()
160 setLastAllocatedCluster(Fat.FIRST_CLUSTER);
Sector.java 19 package de.waldheinz.fs.fat;
FatLfnDirectory.java 20 package de.waldheinz.fs.fat;
35 * The {@link FsDirectory} implementation for FAT file systems. This
36 * implementation aims to fully comply to the FAT specification, including
51 * directory. The FAT specification says that file names must be unique
56 private final Fat fat; field in class:FatLfnDirectory
65 FatLfnDirectory(AbstractDirectory dir, Fat fat, boolean readOnly)
70 if ((dir == null) || (fat == null)) throw new NullPointerException();
72 this.fat = fat
    [all...]
AbstractDirectory.java 20 package de.waldheinz.fs.fat;
309 public FatDirectoryEntry createSub(Fat fat) throws IOException {
310 final ClusterChain chain = new ClusterChain(fat, false);
Fat32BootSector.java 19 package de.waldheinz.fs.fat;
38 * The offset to the 4 bytes specifying the sectors per FAT value.
71 * Returns the first cluster in the FAT that contains the root directory.
FatLfnDirectoryEntry.java 20 package de.waldheinz.fs.fat;
29 * {@link FsDirectoryEntry} interface for FAT file systems, it allows access
33 * {@link #setSystemFlag(boolean) system} flags specifed for the FAT file
98 * Returns if this directory entry has the FAT "hidden" flag set.
122 * Returns if this directory entry has the FAT "system" flag set.
146 * Returns if this directory entry has the FAT "read-only" flag set. This
159 * specified by the FAT file system, which is essentially ignored by the
174 * Returns if this directory entry has the FAT "archive" flag set.
  /external/fsck_msdos/
check.c 52 * If the FAT > this size then skip comparing, lest we risk
63 struct fatEntry *fat = NULL; local
108 printf("** Phase 1 - Read FAT (compare skipped)\n");
112 printf("** Phase 1 - Read FAT\n");
115 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat);
133 mod |= comparefat(&boot, fat, currentFat, i);
136 printf("Fatal error during FAT comparison\n");
144 mod |= checkfat(&boot, fat);
146 printf("Fatal error during FAT check\n");
154 mod |= resetDosDirSection(&boot, fat);
    [all...]
fat.c 36 __RCSID("$NetBSD: fat.c,v 1.12 2000/10/10 20:24:52 is Exp $");
38 "$FreeBSD: src/sbin/fsck_msdosfs/fat.c,v 1.9 2008/01/31 13:22:13 yar Exp $";
56 * The first 2 FAT entries contain pseudo-cluster numbers with the following
88 perror("No space for FAT");
93 perror("Unable to read FAT");
98 perror("Unable to read FAT");
103 * If we don't understand the FAT, then the file system must be
138 checkclnum(struct bootblock *boot, int fat, cl_t cl, cl_t *next)
152 pwarn("Cluster %u in FAT %d continues with %s cluster number %u\n",
153 cl, fat,
209 struct fatEntry *fat; local
    [all...]
  /system/extras/fatblock/
fs.h 21 #include "fat.h"
38 fat_entry_t *fat; member in struct:fs
fs.c 22 #include "fat.h"
106 fs->fat[cluster] = htole32(entry);
138 /* Update FAT. */
164 fat_entry_t *fat; local
220 fs->fat = malloc(fs->fat_size);
221 if (!fs->fat) {
222 WARN("initializing filesystem: couldn't allocate FAT extent: "
226 memset(fs->fat, 0, fs->fat_size);
  /prebuilts/devtools/tools/lib/
fat32lib.jar 

Completed in 141 milliseconds

1 2