[kwlug-disc] udisksd slow to mount USB stick

Khalid Baheyeldin kb at 2bits.com
Fri Mar 25 09:40:28 EDT 2016


On Fri, Mar 25, 2016 at 1:30 AM, William Park <opengeometry at yahoo.ca> wrote:
> On Thu, Mar 24, 2016 at 10:03:16PM -0400, Khalid Baheyeldin wrote:
>> > Now that you got it all zero'ed out, try creating FAT filesystem on the
>> > whole /dev/sdb, rather than /dev/sdb1.
>>
>> You mean no partitioning at all?
>>
>> Meaning not doing anything to it with fdisk?
>
> Yes, like
>     mkfs.vfat /dev/sdb
> which is what Windows (7 or 10, not sure which) does on "removeable".
> Or, format it on Windows.  I found it interesting, because I thought
> Windows always insist on MBR.

Wow!

That solved it. It takes 5 seconds now between insertion and mounting
with notification in KDE.

Amazing ...

Mar 25 09:28:54 mylaptop kernel: [ 4446.056054] usb 2-1: new
high-speed USB device number 7 using ehci-pci
Mar 25 09:28:54 mylaptop kernel: [ 4446.188943] usb 2-1: New USB
device found, idVendor=08ec, idProduct=0016
Mar 25 09:28:54 mylaptop kernel: [ 4446.188950] usb 2-1: New USB
device strings: Mfr=1, Product=2, SerialNumber=3
Mar 25 09:28:54 mylaptop kernel: [ 4446.188953] usb 2-1: Product:
DataTraveler 2.0
Mar 25 09:28:54 mylaptop kernel: [ 4446.188955] usb 2-1: Manufacturer: Kingston
Mar 25 09:28:54 mylaptop kernel: [ 4446.188958] usb 2-1: SerialNumber: SOMETHING
Mar 25 09:28:54 mylaptop kernel: [ 4446.189403] usb-storage 2-1:1.0:
USB Mass Storage device detected
Mar 25 09:28:54 mylaptop kernel: [ 4446.190181] scsi10 : usb-storage 2-1:1.0
Mar 25 09:28:55 mylaptop kernel: [ 4447.188724] scsi 10:0:0:0:
Direct-Access     Kingston DataTraveler 2.0 6.16 PQ: 0 ANSI: 0 CCS
Mar 25 09:28:55 mylaptop kernel: [ 4447.193375] sd 10:0:0:0: Attached
scsi generic sg2 type 0
Mar 25 09:28:55 mylaptop kernel: [ 4447.195963] sd 10:0:0:0: [sdb]
Attached SCSI removable disk
Mar 25 09:28:59 mylaptop kernel: [ 4450.737338] sd 10:0:0:0: [sdb]
2004991 512-byte logical blocks: (1.02 GB/978 MiB)
Mar 25 09:28:59 mylaptop kernel: [ 4450.740498] sd 10:0:0:0: [sdb] No
Caching mode page found
Mar 25 09:28:59 mylaptop kernel: [ 4450.740503] sd 10:0:0:0: [sdb]
Assuming drive cache: write through
Mar 25 09:28:59 mylaptop kernel: [ 4450.742582] sd 10:0:0:0: [sdb] No
Caching mode page found
Mar 25 09:28:59 mylaptop kernel: [ 4450.742588] sd 10:0:0:0: [sdb]
Assuming drive cache: write through
Mar 25 09:28:59 mylaptop kernel: [ 4450.743865]  sdb:
Mar 25 09:28:59 mylaptop udisksd[2459]: Mounted /dev/sdb at
/media/kbahey/KINGSTON1GB on behalf of uid 1000


-- 
Khalid M. Baheyeldin
2bits.com, Inc.
Fast Reliable Drupal
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci
For every complex problem, there is an answer that is clear, simple,
and wrong." -- H.L. Mencken





More information about the kwlug-disc mailing list