[REGRESSION] loopback block device on top of block devices don't work anymore

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

 



Heya!

Recent kernels fail if it is attempted to create a loopback block
device on top of a block device (rather than a regular file), which is a
feature long supported on Linux kernels, and that systemd relies on
(specifically, systemd-repart does).

For example, this used to work:

losetup --find --show --offset=4096 --sizelimit=409600 /dev/nvme0n1

But now it doesn't anymore...

This is on 6.17rc3. My educated guess is that this is caused by
Rajeev's 8aa5a3b68ad144da49a3d17f165e6561255e3529, which tightened the
screws on validating the backing file's size, which now fails if the
backing file isn't actually a file, but a block device.

(But I didn't spend more time tracking this down.)

Lennart




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux