Re: [PATCH] losetup: set blocksize before partition scan

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

 



On Thu, Jan 10, 2019 at 01:55:19PM -0800, Jeffrey Ferreira wrote:
> When creating a loop device the user may use the --partscan option to
> request that the kernel scan for partitions. To correctly scan for
> partitions the kernel must first have the correct blocksize.

Really good catch. Thanks!

I have implemented it in a little different way to follow internal API
from lib/loopdev.c.

> Also, update an error message to add --partscan to the list of options
> only allowed during loop device setup.

Merged this part.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux