Re: [ANNOUNCE] udev 152 release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 3, 2010 at 08:55, Andreas Metzler
<ametzler@xxxxxxxxxxxxxxxxxx> wrote:
> Kay Sievers <kay.sievers <at> vrfy.org> writes:
> [...]
>> Here comes a new udev version.
> [...]
>> udev 152
> [...]
>> The option "all_partitions" was removed from udev. This should not be
>> needed for usual hardware. Udev can not safely make assumptions
>> about non-existing partition major/minor numbers, and therefore no
>> longer provide this unreliable and unsafe option.
> [...]

>
> is there a officially suggested replacement for "all_partitions"?
> USB-cardreaders are not "unusual", but nevertheless usually do not report
> media-changes (See
> http://www.reactivated.net/writing_udev_rules.html#example-usbcardreader).

No, not in udev. The main device node needs to be polled periodically.
This is usually done by udisks, a simple 'touch' will also do.
Currently it's being worked on to add polling to the kernel itself.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux