lkml.org 
[lkml]   [2013]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] um/configs: don't use devtmpfs in defconfig
On Tue, Jul 16, 2013 at 10:36:25PM +0530, Ramkumar Ramachandra wrote:
> Richard Weinberger wrote:
> > If you don't want devtmpfs, just disable it in your config.
>
> I don't understand: is this not a good default? Why is creating bogus
> devices, confusing systemd, and making um Linux hard to boot
> desirable?

As for the devices, they are *not* bogus. RTFM, already.
Documentation/virtual/uml/UserModeLinux-HOWTO.txt, if you can't be bothered
to say git grep UML Documentation/ and find where it on your own. The
relevant section is called "Setting up serial lines and consoles".
Seriously, it's not as if the documentation didn't exist or had been
hard to find...

FWIW, default config is rather annoying - 6 xterms spawned and associated
with /dev/tty[1-6]. con0=fd:0,fd:1 con=pts mentioned in the HOWTO would,
IMO, make for much saner default.

No comments on systemd behaviour - take that with LP and his crowd. They
may or may not be confused by /dev/tty1 not being a virtual console. One
practical issue is the lack of VT102 emulation; TERM=linux when logged
in on those is not right - you want either TERM=xterm (for xterms) or
TERM=screen (when accessing pts-associated ones with screen /dev/pts/n),
etc. In any case, it's a dumb serial line as far as the guest kernel
is concerned - all terminal emulation is going to happen elsewhere (xterms
running on host and interpreting escape sequences from guest userland,
etc.)


\
 
 \ /
  Last update: 2013-07-17 16:21    [W:0.106 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site