Package: fai
Version: 2.10
Followup-For: Bug #334373

reopen 334373
thanks

 I have fai-server, -client, etc. installed on my workstation, running
Debian i386/unstable.  (This is a testbed, but I'm using Sarge and 2.4
kernels (for openMosix) on my cluster...)  Anyway, since I'm using 2.4
kernels, udev doesn't do anything.  This bug is only solved for 2.6
kernels!  Not having /dev/tty[1-9], or /dev/hd* or /dev/sd* is a
showstopper.  I think on an FAI server running sarge, there wouldn't
be a problem, because debootstrap would create a full set of devices.

 My solution is to run   MAKEDEV generic.  (MAKEDEV has a good man
page, BTW.)  make-fai-nfsroot could run MAKEDEV inside the nfsroot, or
the clients can have this hook:
setup.FAIBASE:

#! /bin/sh
# confdir is the first task, but it's ok with a minimal /dev
# This hook exists because post-sarge debootstrap have a minimal /dev
# it would be best to run MAKEDEV in the nfsroot, but this is a
fallback.

if ! [ -e /dev/tty2 ];then
   echo "/dev/tty2 doesn't exist!  running  MAKEDEV generic"
   cd /dev
   MAKEDEV generic
fi

 I considered having it do that only if [ $DO_INIT_TASKS -eq 1 ], but
I'd like to have my /dev fixed if it was missing /dev/tty2, no matter
what!

 (I was never a fan of devfs or udev.  I like having the devices exist
and letting the kernel autoload modules when devices are accessed.
It's fun being an old curmudgeon, and I'm not even old :)

 Anyway, happy hacking,

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to