Re: devices/dir configuration option in /etc/lvm/lvm.conf can be edited?

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

 



Hi Alasdair,

Thank for comments.
That means we should update the comments to the latest, this can help to tell the user "this is advanced option".

Thanks
Gang

> -----Original Message-----
> From: linux-lvm-bounces@xxxxxxxxxx
> [mailto:linux-lvm-bounces@xxxxxxxxxx] On Behalf Of Alasdair G Kergon
> Sent: 2019年10月14日 21:20
> To: LVM general discussion and development <linux-lvm@xxxxxxxxxx>
> Subject: Re:  devices/dir configuration option in /etc/lvm/lvm.conf
> can be edited?
> 
> On Mon, Oct 14, 2019 at 10:52:02AM +0000, Gang He wrote:
> > That means we should tell the user, you should not edit this option (dir =
> "/dev") in the lvm.conf, right?
> 
> The existing comment is incomplete and should be updated to mention the
> other effects.  The option pre-dates udev and so the "newer"
> interlocking there ought to be mentioned.  The description of 'advanced'
> could also be updated to explain that that means you should not change it
> unless you know exactly what you are doing!  The option exists to simplify
> some development, test and support scenarios where you want to have two or
> more distinct userspace LVM instances running on a single machine.  For
> example, to try to reproduce a certain type of user-reported bug you might set
> up a temporary /dev in a non-default location with contents that match that
> user's system and point the tools at that using this option.
> 
> Alasdair
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux