From nobody Tue Mar 15 13:02:59 2022 X-Original-To: freebsd-fs@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 24E331A25098 for ; Tue, 15 Mar 2022 13:03:37 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KHtrS15Gvz3mLF for ; Tue, 15 Mar 2022 13:03:36 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by mail-vs1-xe2e.google.com with SMTP id u82so20731715vsu.0 for ; Tue, 15 Mar 2022 06:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RgPza/4gjcB/xfbmrzGgCKY3wpbec81VxKOfpEoVmrg=; b=Tr687jx8BSJFQV4xG3Sk35BV3xIaMS7O8NSz+HEPxyzi6xHPCHhTLreE5FqbVdqGbB ExRKtuZWTnX+HF4iQHrVHbTp7+AxxE/rJ536vb2j2fjT8/lsjgbR2MD2ytN8EmdbGiVe bDQwUJtiLFzhnM2yMmHmH3+nNv44n59931U4K2jz4gBYGo1f4YN36eEoVklaG2xgCu1s O41JJ5wN8jf0IN0TnJBvNR/AQ0L9kGaSZci7gJLDR+lpceOY6QRlcOwmNzKQQICzgtLO TwPn3nYeWK3NbFiZCONG4J+V+GxW0HLY350mk1ZzuUtEpzs+Fgd+A+jSq5c0NauRLkCl JuDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RgPza/4gjcB/xfbmrzGgCKY3wpbec81VxKOfpEoVmrg=; b=rliFgCXYS2F9cr5tq93cUFkxYuJ12Y8wa+vNuFilRuf0QXNNqCW/JS1XIgZ6PfYux4 twCEytpBUeGYH6MD7O1LcX4O0hWQpAQWgMGTarmpRHFsnMs0HPGFS9sX+N/TNBzny1I3 wXIP8HkgVFPv1bs1K2vIPKxp4VGBC/8zXb4PdCPUA1SAc78uu0k+DdqPcMhctEOm8Tws ZXPOvhpjDAxmoIfQgQgTNrQ7R6sjZdA+D1GlKQv27NkxEeg4TzqiIMGH5DhNdRWA6V8v 2+4a/95UzA+yJzitxefPyTAxT4RWBYrO3Jvk24oyACpuxwkh00bSRhG19ofvjQkXe7eU drjg== X-Gm-Message-State: AOAM530j7fYodz9iavl92pzpjFAXQdailqJzMbs9m4hDooqWbySwBjkx dEfBzifkSFNpfeCgzP1OfR/cQdl9GYJiYLpbDrt1fordD4Ytzg== X-Google-Smtp-Source: ABdhPJzMmter3A+iX2qTXIjoxj29G2J807GG7aVQtQkSHSLx/RstaDGV23kcM8Xiz0XKCXSYRzFlQHTh9xr0WDszx/0= X-Received: by 2002:a67:fe12:0:b0:31b:9356:40fe with SMTP id l18-20020a67fe12000000b0031b935640femr10921076vsr.1.1647349415505; Tue, 15 Mar 2022 06:03:35 -0700 (PDT) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mehmet Erol Sanliturk Date: Tue, 15 Mar 2022 16:02:59 +0300 Message-ID: Subject: Re: Can't see USB disk device To: joe mcguckin Cc: freebsd-fs Content-Type: multipart/alternative; boundary="000000000000bb786505da416cbd" X-Rspamd-Queue-Id: 4KHtrS15Gvz3mLF X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Tr687jx8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mesanliturk@gmail.com designates 2607:f8b0:4864:20::e2e as permitted sender) smtp.mailfrom=mesanliturk@gmail.com X-Spamd-Result: default: False [-3.99 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.992]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e2e:from]; MLMMJ_DEST(0.00)[freebsd-fs]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000bb786505da416cbd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Mar 15, 2022 at 3:38 PM Mehmet Erol Sanliturk < m.e.sanliturk@gmail.com> wrote: > > > On Tue, Mar 15, 2022 at 10:58 AM Mehmet Erol Sanliturk < > m.e.sanliturk@gmail.com> wrote: > >> >> >> On Tue, Mar 15, 2022 at 5:56 AM joe mcguckin wrote: >> >>> FreeeBSD 12.3-Release >>> >>> I=E2=80=99m trying to mount a 3.5=E2=80=9D SATA drive mounted in an ext= ernal enclosure >>> with a USB interface, formatted with NTFS. When I plug in the USB disk= , I >>> do not see the device. All I see from the log is: >>> >>> ugen7.2: at usbus7 >>> >>> I assume the CALDIGIT enclosure has a hub chip to accomodate all the >>> different interfaces (USBA, USBC, mini USB). >>> >>> Although FreeBSD won=E2=80=99t mount the disk automatically (I=E2=80=99= ll be using the >>> NTFS fuse fs for that), I=E2=80=99d expect to see a log message where F= reeBSD sees >>> the SATA/USB drive. >>> >>> >> >> >> >> ------------------------------------------------------------------------= ---------- >> >> >> >>> Shouldn't a hub be transparent and the mass storage USB device be >>> enumerated? >>> >>> I should mention that this works flawlessly on the Mac=E2=80=A6 >>> >> >> >> >> >> In Fedora Linux KDE , attaching and using a USB NTFS hard disk is only >> selecting it from the Dolphin file manager when it is attached and >> doing whatever you want with it . >> >> Only so much , no more anything ( except by selecting >> ( such disks to be mounted automatically when they are attached ) >> from "Settings" related menus only one time ) . >> I am not using anything other than KDE . >> >> >> With my best wishes , >> >> >> Mehmet Erol Sanliturk >> >> >> >> ------------------------------------------------------------------------= ---------- >> >> > > > If you are using KDE in FreeBSD or you can use it , > it will be possible to use mount the USB NTFS hard disks when > they are attached . > Perhaps there may be some adjustments to "Settings" related menu . > I have not used FreeBSD for a long time ( perhaps since 9.2 ) because in = my > computers FreeBSD was not working at sufficient speed . > I think other FreeBSD users will help you if you ask . > > > > As a response to my one of the message , they explained to me how to > mount hard disk in user land without root privileges . > I am sorry that I have deleted all of my previous messages due to my erro= r > . > I am not sure what message it was . > If you ask , they will respond to you also . > > > The suggested program for Linux was the following : > > > whereis udisks2 > udisks2 > /usr/libexec/udisks2 > /usr/libexec/udisks2/udisks2 > /usr/libexec/udisks2/udisksd > whereis udisks* > whereis udisk* > udisks > man udisks > udisks --dump > udisks --mount /dev/sde1 /pack > > > > There should be another possibility to use "devd" . > > If you search the following phrases in Google one by one : > > freebsd devd > freebsd devd usb > > freebsd devfs > freebsd devfs usb > > you may find sufficient links to study ... > > > > Mehmet Erol Sanliturk > > > > Some more links : https://lists.freebsd.org/pipermail/freebsd-stable/2016-January/084002.html Auto-mounting USB NTFS formatted devices on FreeBSD 10.2 and HEAD https://lists.freebsd.org/pipermail/freebsd-current/2016-May/060963.html boot fails "Can't stat /dev/da0a: No such file or directory" : Mounting USB disk during boot https://forums.freebsd.org/threads/63534/ DSBMD - a media mounting daemon/automounter for FreeBSD https://lists.freebsd.org/pipermail/freebsd-questions/2018-February/280835.= html Automount USB drive when connected https://www.google.com/search?q=3DAutomount+USB+drive+when+connected+by+use= r&sxsrf=3DAPq-WButOLJKU3nyyuxemHLUKUhS31NZMw%3A1647349213563&source=3Dhp&ei= =3D3Y0wYo7UH-OExc8P0ZCyWA&iflsig=3DAHkkrS4AAAAAYjCb7f4PBe2AzJSFP9as96m2vj8a= xyOo&ved=3D0ahUKEwjOtsWFlsj2AhVjQvEDHVGIDAsQ4dUDCAY&uact=3D5&oq=3DAutomount= +USB+drive+when+connected+by+user&gs_lcp=3DCgdnd3Mtd2l6EAM6BQghEKABOggIIRAW= EB0QHjoECCEQFVAAWLNnYKd8aABwAHgAgAGoAYgBgwqSAQMwLjmYAQCgAQKgAQE&sclient=3Dg= ws-wiz Automount USB drive when connected by user https://www.google.com/search?q=3DAutomount+USB+drive+when+connected+in+use= rland&sxsrf=3DAPq-WBvXeDXCaUCWuQp0t9FR6J1RuyYiAg%3A1647349233624&ei=3D8Y0wY= prWJY2Xxc8Pk_-RuAc&ved=3D0ahUKEwjakpCPlsj2AhWNS_EDHZN_BHcQ4dUDCA0&uact=3D5&= oq=3DAutomount+USB+drive+when+connected+in+userland&gs_lcp=3DCgdnd3Mtd2l6EA= M6BwgAEEcQsAM6BQghEKABOgQIIxAnOggIIRAWEB0QHjoHCCEQChCgAUoECEEYAEoECEYYAFCw3= QFYhoMCYPCIAmgCcAF4AIABtQGIAcYSkgEEMC4xOJgBAKABAcgBCMABAQ&sclient=3Dgws-wiz Automount USB drive when connected in userland Mehmet Erol Sanliturk > >> >> >>> >>> Thanks, >>> >>> Joe >>> >>> Joe McGuckin >>> ViaNet Communications >>> >>> joe@via.net >>> 650-207-0372 cell >>> 650-213-1302 office >>> 650-969-2124 fax >>> >>> >>> >>> --000000000000bb786505da416cbd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Mar 15, 2022= at 3:38 PM Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> wrote:


On Tue, Mar 15= , 2022 at 10:58 AM Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> wrote:
<= br>

On Tue, Mar 15, 2022 at 5:56 AM joe mcguckin <joe@via.net> wrote:
FreeeBSD 12.3-Release
<= br>
I=E2=80=99m trying to mount a 3.5=E2=80=9D SATA drive mounted= in an external enclosure with a USB interface, =C2=A0formatted with NTFS. = When I plug in the USB disk, I do not see the device. All I see from the lo= g is:

=C2=A0 =C2=A0=C2=A0ugen7.2: <CalDigit AVPro2 Hub= > at usbus7

I assume the CALDIGIT enclosure has a hub chi= p to accomodate all the different interfaces (USBA, USBC, mini USB).
<= div>
Although FreeBSD won=E2=80=99t mount the disk automatica= lly (I=E2=80=99ll be using the NTFS fuse fs for that), I=E2=80=99d expect t= o see a log message where FreeBSD sees the SATA/USB drive.




-----------------------------------------------------------------= -----------------

=C2=A0
Shouldn't a hub be transparent and the mass storage USB device be= enumerated?

I should mention that this works flaw= lessly on the Mac=E2=80=A6




In Fedora Linux KDE , = attaching and using a USB=C2=A0 NTFS=C2=A0 hard disk is only
selecting it from the D= olphin file manager when it is attached and
doing whatever you want with it .

Only so much , no more anything ( except by selecting
( such disks to = be mounted automatically when they are attached )
from "Settings" rel= ated menus only one time=C2=A0 ) .
I am not using anything other than KDE .


With my best wishes ,


Mehmet Erol Sanliturk


------------------------------------------= ----------------------------------------

<= /blockquote>



If you are using KDE in Fre= eBSD or you can use it ,
it will be possible to use mount the USB NTFS hard disks w= hen
they = are attached .
Perhaps there may be some adjustments to "Settings" related= menu .
I= have not used FreeBSD for a long time ( perhaps since 9.2 ) because in my<= /div>
computers= FreeBSD was not working at sufficient speed .
I=C2=A0 think other FreeBSD users wil= l help you if you ask .



As a respon= se to my one of the message , they explained to me how to
mount hard disk in us= er land without root privileges .
I am sorry that I have deleted all of my previous = messages due to my error .
I am not sure what message it was .
If you ask , they will respon= d to you also .


The suggested=C2=A0 program for Linux = was the following :


whereis udisks2
u= disks2
/usr/libexec/udisks2
/usr/libexec/udisks2/udisks2
/usr/libe= xec/udisks2/udisksd
whereis udisks*
whereis udisk*
udisks
man u= disks
udisks --dump
udisks --mount /dev/sde1 /pack

=
=C2=A0

There should be another possibility to use=C2= =A0 "devd" .

If you search the following phrases in Google one by one :
<= div style=3D"font-family:tahoma,sans-serif;font-size:large">
freebsd devd
<= div style=3D"font-family:tahoma,sans-serif;font-size:large">freebsd devd us= b

freebsd devfs
freebsd devfs usb

you may find sufficient links to study ...


=

Mehmet Erol Sanliturk





Some more links :

<= /div>


https://lists.freebsd.org/piperma= il/freebsd-stable/2016-January/084002.html
Auto-mounting USB NTFS fo= rmatted devices on FreeBSD 10.2 and HEAD


ht= tps://lists.freebsd.org/pipermail/freebsd-current/2016-May/060963.html<= br>boot fails "Can't stat /dev/da0a: No such file or directory&quo= t; : Mounting USB disk during boot



https://forums.freebsd.o= rg/threads/63534/
DSBMD - a media mounting daemon/automounter for Fr= eeBSD


https://lists.freebsd.org/pipermail/freeb= sd-questions/2018-February/280835.html
Automount USB drive when conn= ected



=
Automount USB drive when connected by user



Automount USB drive whe= n connected in userland


=C2=A0
Mehmet Erol Sanliturk





=C2=A0

Thanks,

Joe
Joe McGuckin
ViaNet Communications

joe@via.net
650-207-0372 cell
650-213-1302 office
650-969-2= 124 fax



--000000000000bb786505da416cbd--