Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946012AbWBOQkR (ORCPT ); Wed, 15 Feb 2006 11:40:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946016AbWBOQkQ (ORCPT ); Wed, 15 Feb 2006 11:40:16 -0500 Received: from dspnet.fr.eu.org ([213.186.44.138]:32274 "EHLO dspnet.fr.eu.org") by vger.kernel.org with ESMTP id S1946012AbWBOQkP (ORCPT ); Wed, 15 Feb 2006 11:40:15 -0500 Date: Wed, 15 Feb 2006 17:40:07 +0100 From: Olivier Galibert To: Jan Engelhardt Cc: Greg KH , Joerg Schilling , davidsen@tmr.com, nix@esperi.org.uk, linux-kernel@vger.kernel.org, axboe@suse.de Subject: Re: CD writing in future Linux (stirring up a hornets' nest) Message-ID: <20060215164007.GB516@dspnet.fr.eu.org> Mail-Followup-To: Olivier Galibert , Jan Engelhardt , Greg KH , Joerg Schilling , davidsen@tmr.com, nix@esperi.org.uk, linux-kernel@vger.kernel.org, axboe@suse.de References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 21 On Wed, Feb 15, 2006 at 04:44:38PM +0100, Jan Engelhardt wrote: > > > >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)" > > > When was that added? /sys/block/hdc/device/ only has "power", "block", > "bus" and "driver" here on a 2.6.13-rc3. No, it's /sys/block/hdc/dev (22:0 here on 2.6.12). Makes sense to have it there if you have multiple driver-generated device node entries for the same physical device. I'm thinking of usb multi-function devices here in particular (disk+bluetooth, video+hid [dvb+remote control that is]). OG. - 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/