$fstab is not defined.
shaulka at 012.net.il
shaulka at 012.net.il
Tue Jun 6 14:07:24 CEST 2006
Oמ Wed, May 31, 2006 6:24 pm, lange at informatik.Uni-Koeln.DE wrote:
> >>>>> On Wed, 31 May 2006 16:52:25 +0200, shaulka at 012.net.il said:
>
> > For some reason, a partition and a mountdisk hooks claim
> that $fstab is not defined.
> > The partition hook is able to see $diskvar.
> > $fstab is mentioned in variables.sh.
>
> $fstab is always /etc/fstab, except for Solaris where it is
> /etc/vfstab. Since Solaris support was remove from FAI, I may replace
> $fstab by /etc/fstab.
>
$fstab is also fstab, for example with constructs like $LOGDIR/$fstab.
Anyway, I am trying to understand how come that when I ssh to the machine
which is being installed I get
# env | grep fstab
fstab=fstab
#
while a hook like partition can't get that. I mean, where, in the code, fstab is not
part of a hook's environment?
More information about the linux-fai
mailing list