From nobody Wed Jan 10 20:36:06 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 4T9KML3zJfz566JG for ; Wed, 10 Jan 2024 20:36:14 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4T9KMK3Nkdz4gcb for ; Wed, 10 Jan 2024 20:36:13 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.196 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk Received: from [192.168.1.178] (host81-129-137-200.range81-129.btcentralplus.com [81.129.137.200]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id 40AKa6g5049350 for ; Wed, 10 Jan 2024 20:36:06 GMT (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <42dd00f4-7773-4fe5-a258-aa08d4fdc8de@fjl.co.uk> Date: Wed, 10 Jan 2024 20:36:06 +0000 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 User-Agent: Mozilla Thunderbird Subject: Re: Problem mounting new Sandisk 1TB USB drive Content-Language: en-GB To: questions@freebsd.org References: <746cd0fe-9de8-414b-8b5d-7030d423fa7f@dreamchaser.org> <85758e7a-f9bb-4568-a863-53c2439045ce@souji-thenria.net> From: Frank Leonhardt In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.43 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.34)[-0.343]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.196]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:25577, ipnet:84.45.0.0/17, country:GB]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[fjl.co.uk]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4T9KMK3Nkdz4gcb On 10/01/2024 20:03, Gary Aitken wrote: > On 1/10/24 11:01, Souji Thenria wrote: >>> # mount -t ntfs-3g /dev/da0s1 /mnt/memstick >>> mount: /dev/da0s1: Invalid fstype: Invalid argument >>> # ntfs-3g /dev/da0s1 /mnt/memstick >>> NTFS signature is missing. >>> Failed to mount '/dev/da0s1': Invalid argument >>> The device '/dev/da0s1' doesn't seem to have a valid NTFS. >>> Maybe the wrong device is used? Or the whole disk instead of a >>> partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? >>> # ntfs-3g /dev/da0 /mnt/memstick >>> NTFS signature is missing. >>> Failed to mount '/dev/da0': Invalid argument >>> The device '/dev/da0' doesn't seem to have a valid NTFS. >>> Maybe the wrong device is used? Or the whole disk instead of a >>> partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? >>> >>> -o debug shows nothing additional >> >> >> Can you try to mount the drive using: >> 'ntfs-3g /dev/da0s1 /mnt/memstick' >> >> If I remember correctly, using the mount command with ntfs-3g did not >> work for me in the past while using the command directly worked... > > Thanks; already tried that, same results (2nd command given above) > > The stick has been plugged into an android phone since it was first > tried on the fbsd and ubuntu systems, before I installed ntfs-3g. > Mounting it on ubuntu, I see two suspect files, 'Install SanDisk > Software.dmg' and 'Install SanDisk Software.exe', plus a pdf that > says to run the appropriate file to get "valuable software..." > I'm thinking / hoping neither of those got automagically run, since > it's never been plugged into a microsoft or mac system.  I've since > renamed them away. > > However, something, I assume the android phone, automagically set > up a bunch of directories, which are empty: Android, AudioBooks, > DCIM, Pictures, Videos, etc. > > Doesn't seem like any of that should have affected the formatting, > Although at some point after I can get it to mount I'd like to > know how to prevent the auto directory setup from happening. > > Gary I suspect you don't have the FUSE driver compiled into the kernel (if this is even possible). Try "kldload fusefs" and then try ntfs-g3 again. Regards, Frank.