@@ -221,7 +221,7 @@ impl FatVolume {
221
221
let fat_offset = cluster. 0 * 2 ;
222
222
this_fat_block_num = self . lba_start + self . fat_start . offset_bytes ( fat_offset) ;
223
223
let this_fat_ent_offset = ( fat_offset % Block :: LEN_U32 ) as usize ;
224
- trace ! ( "Reading FAT" ) ;
224
+ trace ! ( "Reading FAT for update " ) ;
225
225
block_device
226
226
. read ( & mut blocks, this_fat_block_num)
227
227
. map_err ( Error :: DeviceError ) ?;
@@ -243,7 +243,7 @@ impl FatVolume {
243
243
let fat_offset = cluster. 0 * 4 ;
244
244
this_fat_block_num = self . lba_start + self . fat_start . offset_bytes ( fat_offset) ;
245
245
let this_fat_ent_offset = ( fat_offset % Block :: LEN_U32 ) as usize ;
246
- trace ! ( "Reading FAT" ) ;
246
+ trace ! ( "Reading FAT for update " ) ;
247
247
block_device
248
248
. read ( & mut blocks, this_fat_block_num)
249
249
. map_err ( Error :: DeviceError ) ?;
@@ -263,7 +263,7 @@ impl FatVolume {
263
263
) ;
264
264
}
265
265
}
266
- trace ! ( "Writing FAT" ) ;
266
+ trace ! ( "Updating FAT" ) ;
267
267
block_device
268
268
. write ( & blocks, this_fat_block_num)
269
269
. map_err ( Error :: DeviceError ) ?;
@@ -288,7 +288,7 @@ impl FatVolume {
288
288
let fat_offset = cluster. 0 * 2 ;
289
289
let this_fat_block_num = self . lba_start + self . fat_start . offset_bytes ( fat_offset) ;
290
290
let this_fat_ent_offset = ( fat_offset % Block :: LEN_U32 ) as usize ;
291
- trace ! ( "Reading FAT" ) ;
291
+ trace ! ( "Walkng FAT" ) ;
292
292
let block = fat_block_cache. read ( block_device, this_fat_block_num) ?;
293
293
let fat_entry =
294
294
LittleEndian :: read_u16 ( & block[ this_fat_ent_offset..=this_fat_ent_offset + 1 ] ) ;
@@ -311,7 +311,7 @@ impl FatVolume {
311
311
let fat_offset = cluster. 0 * 4 ;
312
312
let this_fat_block_num = self . lba_start + self . fat_start . offset_bytes ( fat_offset) ;
313
313
let this_fat_ent_offset = ( fat_offset % Block :: LEN_U32 ) as usize ;
314
- trace ! ( "Reading FAT" ) ;
314
+ trace ! ( "Walking FAT" ) ;
315
315
let block = fat_block_cache. read ( block_device, this_fat_block_num) ?;
316
316
let fat_entry =
317
317
LittleEndian :: read_u32 ( & block[ this_fat_ent_offset..=this_fat_ent_offset + 3 ] )
@@ -586,7 +586,7 @@ impl FatVolume {
586
586
let mut block_cache = BlockCache :: empty ( ) ;
587
587
while let Some ( cluster) = current_cluster {
588
588
for block_idx in first_dir_block_num. range ( dir_size) {
589
- trace ! ( "Reading FAT " ) ;
589
+ trace ! ( "Reading directory " ) ;
590
590
let block = block_cache. read ( block_device, block_idx) ?;
591
591
for ( i, dir_entry_bytes) in block. chunks_exact ( OnDiskDirEntry :: LEN ) . enumerate ( ) {
592
592
let dir_entry = OnDiskDirEntry :: new ( dir_entry_bytes) ;
@@ -638,7 +638,7 @@ impl FatVolume {
638
638
while let Some ( cluster) = current_cluster {
639
639
let block_idx = self . cluster_to_block ( cluster) ;
640
640
for block in block_idx. range ( BlockCount ( u32:: from ( self . blocks_per_cluster ) ) ) {
641
- trace ! ( "Reading FAT " ) ;
641
+ trace ! ( "Reading directory " ) ;
642
642
block_device
643
643
. read ( & mut blocks, block)
644
644
. map_err ( Error :: DeviceError ) ?;
0 commit comments