From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265152AbUHHFxh (ORCPT ); Sun, 8 Aug 2004 01:53:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265161AbUHHFxh (ORCPT ); Sun, 8 Aug 2004 01:53:37 -0400 Received: from fw.osdl.org ([65.172.181.6]:24045 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S265152AbUHHFxf (ORCPT ); Sun, 8 Aug 2004 01:53:35 -0400 Date: Sat, 7 Aug 2004 22:53:13 -0700 (PDT) From: Linus Torvalds To: Martin Mares cc: Joerg Schilling , James.Bottomley@steeleye.com, axboe@suse.de, linux-kernel@vger.kernel.org Subject: Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices In-Reply-To: <20040807114046.GA5249@ucw.cz> Message-ID: References: <200408071128.i77BSNCd006957@burner.fokus.fraunhofer.de> <20040807114046.GA5249@ucw.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 7 Aug 2004, Martin Mares wrote: > > Most of all, I would like to know (I see I'm repeating myself, but I still > haven't seen an answer to that) what's so special about the SCSI-like devices, Don't even bother. Joerg is wrong. SCSI number simply doesn't work, and the current Linux setup is absolutely the right thing to do. If Joerg keeps breaking cdrecord, the distributions will hopefully just keep unbreaking it. The way you send SCSI commands to a device under Linux is to open the device (with O_NDELAY) and then just start sending the commands. None of the idiotic scanning and SCSI numbering crap. Involving Joerg in it just makes you go crazy. Don't bother. Linus