Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2022 21:03:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262896] /usr/sbin/fstyp is not able to detect FAT filesystem on Raspberry Pi Pico
Message-ID:  <bug-262896-227-NI4WzmN0N5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262896-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262896-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262896

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
file says:

partition1.dd: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "MSWIN4.1",
sectors/cluster 8, root entries 512, Media descriptor 0xf8, sectors/FAT 129,
sectors/track 1, heads 1, hidden sectors 1, sectors 262143 (volumes > 32 MB=
),
serial number 0x1ae50f, label: "RPI-RP2    ", FAT (16 bit)

fstyp fails on:
        /* Check for the FAT boot sector signature. */
        if (sector0[510] !=3D 0x55 || sector0[511] !=3D 0xaa) {=20

00000000  eb 3c 90 4d 53 57 49 4e  34 2e 31 00 02 08 01 00  |.<.MSWIN4.1...=
..|
00000010  02 00 02 00 00 f8 81 00  01 00 01 00 01 00 00 00  |..............=
..|
00000020  ff ff 03 00 00 00 29 0f  e5 1a 00 52 50 49 2d 52  |......)....RPI=
-R|
00000030  50 32 20 20 20 20 46 41  54 31 36 20 20 20 eb fe  |P2    FAT16   =
..|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000080  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000000c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000000d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000000f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000100  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000120  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000130  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000001c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |..............=
..|
00000200

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262896-227-NI4WzmN0N5>