You have been subscribed to a public bug:

In Ubuntu 14.04 and 16.04, when plugging in a USB pen drive, there is a
lag of 5 or 6 seconds between the kernel detecting the device and
udev/udisks mounting it. If there are more than one partition on the
drive, each partition takes another 5 or 6 seconds. In 12.04 the
automounting started immediately. I tested this with several USB pen
drives and several computers.

I consider this a regression (somewhere between 12.04 and 14.04).

What is the purpose of this delay?

How can I change it?

Here is an excerpt of syslog:

Feb 3 20:40:42 x300 kernel: [ 7747.314179] scsi 10:0:0:0: Direct-Access Generic 
Flash Disk 8.07 PQ: 0 ANSI: 4
Feb 3 20:40:42 x300 kernel: [ 7747.315756] sd 10:0:0:0: Attached scsi generic 
sg2 type 0
Feb 3 20:40:42 x300 kernel: [ 7747.317922] sd 10:0:0:0: [sdb] 7866368 512-byte 
logical blocks: (4.03 GB/3.75 GiB)
Feb 3 20:40:42 x300 kernel: [ 7747.320212] sd 10:0:0:0: [sdb] Write Protect is 
off
Feb 3 20:40:42 x300 kernel: [ 7747.320220] sd 10:0:0:0: [sdb] Mode Sense: 23 00 
00 00
Feb 3 20:40:42 x300 kernel: [ 7747.321513] sd 10:0:0:0: [sdb] Write cache: 
disabled, read cache: enabled, doesn't support DPO or FUA
Feb 3 20:40:42 x300 kernel: [ 7747.329054] sdb: sdb1 sdb2
Feb 3 20:40:42 x300 kernel: [ 7747.332767] sd 10:0:0:0: [sdb] Attached SCSI 
removable disk
Feb 3 20:40:48 x300 kernel: [ 7753.045290] EXT4-fs (sdb2): mounted filesystem 
with ordered data mode. Opts: (null)
Feb 3 20:40:48 x300 udisksd[2255]: Mounted /dev/sdb2 at /media/oli/stick on 
behalf of uid 1119
Feb 3 20:40:53 x300 udisksd[2255]: Mounted /dev/sdb1 at /media/oli/MYNAME on 
behalf of uid 1119

** Affects: udisks2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
 udev/udisks automount waits for 5 seconds
https://bugs.launchpad.net/bugs/1669293
You received this bug notification because you are a member of Desktop 
Packages, which is subscribed to udisks2 in Ubuntu.

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to