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
| ||
|
Message-ID: <20071015060015.GB32268@kroah.com> Date: Sun, 14 Oct 2007 23:00:15 -0700 From: Greg KH <greg@...ah.com> To: Rob Landley <rob@...dley.net> Cc: James Bottomley <James.Bottomley@...eleye.com>, Matthew Wilcox <matthew@....cx>, linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org, Jens Axboe <axboe@...e.de>, Suparna Bhattacharya <suparna@...ibm.com>, Nick Piggin <piggin@...erone.com.au> Subject: Re: What still uses the block layer? On Sun, Oct 14, 2007 at 06:45:44PM -0500, Rob Landley wrote: > On Sunday 14 October 2007 5:24:32 pm James Bottomley wrote: > > On Sat, 2007-10-13 at 16:05 -0600, Matthew Wilcox wrote: > > > On Thu, Oct 11, 2007 at 08:11:21PM -0500, Rob Landley wrote: > > > > My impression from asking questions on the linux-scsi mailing list is > > > > that the scsi upper/middle/lower layers doesn't use the block layer > > > > described in Documentation/block/*. > > > > > > Entirely incorrect. > > > > OK, right ... could we please get a sense of decorum back on this list. > > Did I reply to the insult? > > > Rob, if you didn't ask your alleged questions in such a pejorative > > manner, we'd get a lot further > > I'm not attempting to be pejorative. > > I admit a certain amount of personal annoyance that once the SCSI layer > consumes a category of device (USB, SATA, PATA), they can often _only_ be > used by going through the SCSI midlayer. (This strikes me as analogous to > TCP/IP claiming ethernet and PPP devices so thoroughly that you can no longer > address them as eth1 or /dev/ttyS0.) If you hate USB storage devices using scsi, please use the ub driver, that is what it was written for. > This has the annoying effect of bundling together different types of devices > and making device enumeration unnecessarily difficult: my laptop only has one > SATA hard drive and can't gain another without a soldering iron, but that > drive could move from /dev/sda to /dev/sdb if I reboot the system with a USB > key plugged in. This seems like a regrettable loss of orthogonality to me. > I remember back when /dev/usb0 and /dev/hda were separate devices that showed > up in /dev, but these days "it's SCSI" seems to trump "it's USB", "it's ATA", > or "it's SATA". (Even though none of those are actually SCSI hardware, they > just send a similar packet protocol across the wire.) When did usb-storage devices ever show up as /dev/usb0? USB flash disks are really SCSI devices, look at the USB storage spec for proof of that. 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