From nobody Tue Jan 16 18:36:12 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 4TDyQ80fr0z57nHG for ; Tue, 16 Jan 2024 18:36:16 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TDyQ761w3z4xrd for ; Tue, 16 Jan 2024 18:36:15 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; none Received: from [188.174.59.123] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rPoIH-007xFH-Oh; Tue, 16 Jan 2024 19:36:13 +0100 Received: from localhost.my.domain (c720-1400094 [127.0.0.1]) by localhost.unixarea.de (8.17.1/8.14.9) with ESMTP id 40GIaCs6002760; Tue, 16 Jan 2024 19:36:13 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.17.1/8.14.9/Submit) id 40GIaC2f002759; Tue, 16 Jan 2024 19:36:12 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 16 Jan 2024 19:36:12 +0100 From: Matthias Apitz To: Alexander Burke Cc: freebsd-questions@freebsd.org Subject: Re: USB key && NTFS Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: Alexander Burke , freebsd-questions@freebsd.org References: 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 14.0-CURRENT r1400094 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.59.123 X-Rspamd-Queue-Id: 4TDyQ761w3z4xrd 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:42730, ipnet:178.254.0.0/19, country:DE] El día martes, enero 16, 2024 a las 06:53:41p. m. +0100, Alexander Burke escribió: > Hi Matthias, > > It's probably actually formatted as exFAT, which according to another recent thread seems to share a partition type with NTFS (facepalm). > > Reformat it as actually-NTFS and the problem should be solved. > > Cheers, > Alex Hi Alexander, Yes, it is exFAT (and not NTFS) and I had to bake in my poudriere oven the package fusefs-exfat. After installing it, the key mounts fine and I'm testing the space with f3write: $ f3write /mnt/f3 F3 write 8.0 Copyright (C) 2010 Digirati Internet LTDA. This is free software; see the source for copying conditions. Free space: 117.18 GB Creating file 1.h2w ... OK! Creating file 2.h2w ... OK! ... Magically the 128 GB (in big marketing letters) changed to ~117 GB :-) Thanks anyway matthias > Jan 16, 2024 18:06:00 Matthias Apitz : > > > > > I've bought a fresh "128 GB" (marketing GBytes) USB key and it says in > > my laptop: > > > > root@c720-1400094:~ # uname -a > > FreeBSD c720-1400094 14.0-CURRENT FreeBSD 14.0-CURRENT amd64 1400094 #2 main-n264568-1d7ffb373c9d-dirty: Wed Sep  6 07:13:22 CEST 2023     guru@jet:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > > > > root@c720-1400094:~ # tail /var/log/messages > > Jan 16 17:50:52 c720-1400094 kernel: da0 at umass-sim0 bus 0 scbus1 target 0 lun 0 > > Jan 16 17:50:52 c720-1400094 kernel: da0: Removable 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 sectors) > > Jan 16 17:50:52 c720-1400094 kernel: da0: quirks=0x2 > > > > root@c720-1400094:~ # gpart show /dev/da0 > > =>       63  245759937  da0  MBR  (117G) > >          63         65       - free -  (33K) > >         128  245759872    1  ntfs  [active]  (117G) > > > > root@c720-1400094:~ # ls -l /dev/da* > > crw-r-----  1 root operator 0x1aa 16 ene.  17:50 /dev/da0 > > crw-r-----  1 root operator 0x1ab 16 ene.  17:53 /dev/da0s1 > > root@c720-1400094:~ #  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? > > > > 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  1 root wheel 22  9 ene.   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 > > > > > > What I do wrong? > > > > Thanks > > > >     matthias > > -- > > Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 > > Public GnuPG key: http://www.unixarea.de/key.pub > > > > I am not at war with Russia. > > Я не воюю с Россией. > > Ich bin nicht im Krieg mit Russland. -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub I am not at war with Russia. Я не воюю с Россией. Ich bin nicht im Krieg mit Russland.