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]
Message-ID: <41840b750607300748u23d24653s273123be5017be63@mail.gmail.com>
Date:	Sun, 30 Jul 2006 17:48:22 +0300
From:	"Shem Multinymous" <multinymous@...il.com>
To:	"kernel list" <linux-kernel@...r.kernel.org>
Subject: Re: Generic battery interface

On 7/30/06, Tomasz Torcz <zdzichu@....pl> wrote:
> On Sun, Jul 30, 2006 at 12:52:52PM +0300, Shem Multinymous wrote:
> > Put otherwise:
> > Q:Quick, which io scheduler is used by /dev/scd0?
> > A: cat /sys/dev/$((0x`stat -c%t /dev/scd0`))/\
> >                $((0x`stat -c%T /dev/scd0`))/queue/scheduler
>
>  A2: cat /sys`udevinfo -n scd0 -q path`/queue/scheduler  ?

You win.
Since udev manages /dev, it makes sense to ask it for this info. I
guess one can think of major:minor as a udev private implementation
detail, in this context.

  Shem
-
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