From owner-freebsd-arm@freebsd.org Thu Aug 30 14:13:04 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4173109F87E for ; Thu, 30 Aug 2018 14:13:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-3.consmr.mail.bf2.yahoo.com (sonic303-3.consmr.mail.bf2.yahoo.com [74.6.131.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 88284823AE for ; Thu, 30 Aug 2018 14:13:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 7nu_fLQVM1l_J8GsRK7S.W986w3qS4tnfWFMDKIeuxPvWH_PVQt2jz5jsQ9fiTq XAVT3v_CjuOkYzRmfmhObfGYAVDEhpOYqWMR_munjbjIkFFhjpeIZgNaiA98VNU9itVsUfBxOvb. uE.PbJmYm55Cb8E1phY_f7y9D7xcfBgM2KeaUEsVoAvSovaeUnfJ38DrTUgjqENM0gr4DMBJEVBS BsPfNbOd_sVycg5vr9.siECHhGq64zTt15UpmrVhvd3OJD61vxchWWxep0NK4Phz7SGEly5IkDey uyenoPFkngIpnKYx8qJIViAILQXY2CE71EaoI1IhzaYDbRZDEaHiETmK8NYgj099mB3HjD9xBlpZ 8JMAhl7nUPGDEvCBlZOMMTCWNdY6H2E.vpYY6mi_1tOBMFUWji6wYZqovcRDzupMxVw1F5yaGZ5r 0YjYoVNekCnf0ZMW6Pz73fn7Ebe7Tgyhmxp2298qiKdl7egqYvDZldjORGm96Mc9yanQwv9YRRLY y7SRTiN761_OtbPGlaseGjD2TjyycPm3SiU_PYhmxi8pObAWLcEs2konvy5JiOkZVVPNlXWi2UKN BfmfhzhUvdiyBkgC9TuHFVx3NevkoylgL4T1hIY9jsijZ4iFFzXfu8gnGpAY1PCudWSCF.OH7t8u ufV.v.gm0dCmhylni8V7VPwTCEB2AAvWj.5DL6RRSkjBmFWyMORtwePdfFbua64SMKxtGXd0YA3a 6zuBFMwLS8HKRhz1yC_H7WV8zMng.2Q31b5zll3kYCi.c_4I1jxZUUzeAu8x1S68N_Wk8pMn7WEU kDQz6vXEBwkU36FQoj35ZrIEK8Sp4PHXn6wd5cLmjdmN1sCXMJcLkETw3bXfQE2novruQnP8Mv9s WazUsmiLQFlbu4OAS2WT5vGbEf.hg1VsjZ6mI9hzxNZP9CZh6ipGsuZIH92YL.tsQAormVSCsLqi 6K5zrOCclNB2adJlzCgBl014sUq7_DS0Tm6h.3JKGrcha2ncAU2.5Qy16aT_WUixIn67eqddk8bF SD4zFFTDEYaw- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.bf2.yahoo.com with HTTP; Thu, 30 Aug 2018 14:12:57 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp416.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID fcd81c24d56b8303555ac168922f908c; Thu, 30 Aug 2018 14:12:52 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: FYI: how gpart show -p reports the same microsdhc card in a USB reader vs. in the microsdcard slot (on a Pine64+ 2GB) From: Mark Millard In-Reply-To: <1535637249.33841.64.camel@freebsd.org> Date: Thu, 30 Aug 2018 07:12:50 -0700 Cc: freebsd-arm Content-Transfer-Encoding: 7bit Message-Id: <59022B46-C0C8-47BC-8455-47602F3890FC@yahoo.com> References: <5769CFF2-05D3-47CA-ABFA-52786C7C3B71@yahoo.com> <1535637249.33841.64.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2018 14:13:04 -0000 On 2018-Aug-30, at 6:54 AM, Ian Lepore wrote: > On Thu, 2018-08-30 at 02:39 -0700, Mark Millard via freebsd-arm wrote: >> [I do not currently have access to any alternates to the >> Pine64+ 2GB that have a micro sdcard slot. So I can not >> say that this is specific to the Pine64+ 2GB type of >> context: no evidence for other contexts.] >> >> gpart show -p when the microsdhc card is in a USB-based >> reader: >> >> => 63 62333889 da4 MBR (30G) >> 63 16380 - free - (8.0M) >> 16443 131040 da4s1 fat32lba [active] (64M) >> 147483 997 - free - (499K) >> 148480 62185470 da4s2 freebsd (30G) >> 62333950 2 - free - (1.0K) >> >> => 0 62185470 da4s2 BSD (30G) >> 0 62185470 da4s2a freebsd-ufs (30G) >> >> => 0 62185470 ufsid/5b81680084249dc0 BSD (30G) >> 0 62185470 ufsid/5b81680084249dc0a freebsd-ufs (30G) >> >> => 0 62185470 ufs/PINE642GBrootfs BSD (30G) >> 0 62185470 ufs/PINE642GBrootfsa freebsd-ufs (30G) >> >> vs. when the same microsdhc card is in the mmcsd0 slot: >> >> => 63 62333889 mmcsd0 MBR (30G) >> 63 16380 - free - (8.0M) >> 16443 131040 mmcsd0s1 fat32lba [active] (64M) >> 147483 997 - free - (499K) >> 148480 62185470 mmcsd0s2 freebsd (30G) >> 62333950 2 - free - (1.0K) >> >> Despite what the mmcsd0 case does not show, it seems to >> work fine for the freebsd-ufs file system being the root >> file system for booting from /dev/mmcsd0 . >> >> In fact the /etc/fstab used has: >> >> /dev/ufs/PINE642GBrootfs / ufs >> rw,noatime 1 1 >> /dev/label/PINE642GBboot /boot/efi msdosfs >> rw,noatime 0 0 >> >> which show up just fine: >> >> # df -m >> Filesystem 1M-blocks Used Avail Capacity Mounted on >> /dev/ufs/PINE642GBrootfs 29400 26971 77 100% / >> devfs 0 0 0 100% /dev >> /dev/label/PINE642GBboot 63 0 63 0% /boot/efi >> >> So the freebsd-ufs content is found and used. >> > > It's all but impossible to dig any meaning out of that jumbled wall of > text, but from the subject line I surmise you're saying that an sdcard > in a usb card reader shows a different geometry or size than that same > card in a native sd slot. That's normal and expected and has always > been so. I mean that the mmcsd0 case does not show any equivalent of the: => 0 62185470 da4s2 BSD (30G) 0 62185470 da4s2a freebsd-ufs (30G) There is no explicit hint of a freebsd-ufs being present in the "freebsd" area in mmcsd0 gpart show output. (Yet it uses that area just fine.) It seemed odd to me even if it is expected for some reason. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)