freebsd-dev/usr.sbin/fstyp
Ed Maste 868c1b8431 fstyp: detect Raspberry Pi Pico boot filesystem as FAT
fstyp looks for a 0x55 0xAA signature at offset 510, but this is not
required by specifications and is not proivded by the Raspberry Pi Nano
bootloader.

We should really remove the signature check and implement a more
comprehensive BPB validation instead, but it will require more
investigation and testing.  For now just add a special case for the
Raspberry Pi Nano bootloader, to avoid introducing regressions or new
false positives.

PR:		262896
Reviewed by:	delphij
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34699
2022-03-29 17:33:15 -04:00
..
tests fstyp: add BeFS support 2021-08-17 18:16:07 +02:00
apfs.c fstyp: bump WARNS to default and work around warnings 2021-09-19 13:52:12 +02:00
befs.c fstyp: add BeFS support 2021-08-17 18:16:07 +02:00
cd9660.c
exfat.c fstyp: Remove __packed from struct exfat_de_label. 2022-01-31 17:33:31 -08:00
ext2fs.c
fstyp.8 fstyp: add BeFS support 2021-08-17 18:16:07 +02:00
fstyp.c fstyp: bump WARNS to default and work around warnings 2021-09-19 13:52:12 +02:00
fstyp.h fstyp: add BeFS support 2021-08-17 18:16:07 +02:00
geli.c
hammer2_disk.h sbin/fstyp: recgonize Dragonfly's hammer and hammer2. 2019-12-24 19:00:20 +00:00
hammer2.c usr.sbin/fstyp: Fix incorrect pfs_type test in ondisk inode 2020-08-20 05:18:08 +00:00
hammer_disk.h fstyp(8): Fix a few typos in source code comments 2022-03-28 19:35:18 +02:00
hammer.c fstyp: bump WARNS to default and work around warnings 2021-09-19 13:52:12 +02:00
hfsplus.c fstyp: bump WARNS to default and work around warnings 2021-09-19 13:52:12 +02:00
Makefile zfs: merge openzfs/zfs@17b2ae0b2 (master) into main 2022-01-22 23:05:15 +01:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
msdosfs.c fstyp: detect Raspberry Pi Pico boot filesystem as FAT 2022-03-29 17:33:15 -04:00
msdosfs.h
ntfs.c fstyp: fix build WITHOUT_ICONV 2021-11-02 14:54:45 -04:00
ufs.c Move the pointers stored in the superblock into a separate 2020-06-19 01:02:53 +00:00
zfs.c Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00