$fstab variable in fai scripts
Thomas Lange
lange at informatik.Uni-Koeln.DE
Fri Apr 19 10:09:28 CEST 2002
>>>>> On 18 Apr 2002 19:22:19 +0200, Thomas Montfort <thomas.montfort at insa-tlse.fr> said:
> Hello,
> looking at fai installation scripts, I don't understand the use
> of the $fstab variable : some routines use this variable (e.g.,
> task_mountdisks), whereas the 'setup_harddisks' script (called
> during the previous install task, task_partition) use the
> hardcoded name $filename = "$ENV{LOGDIR}/fstab"
$fstab is fixed in setup_harddisks, since this tool is only used with
Linux, where /etc/fstab is used. But I'm porting FAI to Solaris on SUN
Sparc hardware. Solaris uses /etc/vfstab. So it's a variable to be
prepared for the future.
--
Gruss Thomas
More information about the linux-fai
mailing list