Re: Re: /dev/tty no such device or address

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

 



As a followup..

If I'm running crash, and now I want to 'source' a file of commands..
(i.e. like the shells "." command).. is there anyway to do this?

 - jim


On Mon, 2008-07-14 at 14:17 -0400, Dave Anderson wrote:
> SUJIT V wrote:
> > 
> > 
> > I am trying to invoke the crash utility through one of the linux startup 
> > scripts.
> > crash -i command.txt vmlinux vmcore
> > 
> > But this gives an error
> > /dev/tty no such device or address.
> > 
> > The tty is /dev/console
> > 
> > 
> > Once the linux box boots up and i login and use the same crash command 
> > as above it works correctly
> > The tty of the login shell is /dev/ttyS0
> > 
> > Any pointers on solving the error "/dev/tty no such device or address"
> > 
> > 
> > Thanks
> > 
> > 
> 
> I see what you're seeing running from /etc/rc.local,
> where there's no /dev/tty file available to commands
> run from startup scripts.
> 
> Try this -- which works for me:
> 
>    crash vmlinux vmcore < command.txt
> 
> Dave
> 
> --
> Crash-utility mailing list
> Crash-utility@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/crash-utility
> 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux