Justus Winter, le Tue 30 Jul 2013 11:59:24 +0200, a écrit : > + if (strncmp (device, "device:", 7) == 0) > + asprintf (path, "/dev/%s", &device[7]); > + else if (strncmp (device, "/dev/", 5) == 0) > + *path = strdup (device);
> + else if (looks_like_block_device (device)) > + asprintf (path, "/dev/%s", device); In which situation is that one needed? Samuel