|
From: Heiko Z. <he...@zu...> - 2003-10-22 15:21:49
|
>> >>>How about a file called /etc/lvtab in contrast to /etc/fstab where >> >>>we specify the logical volumes name and their mountpoint. If a >> logical >> >>>volumes name is not found there it's either not mounted at all or >> >>>we could also default to mounting it at /var/lvname. >> >>> >> >>>/etc/lvmtab is already taken by the lvmtools, so I suggest /etc/lvtab >> >>>Maybe any other better distinguishable names for this file? >> >> >> >>I would prefer the version where we automatically mount to /var/lvname >> > >> > Maybe we could put the exceptions in /etc/lvtab and everything else >> > defaults to mount at /var/<name> ? >> >> Ok, that's about what I thought to do. Let's introduce a switch, >> eg. LVM_MOUNT_DEFAULT="/var" or ="" in /etc/sysconfig/config to switch >> between both behaviours. > > I'm not following you. Why do we need a switch? > > I would simply supply a default /etc/lvtab file with the following: > > > #lvname:directory > swap:swap > home:/home > opt:/opt > > > Anything not found in the /etc/lvtab gets mounted in /var/<name> > People are free to add their own entries, or make changes in lvtab. > > That way it's backward compatible, plus being easily customizable. I agree with that. -- Regards Heiko Zuerker http://www.devil-linux.org |