[stgt] RFC [patch] v2 Search /sys/class/bsg/<ctl>/dev for bsg major number.

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Fri Aug 27 00:57:47 CEST 2010


On Wed, 25 Aug 2010 00:46:53 +1000
Mark Harvey <markh794 at gmail.com> wrote:

> Reworked the patch using scanf/printf - Thanks Nicholas for the
> pointer. I knew there had to be a simpler method, it just wasn't
> coming to me at the time.
> 
> I've attached patch as an attachment to prevent white-space corruption.
> 
> Also included inline for easier reading / review.
> 
> From 1215fae094812201ea563cbd45c6a90b4ef1f38f Mon Sep 17 00:00:00 2001
> From: Mark Harvey <markh794 at gmail.com>
> Date: Sat, 21 Aug 2010 15:22:48 +1000
> Subject: Check bsg major number from /sys/class/bsg/<c:t:l>/dev
> 
> Signed-off-by: Mark Harvey <markh794 at gmail.com>
> ---
>  usr/bs_sg.c |   27 ++++++++++++++++++++++++---
>  1 files changed, 24 insertions(+), 3 deletions(-)
> 

Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list