X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FFilesystems%2FFAT%2Ffat.c;fp=KernelLand%2FModules%2FFilesystems%2FFAT%2Ffat.c;h=be0a51c7f20e9a0b77e37b76a43eb7b6788ed89b;hb=e2eabccf7e2b996ca9294946607abefc11b2fefe;hp=c93049764d035ce5bb84cd910c9264382e94e397;hpb=06ef8aa250f0aaefad4fd52cb07fe5f16155dc5d;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Filesystems/FAT/fat.c b/KernelLand/Modules/Filesystems/FAT/fat.c index c9304976..be0a51c7 100644 --- a/KernelLand/Modules/Filesystems/FAT/fat.c +++ b/KernelLand/Modules/Filesystems/FAT/fat.c @@ -98,7 +98,11 @@ int FAT_Detect(int FD) if(bs.bps == 0 || bs.spc == 0) return 0; - + + Log_Debug("FAT", "_Detect: Media type = %02x", bs.mediaDesc); + if( bs.mediaDesc < 0xF0 ) + return 0; + return 1; } /**