On Wed, 12 May 2010 16:20:49 +0200, Matthew Jacob m...@feral.com wrote:
Ow. No need to be rude :-).
No, I didn't, why do you ask?
Oh never mind, I just liked the use of alphabetical characters to indicate
disk devices and I always wondered what DOS/Windows would do if you had
more than
On Wed, 12 May 2010 00:22:01 +0200, Matt Jacob mja...@freebsd.org wrote:
Author: mjacob
Date: Tue May 11 22:22:01 2010
New Revision: 207933
URL: http://svn.freebsd.org/changeset/base/207933
Log:
Deal sensibly with more than 26 sg devices. It isn't a complete
solution.
Sponsored by:
On May 12, 2010, at 8:29 AM, Matthew Jacob wrote:
On 5/12/2010 7:23 AM, Scott Long wrote:
On May 12, 2010, at 8:20 AM, Matthew Jacob wrote:
Ow. No need to be rude :-).
No, I didn't, why do you ask?
Wow, did you copy this from windows? :-)
Actually I'm impressed
* Matt Jacob (mja...@freebsd.org) wrote:
- (void)make_dev_alias(softc-dev, sg%c, 'a' + periph-unit_number);
+ if (periph-unit_number 26) {
+ (void)make_dev_alias(softc-dev, sg%c, periph-unit_number +
'a');
+ } else {
+ (void)make_dev_alias(softc-dev,
On 05/12/2010 11:12 AM, Dmitry Marakasov wrote:
* Matt Jacob (mja...@freebsd.org) wrote:
- (void)make_dev_alias(softc-dev, sg%c, 'a' + periph-unit_number);
+ if (periph-unit_number 26) {
+ (void)make_dev_alias(softc-dev, sg%c, periph-unit_number +
'a');
+