From nobody Fri Jan 12 12:23:19 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TBLL10ZFRz56jv4 for ; Fri, 12 Jan 2024 12:23:37 +0000 (UTC) (envelope-from alex@alexburke.ca) Received: from out-188.mta0.migadu.com (out-188.mta0.migadu.com [IPv6:2001:41d0:1004:224b::bc]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TBLKz3yQrz40JV for ; Fri, 12 Jan 2024 12:23:35 +0000 (UTC) (envelope-from alex@alexburke.ca) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alexburke.ca header.s=key1 header.b=b6DA9P37; dmarc=pass (policy=reject) header.from=alexburke.ca; spf=pass (mx1.freebsd.org: domain of alex@alexburke.ca designates 2001:41d0:1004:224b::bc as permitted sender) smtp.mailfrom=alex@alexburke.ca Message-ID: <1649b959-5a39-4304-bd7e-34be7dd0ae95@alexburke.ca> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexburke.ca; s=key1; t=1705062206; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nOKrQj9dVzok0et6ebtxK+4t0OlJ/yhwl3o0evEGPQs=; b=b6DA9P37A7X+xel1KDwy1MwplDCuSYaePYNzR7F4vXPmUBpAVFITNQ0/1lPD8qF2hnuX6i +nHI69hmtAa9XKbftyQJbidgOaJR2/II57cdr4XtgsHt2eQo7n8SaoItNhRQ1518IK/Qdl yPZUFyioryTa70lWM/d3WnfiT4iPhAo= Date: Fri, 12 Jan 2024 13:23:19 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: fr, es-ES, ca, en-CA To: freebsd@dreamchaser.org References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> Cc: questions@freebsd.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Alexander Burke In-Reply-To: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[alexburke.ca,reject]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:1004:224b::/64]; R_DKIM_ALLOW(-0.20)[alexburke.ca:s=key1]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[alex]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[alexburke.ca:+] X-Rspamd-Queue-Id: 4TBLKz3yQrz40JV Hello, IMHO, step one should be to repartition and format the disk with whichever tools and layout you prefer. As an added benefit, you get rid of the preloaded executable files you mention in a later message. This should also solve the problem you're experiencing. Cheers, Alex On 2024-01-10 05:40, Gary Aitken wrote: > I have a new Sandisk 1TB thumb drive, USB-A on one end, USB-C on > the other. > If I plug it into my ubuntu laptop, it mounts fine and works. > If I plug it into my fbsd box (13.2-RELEASE-p8 GENERIC amd64), > it shows up: > > usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage > device SanDisk SanDisk 3.2 Gen1 (0x0781:0x55b1) > usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage > device SanDisk SanDisk 3.2 Gen1 (0x0781:0x55b1) > ugen7.2: at usbus7 > umass0 on uhub6 > umass0: > on usbus7 > umass0:  SCSI over Bulk-Only; quirks = 0x8100 > umass0:8:0: Attached to scbus8 > da0 at umass-sim0 bus 0 scbus8 target 0 lun 0 > da0: Removable Direct Access SPC-4 > SCSI device > da0: Serial Number A2003B9717F0A406 > da0: 40.000MB/s transfers > da0: 954240MB (1954283520 512 byte sectors) > da0: quirks=0x2 > $ ls -lt /dev/da0* > crw-rw----  1 root  operator  0xc7 Jan  9 20:59 /dev/da0s1 > crw-rw----  1 root  operator  0xcc Jan  9 20:59 /dev/da0 > > but it won't mount: > > # mount.exfat /dev/da0s1 /mnt/memstick > FUSE exfat 1.4.0 (libfuse2) > fuse: failed to open fuse device: No such file or directory > $ gpart show /dev/da0 > =>        63  1954283457  da0  MBR  (932G) >           63        7489       - free -  (3.7M) >         7552  1954275968    1  ntfs  (932G) > > Am I doing something wrong, or does the factory MS formatting > need to be trashed and redone? > > If it needs to be reformatted, what's the proper procedure for a >> 32G device?  I show a newfs and newfs_msdos in /sbin, but no > newfs_ntfs. > > Thanks, > > Gary >