[Debian-eeepc-devel] eeepc-acpi-scripts + console + gnu screen ircase?effect
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Mon Apr 12 19:43:28 UTC 2010
On Mon, 12 Apr 2010, Damyan Ivanov wrote:
> -=| Cristian Ionescu-Idbohrn, Mon, Apr 12, 2010 at 03:20:37PM +0200 |=-
> > Is writing to /dev/console a good idea, at all? joeuser is not
> > allowed to do that. This is how that file is listed on my box:
> >
> > crw------- 1 root root 5, 1 Mar 15 09:23 /dev/console
>
> ACPI hooks run as root.
Ok. That might change, but it's not a problem now. Right?
Then it's the other thing: cluttering the console. I do understand
messaging is important. But 'logger' should be a better way to achieve
that.
# tail -f /var/log/syslog
in a desktop terminal, push a button and watch the show. No need to
switch to a console to look for messages. I understand there are some
cases where switching to a virtual console may leed to not being able to
switch back to X.
Cheers,
--
Cristian
More information about the Debian-eeepc-devel
mailing list