udev.diff discussion - fai package for Ubuntu 8.10 (both server and client)
Adrian Gibanel Lopez
agibanel at alumnes.udl.cat
Wed Jan 14 21:42:05 CET 2009
> diff -urN original/debian/udev.initramfs-bottom
modificado/debian/udev.initramfs-bottom
> --- original/debian/udev.initramfs-bottom 2008-12-30 19:19:35.000000000
+0100
> +++ modificado/debian/udev.initramfs-bottom 2008-12-30
19:26:30.000000000 +0100
> @@ -27,5 +27,5 @@
> # Move the real filesystem's /dev to beneath our tmpfs, then move it all
> # to the real filesystem
> mkdir -m 0700 -p /dev/.static/dev
> -mount -n -o bind ${rootmnt}/dev /dev/.static/dev
> -mount -n -o move /dev ${rootmnt}/dev
> +mount -n --bind ${rootmnt}/dev /dev/.static/dev || mount -n -o bind
${rootmnt}/dev /dev/.static/dev
> +mount -n --move /dev ${rootmnt}/dev || mount -n -o move /dev
${rootmnt}/dev
I repeat that I finally did not use this hacked version of udev and FAI
seemed to work ok.
You can see the mount -o option --option hack. I suspect that it is run
when the busybox mount command is available thus no error does happen.
--
Firma Automática 1:
---------------------
Adrian Gibanel Lopez
Estudiante de Ingenieria de Informatica de Sistemas en la Universitat de
LLeida.
Firma Automática 2:
---------------------
Participante en el III Concurso Universitario de Software Libre.
Proyecto: Desdeslin. http://desdeslin.wordpress.com
More information about the linux-fai
mailing list