Changeset cb052b4 in mainline for uspace/srv/fs/fat/fat_ops.c


Ignore:
Timestamp:
2011-04-30T08:02:46Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
875edff6
Parents:
ce8f4f4
Message:
  1. Add new macros for determining FAT32 (FAT_IS_FAT32) and change existing macros: FAT_CLST_LAST1,

FAT_CLST_LAST8, FAT_CLST_BAD to support FAT32

  1. Allow to mount FAT32 filesystem
  2. Known issue: FAT32 fs does not pass sanity checks because of support 32-bit fat_cluster_t is required.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_ops.c

    rce8f4f4 rcb052b4  
    10031003        }
    10041004
    1005         /* Return NOT SUPPORTED if try to mount FAT32  */
    1006         if (!FAT_IS_FAT12(bs) && !FAT_IS_FAT16(bs)) {
    1007                 block_fini(devmap_handle);
    1008                 async_answer_0(rid, ENOTSUP);
    1009                 return;
    1010         }
    1011 
    10121005        /* Do some simple sanity checks on the file system. */
    10131006        rc = fat_sanity_check(bs, devmap_handle);
Note: See TracChangeset for help on using the changeset viewer.