Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030583AbWBNTAq (ORCPT ); Tue, 14 Feb 2006 14:00:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030587AbWBNTAp (ORCPT ); Tue, 14 Feb 2006 14:00:45 -0500 Received: from mailhub.fokus.fraunhofer.de ([193.174.154.14]:37262 "EHLO mailhub.fokus.fraunhofer.de") by vger.kernel.org with ESMTP id S1030583AbWBNTAp (ORCPT ); Tue, 14 Feb 2006 14:00:45 -0500 From: Joerg Schilling Date: Tue, 14 Feb 2006 19:59:19 +0100 To: schilling@fokus.fraunhofer.de, greg@kroah.com Cc: nix@esperi.org.uk, linux-kernel@vger.kernel.org, davidsen@tmr.com, axboe@suse.de Subject: Re: CD writing in future Linux (stirring up a hornets' nest) Message-ID: <43F22887.nailCA4XYHC4@burner> References: <20060125153057.GG4212@suse.de> <43D7AF56.nailDFJ882IWI@burner> <20060125181847.b8ca4ceb.grundig@teleline.es> <20060125173127.GR4212@suse.de> <43D7C1DF.1070606@gmx.de> <878xt3rfjc.fsf@amaterasu.srvr.nix> <43ED005F.5060804@tmr.com> <20060210235654.GA22512@kroah.com> <43F0891E.nailKUSCGC52G@burner> <20060213154921.GA22597@kroah.com> In-Reply-To: <20060213154921.GA22597@kroah.com> User-Agent: nail 11.2 8/15/04 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1599 Lines: 39 Greg KH wrote: > On Mon, Feb 13, 2006 at 02:26:54PM +0100, Joerg Schilling wrote: > > Greg KH wrote: > > > > > On Fri, Feb 10, 2006 at 04:06:39PM -0500, Bill Davidsen wrote: > > > > > > > > The kernel could provide a list of devices by category. It doesn't have > > > > to name them, run scripts, give descriptions, or paint them blue. Just a > > > > list of all block devices, tapes, by major/minor and category (ie. > > > > block, optical, floppy) would give the application layer a chance to do > > > > it's own interpretation. > > > > > > It does so today in sysfs, that is what it is there for. > > > > Do you really whant libscg to open _every_ non-directory file under /sys? > > Of course not. Here's one line of bash that gets you the major:minor > file of every block device in the system: > block_devices="$(echo /sys/block/*/dev /sys/block/*/*/dev)" > > The block devices are all in a specific location. Are you sure you understand the problem? It isd most unlikely that all SCSI devices are there. J?rg -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/