Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Oct 2010 12:07:20 +0300
From:      Andriy Gapon <avg@freebsd.org>
To:        freebsd-scsi@freebsd.org
Subject:   [HEADSUP] changes to cam_get_device() and cam_open_device()
Message-ID:  <4CAEDF48.1030602@freebsd.org>
In-Reply-To: <4CA30B24.8040707@freebsd.org>
References:  <4BCDEBF6.3030609@icyb.net.ua> <20100423184412.GA5016@nargothrond.kdm.org> <4BD1FC74.3090504@freebsd.org> <4CA30B24.8040707@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

As there was no objections, I am going to commit changes to cam_get_device()
that remove the following features:

- ignoring 'r' and 'n' at the start of device name
- ignoring whitespace at end of device name
- parsing and ignoring slice and partition names in a device name

cam(3) manual page is going to be updated to reflect the changes.
This would simplify the code and disambiguate its behavior.

Non-rewound and character disk/SCSI devices has not been supported for quite a
while now.  Support for parsing partition/slice names is incomplete (e.g. GPT
scheme is not supported) and of questionable usefulness.

Full diff is here:
http://people.freebsd.org/~avg/cam.diff

If you know of any functionality or application that would be broken by this
change please stop me ASAP.
Also, if you have any other reason to object to the change please speak up
before the change is committed.

Thank you.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CAEDF48.1030602>