[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTimV_zKK-Ubw3vJkDUtrYvB+W06cRR7Nz2vam6fP@mail.gmail.com>
Date: Thu, 18 Nov 2010 00:40:16 +0100
From: Kay Sievers <kay.sievers@...y.org>
To: Valdis.Kletnieks@...edu
Cc: Lennart Poettering <mzxreary@...inter.de>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
linux-kernel <linux-kernel@...r.kernel.org>,
Greg KH <greg@...ah.com>, Werner Fink <werner@...e.de>,
Jiri Slaby <jslaby@...e.cz>
Subject: Re: tty: add 'active' sysfs attribute to tty0 and console device
On Wed, Nov 17, 2010 at 23:01, <Valdis.Kletnieks@...edu> wrote:
> On Wed, 17 Nov 2010 00:10:24 +0100, Lennart Poettering said:
>
>> When two users A and B are logged in, on tty1 resp. tty2, then as long
>> as tty1 is active user A should get access to the sound card, usb key,
>> .... As soon as we switch to tty2 user B should.
>
> So I change to tty1, plug in my 8G USB memory stick, and I have access to it.
> I start copying something big to it, and change to tty2 to do something else
> while the long copy happens...
>
> ... and my copy craps out because tty1 lost access to the USB.
>
> Brilliant.
Brilliant conclusion. If you have mounted it, you own it. But you can
not make your inactive session mount another new one. It's like this
since ages. Hint: try stuff before hitting reply too fast. :)
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists