Use new /dev/loop-control device to create loop devices
authorDavid Zeuthen <davidz@redhat.com>
Wed, 26 Oct 2011 17:32:31 +0000 (13:32 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 26 Oct 2011 17:32:31 +0000 (13:32 -0400)
commit4f1c409458915dbd2028cf1d4f5d5a7afca08aeb
treed9f5e70316a61680ea7f272d788c96e746e44794
parent328da82c0484bace1022e27afdd33cfb676ee867
Use new /dev/loop-control device to create loop devices

See

 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=770fe30a46a12b6fb6b63fbe1737654d28e84844

for the commit that introduced this feature. This is available as of
Linux 3.1.

Second, since the kernel now (virtually) supports an unlimited number
of loop devices, allow local active users to do this without having to
authenticate.

Signed-off-by: David Zeuthen <davidz@redhat.com>
policy/org.freedesktop.udisks2.policy.in
src/udiskslinuxmanager.c