Having mount2ir mount -n by default.

karl shaul shaulk at 013.net
Wed Nov 9 19:28:14 CET 2005


Package: fai
Version: 2.8.4
Severity: wishlist

*** Please type your report below this line ***

$ grep -A 10 -B 1 task_mountdisks /usr/share/fai/subroutines
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
task_mountdisks() {

    [ ! -f $LOGDIR/$fstab ] && die "No $LOGDIR/$fstab created."
    # mount swap space
    local sd
    for sd in $SWAPLIST; do
        swapon $sd && [ "$verbose" ] && echo "Enable swap device $sd"
    done
    mount2dir $FAI_ROOT $LOGDIR/$fstab
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  I believe that calling mount2dir (from above) by

    mount2dir $FAI_ROOT $LOGDIR/$fstab n

, so that mount will get the -n option in order not to use /etc/mtab, will help those who are mounting nfs ro while not hurting anyone else. Do you agree? 
  Are there more places that should be modified for nfs ro purposes? Will the shutdown scripts be able to cope with this?

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1.pentium1.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages fai depends on:
ii  libapt-pkg-perl               0.1.13     Perl interface to libapt-pkg
ii  perl                          5.8.7-3    Larry Wall's Practical Extraction

Versions of packages fai recommends:
ii  debootstrap                   0.3.1.4    Bootstrap a basic Debian system
ii  dhcp3-server                  3.0.2-3    DHCP server for automatic IP addre
hi  fai-kernels                   1.9        special kernels for FAI (Fully Aut
ii  nfs-kernel-server [nfs-server 1:1.0.7-3  Kernel NFS server support pn  rsh-server                    <none>     (no description available)
ii  syslinux                      2.11-0.1   Bootloader for Linux/i386 using MS
ii  tftpd-hpa [tftpd]             0.40-4.1   HPA's tftp server
ii  wget                          1.10.1-1   retrieves files from the web

-- debconf information:
* fai/mirrorhost:
* fai/installserver: fai/run-faisetup-on-install: false
 



More information about the linux-fai mailing list