|
From: Bruce S. <bw...@ar...> - 2003-12-24 02:34:20
|
> >> All LVs get mounted under /var when they're not "special". > >> You get a list of all available LVs in this folder: > >> /proc/lvm/VGs/devil-linux/LVs/ > > > > If we find a LV xyz in the VG devil-linux that is not listet > > in /etc/sysconfig/lvmtab we try to create /var/xyz/ and mount > > it there. Is that what you mean? > > Yes, it was my understanding that we exactly do this. I can do that. So the only entries in the default lvmtab file are: /home /opt & swap ??? How is /proc/lvm/VGs/devil-linux/LVs/ different than /dev/devil-linux/ ? Or which is the best one to use? > >> We also have do be carefull, I'm pretty sure a lot of people would > >> try to mount an LV e.g. under /some-mount-point and then complain it > >> doesn't work. Of course it will not work, because they can't create > >> the mount point on the CD.... > > > > That case can be handled by the script. We can even check the > > directory where the mount should occour and then check if the > > filesystem there is ro or rw. Good point. Better to prepare now > > before the users come asking for help where they shouldn't have > > gone in the first place ;-) > > yeah good point. You can mount disks on existing directories on the CD, you just can't create new directories. (i.e. I can mount something under /mnt) So, if the directory doesn't already exist, try to create it. If it can't be created then display an error. - BS |