[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Removing translators from nodes

From: Thomas Schwinge
Subject: Removing translators from nodes
Date: Mon, 29 Jan 2007 22:13:51 +0100
User-agent: Mutt/1.5.11


On Sun, Jan 28, 2007 at 11:24:56AM +0000, olafBuddenhagen@gmx.net wrote:
> On Sat, Jan 27, 2007 at 06:16:22PM +0000, massimo s. wrote:
> > olafBuddenhagen@gmx.net ha scritto:
> > > Does it also hang if you don't have a translator there at all?
> > 
> > If I settrans -fg /dev/urandom yes, it hangs.
> settrans -fg only removes the active translator, but the passive one is
> still there, so it will get restarted immediately on next access to the
> file. To really remove it, you need to do "settrans -fgap".

Mit Verlaub, but that is not true:

thomas@leibniz:/var/tmp $ settrans -cap hello /hurd/hello
thomas@leibniz:/var/tmp $ cat hello 
Hello, world!
thomas@leibniz:/var/tmp $ settrans -g hello
thomas@leibniz:/var/tmp $ cat hello
thomas@leibniz:/var/tmp $ showtrans hello
thomas@leibniz:/var/tmp $ ls -l hello
-rw-r--r-- 1 thomas users 0 2007-01-29 22:05 hello

In fact, as far as I can tell we don't have a switch to tell `settrans'
to _only_ remove a running active translator from a node, which would be
useful to have.  Should we change `-g''s semantics or invent a new
option?  `-ga' (for removing an active translator) vs. `-gp' (for
removing a passive one) vs. `-gap' (equalling the current `-g' for
removing both of them) doesn't seem too bad to me.  Or rather align to
`-c' and have `-g' only remove the passive one by default?


Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]