* [uml-devel] con0=pty '/dev/ttpy0: device or resource busy' bug?
@ 2004-11-06 13:46 Struan Bartlett
2004-11-07 16:37 ` Michael Richardson
0 siblings, 1 reply; 2+ messages in thread
From: Struan Bartlett @ 2004-11-06 13:46 UTC (permalink / raw)
To: user-mode-linux-devel
My thanks to everyone who's contributed to UML - it is a wonderfully useful
thing.
I need to run uml xterm-free and tty-free so 'm running uml with:
# linux con=pty
When I disconnect 'minicom' from /dev/ttyp0 and reconnect, minicom says:
# minicom
minicom: cannot open /dev/ttyp0: Device or resource busy
When I disconnect 'minicom' from /dev/ttyp1 or /dev/ttyp2 and reconnect, minicom connects just fine.
Is this a known bug?
Regards,
Struan Bartlett
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] con0=pty '/dev/ttpy0: device or resource busy' bug?
2004-11-06 13:46 [uml-devel] con0=pty '/dev/ttpy0: device or resource busy' bug? Struan Bartlett
@ 2004-11-07 16:37 ` Michael Richardson
0 siblings, 0 replies; 2+ messages in thread
From: Michael Richardson @ 2004-11-07 16:37 UTC (permalink / raw)
To: Struan Bartlett; +Cc: user-mode-linux-devel
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "Struan" == Struan Bartlett <struan@praguespringpeople.org> writes:
Struan> My thanks to everyone who's contributed to UML - it is a
Struan> wonderfully useful thing.
Struan> I need to run uml xterm-free and tty-free so 'm running uml
Struan> with:
Struan> # linux con=pty
I suggest you create a mortal account, and a that you run it under
screen.
I use something like:
% cat start.sh
screen -ekk -r -dmS myuml ./linux stuff
% crontab -l
@reboot $HOME/start.sh
and I have something like:
% cat .screenrc
multiuser on
adduser mcr
that means that I can login to the system and run "screen -r -x myuml/"
to get the console. Note that this requires screen to be setuid root,
which it is not installed that way by default on many systems. This is
just a security precaution --- screen is designed to operate that way.
] Train travel features AC outlets with no take-off restrictions| firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys
iQCVAwUBQY5PO4qHRg3pndX9AQHPSwQAmtaEeBnbaTov2xSU3dUB9zFYcKcr/9Cw
G/MDt6oDD9sllgiLtoXAIUHvr4zhLNgKdb/GiBESvOHU/rKViYOarJJlby+qbcwN
+C26lK9Gpq6gFbtXPy3M30Tok3BkKQP1abZBz0Y49fH8dkhji1GkYZc9kp7etXfb
M1/vf+NTRN8=
=BAkO
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-08 4:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-06 13:46 [uml-devel] con0=pty '/dev/ttpy0: device or resource busy' bug? Struan Bartlett
2004-11-07 16:37 ` Michael Richardson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.