Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 19 Apr 2001 03:50:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 19 Apr 2001 03:50:24 -0400 Received: from denise.shiny.it ([194.20.232.1]:26593 "EHLO denise.shiny.it") by vger.kernel.org with ESMTP id ; Thu, 19 Apr 2001 03:50:05 -0400 Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010418230335.A17216@win.tue.nl> Date: Thu, 19 Apr 2001 09:49:48 +0200 (CEST) From: Giuliano Pochini To: Guest section DW Subject: Re: I can eject a mounted CD Cc: lna@bigfoot.com, linux-kernel@vger.kernel.org, Alan Cox , Jens Axboe Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >> > Right, so I'll check what eject(1) does. It might eject the disk even if it >> > failed to unmount. >> >> It shouldn't be able to. But check and see what happens. > > (1) There are many different programs all called eject(1). > I find at least four of them on this machine. > > (2) I missed the start of the discussion; if this is a SCSI cdrom then > many eject programs will use raw SCSI commands and the kernel does not > try to parse raw SCSI commands so does not know that it is ejecting > a mounted cdrom. Yes, eject(1) (version 2.0.2, I don't remember the author) sends a SCSI command to eject the disk, but it's broken because it doesn't even try to umount the partition. It gets confused by my unusual fstab. I'll fix it as soon as I have some spare time. Bye. Giuliano Pochini ->)|(<- Shiny Network {AS6665} ->)|(<- - 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/