Date: Thu, 30 Nov 1995 20:55:35 -0500 (EST) From: Peter Berger <peterb@tcptest.psc.edu> To: julian@ref.tfs.com Cc: freebsd-scsi@freebsd.org, freebsd-doc@freebsd.org Subject: Re: question: Message-ID: <199512010155.UAA19491@tcptest.psc.edu> In-Reply-To: <199512010133.RAA13235@ref.tfs.com> (message from Julian Elischer on Thu, 30 Nov 1995 17:33:46 -3200 (PST))
next in thread | previous in thread | raw e-mail | index | archive | help
One more note; the ioctl(2) man page does not list EACCES as a possible error, so it should probably be updated. Peter > From: Julian Elischer <julian@ref.tfs.com> > Date: Thu, 30 Nov 1995 17:33:46 -3200 (PST) > Cc: freebsd-scsi@freebsd.org > X-Mailer: ELM [version 2.4 PL24] > Content-Type: text > > 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....) > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512010155.UAA19491>