eject scsi - MO drive

Florian Lohoff flo at rfc822.org
Mon Oct 28 17:07:01 CET 2002


On Mon, Oct 28, 2002 at 01:39:57PM +0100, Johannes Goecke wrote:
> Hi,
> 
> ich habe Probleme (als User) bei einem SCSI-Mo
> die Disk mit "eject" auszuwerfen.
> 
> als root-user keine Probleme:
> bei (IDE)-Cdroms über scsi emulation keine Probleme
> 
> muss man bei eject das "s" Bit setzen?

Eject benutzt ein ioctl was nur von "root" oder vielmehr
uid 0 ausgefuehrt werden darf. Also entweder root sein - Oder
das suid bit auf dem eject command setzen oder einfach unmounten.
Mit kernel 2.4 sollte dann automagisch ein eject kommen.

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-5201-669912
                        Heisenberg may have been here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20021028/a0936c1a/attachment.sig>


More information about the Linux mailing list