From nobody Tue Jan 16 17:53:41 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 4TDxTP3pMbz57jT8 for ; Tue, 16 Jan 2024 17:54:01 +0000 (UTC) (envelope-from alex@alexburke.ca) Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) (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 4TDxTP0R4lz4qNx for ; Tue, 16 Jan 2024 17:54:00 +0000 (UTC) (envelope-from alex@alexburke.ca) Authentication-Results: mx1.freebsd.org; none Date: Tue, 16 Jan 2024 18:53:41 +0100 (GMT+01:00) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexburke.ca; s=key1; t=1705427633; 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=FNJKDvGbf+2DB3avGl2h7UFFx3QgP2ktcU/SjtHL2ps=; b=hnOUqHq6u8P8DUlTp0UveW4AdCCLI/DL1EJ0V07dhxs4sEFNVA3VJBzpQCzbUZ/k8h47Gv 17RFu8MtAGCqMY6J8IR8kg1kthXiUMY9fX9ROlUKQ5OLSIQzDoEN/g9wLOykOp7U+RIbSr OTWCDhWP2k2qyKZ+0kBliv2t9lWDNLg= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Alexander Burke To: Matthias Apitz Cc: freebsd-questions@freebsd.org Message-ID: In-Reply-To: References: Subject: Re: USB key && NTFS 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: X-Migadu-Flow: FLOW_OUT X-Rspamd-Queue-Id: 4TDxTP0R4lz4qNx 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:202172, ipnet:95.215.58.0/24, country:CH] Hi Matthias, It's probably actually formatted as exFAT, which according to another recen= t thread seems to share a partition type with NTFS (facepalm). Reformat it as actually-NTFS and the problem should be solved. Cheers, Alex ---------------------------------------- Jan 16, 2024 18:06:00 Matthias Apitz : >=20 > I've bought a fresh "128 GB" (marketing GBytes) USB key and it says in > my laptop: >=20 > root@c720-1400094:~ # uname -a > FreeBSD c720-1400094 14.0-CURRENT FreeBSD 14.0-CURRENT amd64 1400094 #2 m= ain-n264568-1d7ffb373c9d-dirty: Wed Sep=C2=A0 6 07:13:22 CEST 2023=C2=A0=C2= =A0=C2=A0=C2=A0 guru@jet:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 >=20 > root@c720-1400094:~ # tail /var/log/messages > Jan 16 17:50:52 c720-1400094 kernel: da0 at umass-sim0 bus 0 scbus1 targe= t 0 lun 0 > Jan 16 17:50:52 c720-1400094 kernel: da0: Remov= able Direct Access SPC-4 SCSI device > Jan 16 17:50:52 c720-1400094 kernel: da0: Serial Number A430786F > Jan 16 17:50:52 c720-1400094 kernel: da0: 40.000MB/s transfers > Jan 16 17:50:52 c720-1400094 kernel: da0: 120000MB (245760000 512 byte se= ctors) > Jan 16 17:50:52 c720-1400094 kernel: da0: quirks=3D0x2 >=20 > root@c720-1400094:~ # gpart show /dev/da0 > =3D>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 63=C2=A0 245759937=C2=A0 da0=C2= =A0 MBR=C2=A0 (117G) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 63=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 65=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - free -= =C2=A0 (33K) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 128=C2=A0 245759872=C2=A0=C2= =A0=C2=A0 1=C2=A0 ntfs=C2=A0 [active]=C2=A0 (117G) >=20 > root@c720-1400094:~ # ls -l /dev/da* > crw-r-----=C2=A0 1 root operator 0x1aa 16 ene.=C2=A0 17:50 /dev/da0 > crw-r-----=C2=A0 1 root operator 0x1ab 16 ene.=C2=A0 17:53 /dev/da0s1 > root@c720-1400094:~ #=C2=A0 mount_ntfs-3g /dev/da0s1 /mnt > 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? >=20 > root@c720-1400094:~ # which mount_ntfs-3g > /usr/sbin/mount_ntfs-3g > root@c720-1400094:~ # ls -l /usr/sbin/mount_ntfs-3g > lrwxr-xr-x=C2=A0 1 root wheel 22=C2=A0 9 ene.=C2=A0=C2=A0 2021 /usr/sbin/= mount_ntfs-3g -> /usr/local/bin/ntfs-3g > root@c720-1400094:~ # pkg which /usr/local/bin/ntfs-3g > /usr/local/bin/ntfs-3g was installed by package fusefs-ntfs-2022.10.3 >=20 >=20 > What I do wrong? >=20 > Thanks >=20 > =C2=A0=C2=A0=C2=A0 matthias > --=20 > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-1= 76-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub >=20 > I am not at war with Russia. > =D0=AF =D0=BD=D0=B5 =D0=B2=D0=BE=D1=8E=D1=8E =D1=81 =D0=A0=D0=BE=D1=81=D1= =81=D0=B8=D0=B5=D0=B9. > Ich bin nicht im Krieg mit Russland.