From owner-freebsd-scsi Thu Nov 30 17:35:35 1995 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA11501 for freebsd-scsi-outgoing; Thu, 30 Nov 1995 17:35:35 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA11470 for ; Thu, 30 Nov 1995 17:35:22 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id RAA13235; Thu, 30 Nov 1995 17:33:47 -0800 From: Julian Elischer Message-Id: <199512010133.RAA13235@ref.tfs.com> Subject: Re: question: To: peterb@tcptest.psc.edu (Peter Berger) Date: Thu, 30 Nov 1995 17:33:46 -3200 (PST) Cc: freebsd-scsi@freebsd.org In-Reply-To: <199512010018.TAA19504@tcptest.psc.edu> from "Peter Berger" at Nov 30, 95 07:18:14 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 484 Sender: owner-freebsd-scsi@freebsd.org Precedence: bulk The ioctls can do things like 'format device' (what do you mean 'mounted' read only) you shouldn't be accessing a device for ioctls when it's 'mounted' (as in mounting a disk partition). > > > what's the rationale for returning EACCES when trying to ioctl a > device mounted read-only? inquiring minds want to know. > > (I encountered this problem with xmcd, which was failing because of > it. I decided it was easier to change the kernel than to compile > Motif, so....) >