Date: Wed, 28 Sep 2016 12:40:23 -0700 From: David Christensen <dpchrist@holgerdanske.com> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD-10.3-RELEASE-i386-memstick.img installer changes contents of USB flash drive? Message-ID: <a1ddc4ca-5081-cc77-a6a5-2194d88917c3@holgerdanske.com> In-Reply-To: <028307a7-0771-6429-d72f-f85f9530f55d@citrin.ru> References: <56532342-f2d4-377d-605b-2e1b5bfb2160@holgerdanske.com> <028307a7-0771-6429-d72f-f85f9530f55d@citrin.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09/28/2016 09:58 AM, Anton Yuzhaninov wrote: > AFIK UFS superblock is updated every time filesystem is mounted, even > if FS is mounted in read-only mode (please correct me if I wrong). On 09/28/2016 11:34 AM, Ian Smith wrote: > We discerned recently that for 10.3, i386 memstick is GPT/EFI and > amd64 is still MBR/BSD. Since only the last sector differs, perhaps > something has updated the secondary GPT during the installation, > assuming that a GPT image should already include one - or at least, > the space for one? Thank you both for the replies. Either of the two mechanisms (filesystem superblock, spare GPT partition table) might explain the symptoms. > Possibly this doesn't matter at all, but it does seem 'untidy' at > best. Changing the last block of the image on a USB flash device violates the "Principle of Least Surprise" -- I expect the installation image to be "read only"; any change indicates a corrupt image and/or media failure. > I wonder if a hardware-write-protected GPT memstick would have > issues? The last USB flash memory stick I bought with an lock/unlock switch was a Memorex 128 MB in 2006. Since then, I've bought SanDisk, and they lack a switch. STFW there are a scarce few models with switches. Here's one that also has secure firmware: https://www.kanguru.com/storage-accessories/kanguru-flashtrust-secure-firmware.shtml How do I file a bug report against FreeBSD-10.3-RELEASE-i386-memstick.img? David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a1ddc4ca-5081-cc77-a6a5-2194d88917c3>