Re: About /dev/console!

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

 




2013/4/28 Nico Kadel-Garcia <nkadel@xxxxxxxxx>


On Sun, Apr 28, 2013 at 7:24 AM, Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
On Sat, Apr 27, 2013 at 07:13:59PM -0300, Sergio Belkin wrote:
> ls -l /dev/console\!
> -rw-r--r--. 1 root root 0 abr 27 13:55 /dev/console!

That's strange.

My copy of the console(4) man page doesn't mention this, and that's
not exactly surprising since what you've got there is a regular file,
not a char device like /dev/console.



Yes when I read Nico Kadel-Garcia post, I think that it was talking about the right man page, but it wasn't:

http://linux.die.net/man/1/console is about an appl (section 1 of manual !) and it says :


"The type of console. Values will be a '/' for a local device, '|' for a command, '!' for a remote port, '%' for a Unix domain socket, and '#' for a noop console. "

So got the misunderstanding, but it has nothing to do with special device /dev/console




 

Best guess is this is the result of a rogue script or broken udev
rule.  Any idea what program you ran around at 13:55 yesterday?

Rich.

I'd vote "broken shell script that was trying to write to /dev/console, and got it wrong, on April 27. "  Doing "ls -ld /dev/console*" will show  a "/dev/console" that is a "character" device, not a plain file.



I rebooted the system and in fact /dev/console! is not there, I didn't find nothing suspicious, if it appears again I'll take a look to udev rules...

Thanks

--
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux