[PATCH] erofs-utils: mkfs: Add volume-name setting support

Gao Xiang xiang at kernel.org
Wed Oct 5 03:33:00 AEDT 2022


On Wed, Oct 05, 2022 at 01:25:48AM +0900, Naoto Yamaguchi wrote:
> Hi Gao
> 
> Thank you feedback!
> 
> >1) How about following mke2fs by using "-L volume-label" ?
> >https://www.man7.org/linux/man-pages/man8/mke2fs.8.html
> 
> The mkfs.extX is using "-L volume-label".
> The mkfs.vfat is using "-n volume-name".
> I think both better.
> You commented to "-L" is more better, I will change it.

Yeah, I tend to follow mke2fs if it has the similar
function if possible, since it's more widely used :)

> 
> >2) If possible, how about adding a kernel ioctl for this if you have more interest?
> >I mean FS_IOC_GETFSLABEL.
> 
> It's interesting feature.  I will try to work it.
> 

Thanks a lot! Yet that is not urgent since 6.1 features are
already fixed, it needs to be landed in 6.2...

Thanks,
Gao Xiang

> Thanks,
> Naoto Yamaguchi.
> a member of Automotive Grade Linux Instrument Cluster EG.
> 


More information about the Linux-erofs mailing list