[PATCH] Don't ignore ram and loop devices.
tomek at pipebreaker.pl
Mon Aug 17 09:16:07 PDT 2009
On Mon, Aug 17, 2009 at 11:03:29AM -0400, David Zeuthen wrote:
> On Thu, 2009-08-06 at 02:12 +0100, Evan Dandrea wrote:
> > DeviceKit-disks udev rules do not ignore ram and loop devices, so the daemon
> > should not either.
> I don't think this is a good idea right since it will make Palimpsest
> show all your loop and block devices... On my system this is 8 loop
> devices and 16 ram devices - all of them completely useless.
> The problem is that the loop and ram subsystems in Linux needs work -
> the devices really needs to be created on demand instead of what is done
> right now.
> For now, I've made the DKD udev rules ignore loop and ram devices too.
Is it possible to show only loop devices for which losetup returns 0?
This way only configured devices will be shown.
Tomasz Torcz ,,If you try to upissue this patchset I shall be seeking
xmpp: zdzichubg at chrome.pl an IP-routable hand grenade.'' -- Andrew Morton (LKML)
More information about the devkit-devel