devfs
[Top] [All Lists]

saving permissions in /dev-state of UNIX98 ptys

To: devfs@xxxxxxxxxxx
Subject: saving permissions in /dev-state of UNIX98 ptys
From: Chris the Elder <chippo@xxxxxxxxxxxxxxx>
Date: Tue, 25 Apr 2000 12:57:51 +0200
Sender: owner-devfs@xxxxxxxxxxx
Greetings,

At one stage, I wanted to save the changed inodes
in /dev, so I uncommented the lines in /etc/devfsd.conf:
--------------------------
REGISTER .*  COPY /dev-state/$devname $devpath
CHANGE  .*  COPY $devpath /dev-state/$devname
CREATE  .*  COPY $devpath /dev-state/$devname
--------------------------
It seemed to work fine.  I since decided to not copy
these inodes, and I now rather get (or at least try to
get) devfsd to make everything that I need in /dev on
the fly.  So, I don't currently suffer from this problem,
but for the rest of the mail, assume that the above
lines are in /etc/devfsd.conf.

I was logging in to xterms and gnome-terms OK,
until I logged in as root.  This worked fine, but then
when I next logged in as chippo, I had the UNIX98
pty problem, similarly to when I had glibc-2.1.2
installed.  This was persistent across reboots.

It seemed to me (though I don't know enough to
confirm it), that when root logged in, it changed the
permissions of some pty stuff, and that devfsd was
remembering this.

I could well have (due to ignorance) messed up
the installation.  Any guesses what?

Or this could be a bug.  Maybe we should warn
people in the README.

Cheers,
chippo


<Prev in Thread] Current Thread [Next in Thread>
  • saving permissions in /dev-state of UNIX98 ptys, Chris the Elder <=