From nobody Thu Jan 11 03:55:36 2024 X-Original-To: freebsd-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 4T9W741p38z562Cl for ; Thu, 11 Jan 2024 03:56:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9W734hlzz4qdd for ; Thu, 11 Jan 2024 03:56:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; none Received: from terra.edvax.de ([178.12.32.216]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N5UoU-1r7stS2Dr0-016ujE; Thu, 11 Jan 2024 04:55:48 +0100 Received: from r56.edvax.de (r56 [10.200.1.11]) (authenticated bits=0) by terra.edvax.de (8.17.1/8.17.1) with ESMTPA id 40B3tf7C009048; Thu, 11 Jan 2024 04:55:41 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 11 Jan 2024 04:55:36 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: Souji Thenria , FreeBSD Mailing List Subject: Re: Problem mounting new Sandisk 1TB USB drive Message-Id: <20240111045536.ce4bc3d9.freebsd@edvax.de> In-Reply-To: <848c3325-4dfe-4508-ab47-80a6f2925a26@dreamchaser.org> References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> <20240110233304.7a8b7f10.freebsd@edvax.de> <1d60d68a-3569-4054-a460-41c5dd422a42@dreamchaser.org> <20240111014215.d25a19f3.freebsd@edvax.de> <848c3325-4dfe-4508-ab47-80a6f2925a26@dreamchaser.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:/TdRFX7pDdvKTuUtajWQQiXT0/fG/bOiKPiA1RaoRpYKm6kKQaG JqwZ7Rrhi3YRUU0TrCl8RadXDfw7LVk4rHv42e8I/5CEynhixLZvchQacMfMAoq0oxcQ5aj RkEVwxkAzDoc+3EbbWGOBFajGQjJPr/BwARgHQ5HJe/0qExY8L6E6XgoRpvsRbEGxrnGCu0 7qdG+Ym+JzC7+NlL1k/IQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Ah6fobMDKJU=;LBpXRB2mlI8sOiM0EX29ONJsnUf GzcxJknGSgwHzX5HFe0q5yyarps+/DuoNowOx+fMuiWsLdI7+IYHkxoKTSpg127ZEAEOuNs1E 9as34hVzDbtNnftWbQy70WztihviML3nhCLGMzd5c730DxxgFyteuTt40tuh4okAYsZUP2jB2 UGsH2l+5XNpfENNInx1BXUjsF01/SFvI8YZ3D/8TRK5e53MkzHMEpZQ2sBFkatdxOt1UYxJ9K zbv43E29gLvF9dcac3JgFtqsJBJ4d+N4nesrummVm2bGMkyAGXZhgLtXKK9MR3rznu6hYF81s R5BdzsKzjhauTXTCvsMirLScKGIo1Bc/BUWHv2E1iHOvvBKjB233LrmuISuu7YHpcUvxI82f0 HHw6OJotsIZvTyF1e/h08otobGGrPbshPp65JzBXwKQUcd7nwFlvszdreP+kVp7mis9I9Ngms Ny9IM/pQvlT8ilpvq2YS2TujnxM65mw8jVhs89A/pwVVwH/37kMC57SXquhLJZU5s43/0dbJ1 hIw3tsrzLQFCEGh3GVRnldhDDFJvZHPwE0krMslsOR1+XOaFYRSPb+0YJT3DpYMg/fX5wxDml FwpqtOZ7ng5AJgMM6r9paXOKfwSpQ1W16iEhcUvlUeKHdiHifYj3CdrMhC7g0VQUxdVL+EWBa ovLoyVLPBM3YkBp1zWIGBpNjVhPDoV8Q/jIGmr7dxLJ4YCSTCtAExdRMb31LQ0cPLPYaZJymc 6zP4AHcJOMDfv7/JI2K3eF6V1G38jH2fYvVdJjHY055UFYqaPQavxBXfh6YAToldUMT5alYu6 U7K6oWiapCuFT10eAfS+NjEmCoVi2GOOHUS9X1h2cq/Sepws8r6bpbOm/MmBc6pZL0OG9UWTn F6IwSxfmiHvKxYwlgjHIAZhJzf2++dgd6W0M= X-Rspamd-Queue-Id: 4T9W734hlzz4qdd X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] On Wed, 10 Jan 2024 20:34:04 -0700, Gary Aitken wrote: > On 1/10/24 17:42, Polytropon wrote: > > On Wed, 10 Jan 2024 16:42:22 -0700, Gary Aitken wrote: > [...] > >>> 2. Mount device manually, read-only, perform checks, then > >>> unmount again: > >>> > >>> # mount.exfat -o ro /dev/da0s1 /mnt/memstick > >>> # df -f /mnt/memstick > >>> # ls -R /mnt/memstick > >>> # umount /mnt/memstick > >> > >> What was the intent of the df -f (-f => invalid option)? > > > > Should have been "df -h". :-) > > > > Intention: Compare "dmesg" entry (device reporting size) > > with filesystem size, and then compare to what's written > > on the device itself. > > Ok, df -h makes sense, but I don't understand the ls -R now. > I don't see anything comparable to df -h output. It's just a very simple test to see if existing directory structures can be traversed correctly, nothing more. It's a hint to filesystem integrity. So just a few basic tests if the mount has worked as intended (and you have free space on the device and there is something on it, ideally something you _expect_ to be there). > >> So all is well, thanks, but one question not addressed: > >> Given that FUSE_ENABLE="YES" is present in rc.conf, > >> why is kldlist="fusefs" still needed? > > > > Personally, I am explicit instead of relying on "chains" > > here: I put fuse_enable="YES" in /boot/loader.conf and > > have the correct module loaded. Simple things need to > > be simple and kept boring. :-) > > uh-oh, I'm confused; that seems to contradict your comment above. > > fuse_enable="YES" makes sense in both /etc/rc.conf and > /boot/loader.conf? > I thought only kld_lists="fusefs" went in /boot/loader.conf Sorry, I am old and stupid. Very stupid. fuse_load="YES" ---> /boot/loader.conf fusefs_enable="YES" ---> /etc/rc.conf Very very stupid. The addition to /boot/loader.conf serves the same purpose as using the kldlist="..." setting in /etc/rc.conf, except that it happens at a much earlier stage. The result is the same, as "kldstat" output will correctly show. Very very _very_ stupid. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...