From owner-freebsd-current Fri Jun 23 8:38:30 2000 Delivered-To: freebsd-current@freebsd.org Received: from gw.nectar.com (gw.nectar.com [209.98.143.44]) by hub.freebsd.org (Postfix) with ESMTP id 46DEE37B8A3 for ; Fri, 23 Jun 2000 08:38:24 -0700 (PDT) (envelope-from nectar@nectar.com) Received: from bone.nectar.com (bone.nectar.com [10.0.1.105]) by gw.nectar.com (Postfix) with ESMTP id 74CFB9B37 for ; Fri, 23 Jun 2000 10:38:23 -0500 (CDT) Received: by bone.nectar.com (Postfix, from userid 1001) id 31E841DC6; Fri, 23 Jun 2000 10:38:23 -0500 (CDT) Date: Fri, 23 Jun 2000 10:38:22 -0500 From: "Jacques A . Vidrine" To: FreeBSD current users Subject: comments wanted: media load/eject ioctls (was Re: -e option to umount?) Message-ID: <20000623103822.I76049@bone.nectar.com> Mail-Followup-To: "Jacques A . Vidrine" , FreeBSD current users References: <395265AA.AEC5EB8@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from green@FreeBSD.org on Thu, Jun 22, 2000 at 01:44:47PM -0700 X-Url: http://www.nectar.com/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG We've had a CDIOCEJECT ioctl `forever'. Several drivers support it, such as cd, acd, and wfd. However, there are other drivers that support removable media but do not support CDIOCEJECT: da and sa. Likewise we have CDIOCCLOSE which should cause a device to load its media. I want to add these ioctls to da and sa [1]. I don't like the CDIO name, though. I'd like to give these ioctls a different name. I'm not sure what header file might be appropriate for them. I'd like to keep the new ioctls binary-compatible with CDIOC(EJECT|CLOSE)-- i.e. use ioctls 24 & 28. Or maybe I'm the only one who wouldn't like to invoke the name CDIOCEJECT to unload a tape :-) Thanks, -- Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org [1] Are there other drivers which should support media load/eject, that do not already? Do any systems have system-ejectable PC cards for example (never seen such myself)? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message