sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Treeve Jelbert <treeve01 AT pi.be>
- To: sm-discuss AT lists.ibiblio.org
- Subject: [SM-Discuss] Re: update on udev on /dev status
- Date: Thu, 25 Mar 2004 14:53:35 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 03 March 2004 14:18, Arwed von Merkatz wrote:
> Hi,
>
> another update on the udev front, things are progressing nicely :)
> Thanks to Hamish and Casey for providing me with a MAKEDEV script.
>
> Changes since last time:
>
> - the init.d spell will check the static /dev for console and null
> devices, if they don't exist it offers to create a static dev tree,
> defaulting to yes (this is only checked if the user chooses udev or
> static for device management)
> - the udev spell now installs a /etc/udev/udev.missing file that gets
> processed by the devices init script to create the devices udev
> doesn't know about, the file is commented and currently contains only
> the ppp device, if anyone finds more missing devices they can be added
> easily.
>
> Still missing is securetty and fstab editing, securetty is easy, fstab
> is hard. For fstab it'll need to map devfs names like
> /dev/ide/host0/bus0/target0/lun0/disc -> /dev/hda and vice versa, same
> for scsi. If anyone wants to take a shot at it i'll be happy to include
> it in the init.d spell.
I've just converted to udev using your spells, updated to udev-023
a modified patch for the udev makefile is attached
One problem that I had is that the new udev.* files did not get installed,
because there were still some old copies in /etc/udev, created by the
standard udev spell. It is best to get rid of these before casting the new
spell.
Also, in the new environment, fsck does not get run. I just get warnings
during boot.
Regards, Treeve
- --
PGP Key ID: AB929B24
PGP Key Fingerprint:31D9 D22F 42E6 F545 662E AB6F 9697 34C5 AB92 9B24
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAYuRolpc0xauSmyQRAtJKAJ9jNHh+k5F5+k+SjTIjQQWtq8aWGQCg4HWk
QHF1xNa5bQWH7yCZiRsquis=
=Qik6
-----END PGP SIGNATURE-----
--- Makefile 2004-03-25 01:09:50.000000000 +0100 +++ Makefile.cp 2004-03-25 10:54:13.000000000 +0100 @@ -109,7 +109,6 @@ OPTIMIZATION+=-fstrict-aliasing endif ifeq ($(strip $(TARGET_ARCH)),i386) - OPTIMIZATION+=-march=i386 OPTIMIZATION += ${shell if $(CC) -mpreferred-stack-boundary=2 -S -o /dev/null -xc \ /dev/null >/dev/null 2>&1; then echo "-mpreferred-stack-boundary=2"; fi} OPTIMIZATION += ${shell if $(CC) -malign-functions=0 -malign-jumps=0 -S -o /dev/null -xc \ @@ -354,8 +353,7 @@ $(INSTALL) -d $(DESTDIR)$(dev_ddir) $(INSTALL) -d $(DESTDIR)$(dev_ddir)default/ -install: install-initscript install-config install-dev.d all - $(INSTALL) -d $(DESTDIR)$(udevdir) +install: install-dev.d all $(INSTALL) -d $(DESTDIR)$(hotplugdir) $(INSTALL_PROGRAM) -D $(ROOT) $(DESTDIR)$(sbindir)/$(ROOT) $(INSTALL_PROGRAM) -D $(DAEMON) $(DESTDIR)$(sbindir)/$(DAEMON) @@ -370,10 +368,6 @@ $(INSTALL_DATA) -D udevd.8 $(DESTDIR)$(mandir)/man8/udevd.8 - ln -f -s udevd.8 $(DESTDIR)$(mandir)/man8/udevsend.8 - ln -f -s $(sbindir)/$(SENDER) $(DESTDIR)$(hotplugdir)/$(ROOT).hotplug -ifndef DESTDIR - - killall udevd - - rm -f $(udevdir)/.udev.tdb -endif @extras="$(EXTRAS)" ; for target in $$extras ; do \ echo $$target ; \ $(MAKE) prefix=$(prefix) LD="$(LD)" SYSFS="$(SYSFS)" \
-
Re: [SM-Discuss] update on udev on /dev status
, (continued)
-
Re: [SM-Discuss] update on udev on /dev status,
Robin Cook, 03/03/2004
- Re: [SM-Discuss] update on udev on /dev status, Arwed von Merkatz, 03/03/2004
-
Re: [SM-Discuss] update on udev on /dev status,
Eric D. Schabell M.Sc., 03/04/2004
-
Re: [SM-Discuss] update on udev on /dev status,
Eric Sandall, 03/04/2004
- Re: [SM-Discuss] update on udev on /dev status, Hamish Greig, 03/04/2004
-
Re: [SM-Discuss] update on udev on /dev status,
Eric Sandall, 03/04/2004
- [SM-Discuss] Re: update on udev on /dev status, Treeve Jelbert, 03/04/2004
-
Re: [SM-Discuss] update on udev on /dev status,
Hamish Greig, 03/22/2004
- Re: [SM-Discuss] update on udev on /dev status, Arwed von Merkatz, 03/22/2004
-
[SM-Discuss] Re: update on udev on /dev status,
Treeve Jelbert, 03/24/2004
- Re: [SM-Discuss] Re: update on udev on /dev status, Arwed von Merkatz, 03/24/2004
- [SM-Discuss] Re: update on udev on /dev status, Treeve Jelbert, 03/25/2004
-
Re: [SM-Discuss] update on udev on /dev status,
Robin Cook, 03/03/2004
Archive powered by MHonArc 2.6.24.