lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 26 Sep 2006 06:41:19 -0700
From:	Greg KH <greg@...ah.com>
To:	Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc:	linux-kernel@...r.kernel.org, Kay Sievers <kay.sievers@...y.org>
Subject: Re: [PATCH 30/47] Driver core: create devices/virtual/ tree

On Tue, Sep 26, 2006 at 09:24:15AM -0400, Dmitry Torokhov wrote:
> On 9/26/06, Greg KH <greg@...ah.com> wrote:
> >From: Greg Kroah-Hartman <gregkh@...e.de>
> >
> >This change creates a devices/virtual/CLASS_NAME tree for struct devices
> >that belong to a class, yet do not have a "real" struct device for a
> >parent.  It automatically creates the directories on the fly as needed.
> >
> 
> Why do you need multiple virtual devices? All parentless class devices
> could grow from a single virtual device.

They could, but it's a mess of a single directory if you do that.
Having /sys/devices/virtual/tty/ as a place for all tty virtual device
is nicer than /sys/devices/virtual/ as a single place for all of them
(mem, network, tty, misc, etc.)

thanks,

greg k-h
-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ