Date: Wed, 08 Feb 2017 19:16:57 +0000 From: Chris Hellberg <chris@chrishellberg.com> To: Hans Petter Selasky <hps@selasky.org>, freebsd-usb@freebsd.org Subject: Re: mount USB device Message-ID: <1486581417.283211.874723496.617E209D@webmail.messagingengine.com> In-Reply-To: <d8655658-4218-20dd-b5e9-c37cb44f4f92@selasky.org> References: <1485637315.32561.862669136.6A6031BC@webmail.messagingengine.com> <d8655658-4218-20dd-b5e9-c37cb44f4f92@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 8, 2017, at 17:31, Hans Petter Selasky wrote: > > Hi, > > Some formats don't have a partition label. Did you try to mount /dev/da0 > directly ? Are you expecting labels to be present? > > --HPS > I tried to mount da0 directly, but no success and expecting slices to be present. I guess slices are analogous to labels? Here is the behavior (refering to da0). <===== Without the drive inserted, da0 isn't present: root@NYCD-MX480-2-re0:/dev # ls | grep da ada0 ada0p1 ada0p2 ada0p3 ada1 ada1p1 ada1p2 root@NYCD-MX480-2-re0:/dev # <==== Inserting the drive root@NYCD-MX480-2-re0:/dev # ls | grep da Inserting th ada0 ada0p1 ada0p2 ada0p3 ada1 ada1p1 ada1p2 da0 da0p1 <=== slice da0p2 <=== slice root@NYCD-MX480-2-re0:/dev # <=== reboot the system with the drive inserted. The block device is present (da0) root@NYCD-MX480-2-re0:/dev # ls | grep da ada0 ada0p1 ada0p2 ada0p3 ada1 ada1p1 ada1p2 da0 root@NYCD-MX480-2-re0:/dev # But mounting fails and no slices present: root@NYCD-MX480-2-re0:/dev # mount /dev/da0 /mnt/usb mount: /dev/da0: Device not configured root@NYCD-MX480-2-re0:/dev # I tried sending an exit code of 0 (true isn't installed on this system) to the block device as some other threads have suggested but it still doesn't detect the device: root@NYCD-MX480-2-re0:/dev # /bin/csh -i 'exit 0' > /dev/da0 root@NYCD-MX480-2-re0:/dev # ls | grep da ada0 ada0p1 ada0p2 ada0p3 ada1 ada1p1 ada1p2 da0 root@NYCD-MX480-2-re0:/dev # I have managed get usbconfig on there but usbconfig power_off / power_on doesn't change anything. Thanks, Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1486581417.283211.874723496.617E209D>