udev/udisks automount waits for 5 seconds
In Ubuntu 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.
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
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: