]> err.no Git - util-linux/commit
losetup: remove dependence on minor numbers
authorKarel Zak <kzak@redhat.com>
Thu, 21 Aug 2008 10:06:25 +0000 (12:06 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 21 Aug 2008 10:06:25 +0000 (12:06 +0200)
commit65158b10813e326396bd13a029aed108019324a2
tree478d85943dcbfd2dc2afe92ac8137772faa75da3
parent32b40fec8f64c05c130c7a96857ca2bf40ea9c0d
losetup: remove dependence on minor numbers

The latest kernel supports partitioned loop devices (kernel commit
476a4813cfddf7cf159956cc0e2d3c830c1507e3). Unfortunately, this change
makes minor numbers useless, because mirror number does not match with
loop device name (loop<N>).

We have to follow loop device names only.

Signed-off-by: Karel Zak <kzak@redhat.com>
mount/lomount.c