[arch-general] Impossible redirect console buffer to log

Ralph Corderoy ralph at inputplus.co.uk
Sat Mar 2 09:20:32 UTC 2019


Hi Maykel,

> > > > Otherwise, `LC_ALL=C strace -ff -o st /usr/local/bin/CCcam -d'
> > > > will capture the write(2)s or similar and you can see what file
> > > > descriptors its writing to and work backwards to see how that
> > > > was obtained, e.g. by opening /dev/tty.
> > >
> > > Nothing happens, it closes and the process does not start
> > >
> > > root at arch:~# LC_ALL=C strace -ff -o st /usr/local/bin/cccam -d
> > > root at arch:~#

It's not a good idea to run commands suggested on the Internet without
first getting some understanding of what they will do to your system.
That strace(1) command will have created one or more `st.*' files
allowing you to see all the system calls the process and its children
did, including what led to it deciding not to do any output.

-- 
Cheers, Ralph.


More information about the arch-general mailing list