Hi,
This is happen when you copy a big file (movie) and while the copy process is 
still in progress, a new stick is added.

During my investigations, i found that this bug is somewhere in UDEV

I downloaded the last version of udev from kenrel.org, and start debug
it.

i found that the detection stop when hdparam is running. The hdparam
process (and also the fork from  "util_run_program") don't finish.

I fixed this problem by adding in "libudev/libudev-util-private.c"

function "int util_run_program(struct udev *udev, const char *command, char 
**envp,
                     char *result, size_t ressize, size_t *reslen,
                     const sigset_t *sigmask)"

this line: "if (strcmp(command,"/lib/udev/hdparm")==0) return 0;"


If you still want the requested output informations, pleas let me know and i 
will recompile UDEV without that line and i will post to you the output 
informations.


Thank you.

-- 
New inserted USB device is not recognized if a copy job is active in other USB 
device (device = USB HDD, USB stick)
https://bugs.launchpad.net/bugs/482448
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to