From owner-freebsd-questions@freebsd.org Tue Sep 26 15:32:08 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2911E0EA01 for ; Tue, 26 Sep 2017 15:32:08 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A15006A85C for ; Tue, 26 Sep 2017 15:32:08 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id D69756228D for ; Tue, 26 Sep 2017 11:23:36 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jcEw58NAT9RI for ; Tue, 26 Sep 2017 11:23:35 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 283556225D for ; Tue, 26 Sep 2017 11:23:35 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Tue, 26 Sep 2017 11:23:35 -0400 Message-ID: Date: Tue, 26 Sep 2017 11:23:35 -0400 Subject: USB flash memory keys on FreeBSD-11 From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2017 15:32:08 -0000 I seem to have lost the ability to automatically mount usb flash memory sticks on my desktop. When I place a stick into a usb port the usb drive shows up in the Nautilus viewer and the following is logged in /var/log/messages: Sep 26 10:04:14 vhost04 kernel: ugen3.2: at usbus3 Sep 26 10:04:14 vhost04 kernel: umass0: on usbus3 Sep 26 10:04:14 vhost04 kernel: umass0: SCSI over Bulk-Only; quirks = 0x8100 Sep 26 10:04:14 vhost04 kernel: umass0:5:0: Attached to scbus5 Sep 26 10:04:14 vhost04 kernel: da0 at umass-sim0 bus 0 scbus5 target 0 lun 0 Sep 26 10:04:14 vhost04 kernel: da0: Removable Direct Access SPC-2 SCSI device Sep 26 10:04:14 vhost04 kernel: da0: Serial Number 50E549C20210BF10A9BC4174 Sep 26 10:04:14 vhost04 kernel: da0: 40.000MB/s transfers Sep 26 10:04:14 vhost04 kernel: da0: 60017MB (122915328 512 byte sectors) Sep 26 10:04:14 vhost04 kernel: da0: quirks=0x3 This is what dmesg shows: ugen3.2: at usbus3 umass0: on usbus3 umass0: SCSI over Bulk-Only; quirks = 0x8100 umass0:5:0: Attached to scbus5 da0 at umass-sim0 bus 0 scbus5 target 0 lun 0 da0: Removable Direct Access SPC-2 SCSI device da0: Serial Number 50E549C20210BF10A9BC4174 da0: 40.000MB/s transfers da0: 60017MB (122915328 512 byte sectors) da0: quirks=0x3 But /media is empty: # ls -al /media total 9 drwxr-xr-x 2 root wheel 2 Sep 22 12:13 . drwxr-xr-x 18 root wheel 24 Sep 23 08:41 .. Attempts to mount the drive from the nautilus window of my non-privileged user account fail. I can however mount the drive manually and Nautilus then sees the contents: # mkdir /media/usbkey # mount -t msdosfs /dev/da0s1 /media/usbkey # ll /media/usbkey/ total 112 drwxr-xr-x 1 root wheel 16384 Jun 17 2016 .Spotlight-V100/ drwxr-xr-x 1 root wheel 16384 Jun 17 2016 .Trashes/ -rwxr-xr-x 1 root wheel 4096 Jun 17 2016 ._.Trashes* drwxr-xr-x 1 root wheel 16384 Jun 17 2016 .fseventsd/ drwxr-xr-x 1 root wheel 16384 Mar 23 2017 System Volume Information/ drwxr-xr-x 1 root wheel 16384 Jul 5 08:24 vhost04/ drwxr-xr-x 1 root wheel 16384 Jul 5 08:23 xnet241/ How do I get the former 'auto detect and mount' function to work again? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3