From owner-freebsd-fs@freebsd.org Thu Mar 11 03:23:37 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 71C625ADC4E for ; Thu, 11 Mar 2021 03:23:37 +0000 (UTC) (envelope-from joe@via.net) Received: from smtp3.via.net (smtp3.via.net [157.22.3.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "via.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DwvRX32rYz3jps for ; Thu, 11 Mar 2021 03:23:36 +0000 (UTC) (envelope-from joe@via.net) Received: from mail.via.net (mail.via.net [157.22.3.34]) by smtp3.via.net (8.15.2/8.14.1-VIANET) with ESMTPS id 12B3NYAe012491 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 10 Mar 2021 19:23:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at smtp3.via.net Received: from [209.81.2.65] ([209.81.2.65]) by mail.via.net (8.15.2/8.14.1-VIANET) with ESMTP id 12B3NXLp014294 for ; Wed, 10 Mar 2021 19:23:34 -0800 (PST) From: joe mcguckin Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: How to mount ExFAT USB drive Message-Id: Date: Wed, 10 Mar 2021 19:23:23 -0800 To: freebsd-fs@freebsd.org X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (smtp3.via.net [157.22.3.7]); Wed, 10 Mar 2021 19:23:34 -0800 (PST) X-Rspamd-Queue-Id: 4DwvRX32rYz3jps X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of joe@via.net designates 157.22.3.7 as permitted sender) smtp.mailfrom=joe@via.net X-Spamd-Result: default: False [-2.84 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[157.22.3.7:from]; FREEFALL_USER(0.00)[joe]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[157.22.3.7:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; R_SPF_ALLOW(-0.20)[+MX]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.94)[-0.941]; DMARC_NA(0.00)[via.net]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7091, ipnet:157.22.0.0/16, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-fs]; RCVD_IN_DNSWL_LOW(-0.10)[157.22.3.7:from] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2021 03:23:37 -0000 I have a 5G portable USB drive, Apple reports is as an ExFAT drive. How do I mount it on FreeBSD? I=E2=80=99ve tried the following: mount -v -t msdosfs /dev/da30p2 /t and I get the following error: /dev/diskid # mount -v -t msdosfs /dev/da30p2 /t mount_msdosfs: /dev/da30p2: Invalid argument /dev/gpt/gproot on / (ufs, local, soft-updates, writes: sync 33173 async = 3728577, reads: sync 154542 async 7901, fsid f1a571568d889ee3) # gpart list Geom name: da30 modified: false state: OK fwheads: 255 fwsectors: 63 last: 9767541133 first: 34 entries: 128 scheme: GPT Providers: 1. Name: da30p1 Mediasize: 209715200 (200M) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 efimedia: HD(1,GPT,f20455b7-8d0e-4572-a9f5-606e76f17eca,0x28,0x64000) rawuuid: f20455b7-8d0e-4572-a9f5-606e76f17eca rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b label: EFI System Partition length: 209715200 offset: 20480 type: efi index: 1 end: 409639 start: 40 2. Name: da30p2 Mediasize: 5000770093056 (4.5T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 efimedia: = HD(2,GPT,bf8062f3-aa81-4080-b5e2-ae402b4561f2,0x64800,0x2462a9000) rawuuid: bf8062f3-aa81-4080-b5e2-ae402b4561f2 rawtype: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 label: (null) length: 5000770093056 offset: 210763776 type: ms-basic-data index: 2 end: 9767540735 start: 411648 Consumers: 1. Name: da30 Mediasize: 5000981077504 (4.5T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 # dmesg ugen7.2: at usbus7 umass0 on uhub7 umass0: on = usbus7 umass0: SCSI over Bulk-Only; quirks =3D 0xc101 umass0:7:0: Attached to scbus7 da30 at umass-sim0 bus 0 scbus7 target 0 lun 0 da30: Fixed Direct Access SPC-4 SCSI device da30: Serial Number 00000000NABANLJ9 da30: 40.000MB/s transfers da30: 4769307MB (9767541167 512 byte sectors) da30: quirks=3D0x2 Joe McGuckin ViaNet Communications joe@via.net 650-207-0372 cell 650-213-1302 office 650-969-2124 fax