Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Using devfsd

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Seth Woolley <seth AT tautology.org>
  • To: Eric Sandall <eric AT sandall.us>
  • Cc: Source Mage - Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Using devfsd
  • Date: Tue, 10 Jun 2003 13:42:12 -0700 (PDT)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

many of us have moved to devfsd and mounted to /dev with a symlink from
/devices for the bad scripts still using the old sorcerer layout (Am I
getting this down correctly?)

I think some minor tweaks to the install scripts and we wouldn't need
/devices at all, assuming we fixed these:

disk/e2fsprogs/BUILD: install -d /devices
smgl/init.d/scriptdir/mount: [ ! -d /devices ] || mount -n -t
devfs devfs /devices
smgl/init.d/scriptdir/mount.sh: [ ! -d /devices ] || mount -n -t
devfs devfs /devices
audio/dcd/BUILD: sedit "s/\/dev\/cdroms\/cdrom0/\/devices\/cdroms\/cdrom0/"
Makefile
audio/dcd/HISTORY: Spell will now look for CD in
/devices/cdrom/cdrom0
audio/alsa-driver-virmidi/BUILD: ln -sf /devices/snd /dev/snd
audio/alsa-driver/BUILD: ln -sf /devices/snd /dev/snd
audio/alsa-driver/BUILD: chown root.audio /devices/snd/*
audio/alsa-driver/BUILD: chmod 666 /devices/snd/*
audio/alsa-driver/HISTORY: of sound devices in /devices when the
are created.
graphics/xsane/POST_INSTALL:/dev/scanner|sg0|sga or /devices/usb/scanner0,
note: how SMGL devfs is set up
graphics/sane-backends/POST_INSTALL:/dev/scanner|sg0|sga or
/devices/usb/scanner0, note: how SMGL devfs is set up
utils/gpm/mousedev:/devices/misc/psaux
utils/gpm/mousedev:/devices/tts/0
utils/gpm/mousedev:/devices/tts/1
utils/gpm/mousedev:/devices/usb/mouse
utils/gpm/mousedev:/devices/mouse
utils/kbd/init.d/log2cons.sh:LOGCONSOLE=/devices/vc/10
utils/lcdproc/init.d/LCDd:# /devices/cua/0, /devices/cua/1, /dev/lcd
utils/lcdproc/init.d/LCDd:LCD_DEVICE=/devices/cua/1
utils/lcdproc/init.d/lcdproc.sh:# /devices/cua/0, /devices/cua/1, /dev/lcd
utils/lcdproc/init.d/lcdproc.sh:LCD_DEVICE=/devices/cua/1
utils/Linux-PAM/securetty:/devices/vc/1
utils/Linux-PAM/securetty:/devices/vc/2
utils/Linux-PAM/securetty:/devices/vc/3
utils/Linux-PAM/securetty:/devices/vc/4
utils/Linux-PAM/securetty:/devices/vc/5
utils/Linux-PAM/securetty:/devices/vc/6
utils/sysvinit/POST_INSTALL:mkdir -p /devices
utils/sysvinit/inittab:vc1:12345:respawn:/sbin/agetty /devices/vc/1 9600
utils/sysvinit/inittab:vc2:12345:respawn:/sbin/agetty /devices/vc/2 9600
utils/sysvinit/inittab:vc3:12345:respawn:/sbin/agetty /devices/vc/3 9600
utils/sysvinit/inittab:vc4:1234:respawn:/sbin/agetty /devices/vc/4 9600
utils/sysvinit/inittab:vc5:1234:respawn:/sbin/agetty /devices/vc/5 9600
utils/sysvinit/inittab:vc6:1234:respawn:/sbin/agetty /devices/vc/6 9600

sorcery itself is clean of all bad /devices references.

we should have a default/standard devfsd configuration, too.

On Tue, 10 Jun 2003, Eric Sandall wrote:

> Hi all,
>
> I was just talking to a friend whom would like to start using SMGL
> (currently using Gentoo, but said that he is getting frustrated) and he
> asked me why we have /dev and /devices, so I explained to him that way
> back when we were all Sorcerer, /dev was for applications that still
> required the old device system and /devices was for the new devfs system,
> without breaking the other. He then mentioned that this method is not
> needed, as `devfsd` will create the old /dev links as appropriate (i.e.
> /dev/hda1 -> /dev/ide/host0/bus0/target0/lun0/part1) and that we don't
> need separate directories.
>
> What shall we do? Keep it the same, or move on to using the "new way" and
> remove /devices and /dev, then use `devfsd` to create a devfs system in
> /dev with the appropriate old system links? I also have heard that
> FreeBSD 5.1 now supports only devfs (no old dev links at all).
>
> Thoughts?
>
> -sandalle
>
> --
> PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61
> http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61
>
> Eric Sandall | Source Mage GNU/Linux Developer
> eric AT sandall.us | http://www.sourcemage.org/
> http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
> http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>

- --
Seth Alan Woolley <seth at tautology.org>, SPAM/UCE is unauthorized
Key id 7BEACC7D = 2978 0BD1 BA48 B671 C1EB 93F7 EDF4 3CDF 7BEA CC7D
Full Key at seth.tautology.org and pgp.mit.edu. info: www.gnupg.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+5kKq7fQ833vqzH0RAsD7AKCHQGdXj6CHh3ncE1uhTXWBJzufdACfUJrU
z4PcyhRnSh1hngQVKJW2XUo=
=uulq
-----END PGP SIGNATURE-----





Archive powered by MHonArc 2.6.24.

Top of Page