From owner-freebsd-hackers Thu Nov 2 10:56:06 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA11815 for hackers-outgoing; Thu, 2 Nov 1995 10:56:06 -0800 Received: from covina.lightside.com (covina.lightside.com [198.81.209.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id KAA11807 for ; Thu, 2 Nov 1995 10:56:01 -0800 Received: by covina.lightside.com (Smail3.1.28.1 #6) id m0tB4nn-0009YzC; Thu, 2 Nov 95 10:55 PST Date: Thu, 2 Nov 1995 10:55:50 -0800 (PST) From: Jake Hamby To: Gary Palmer cc: Lyndon Nerenberg VE7TCP , freebsd-hackers@freebsd.org Subject: Re: Automounting CD-ROMs In-Reply-To: <1518.815328594@palmer.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk On Thu, 2 Nov 1995, Gary Palmer wrote: > Lyndon Nerenberg VE7TCP wrote in message ID > <199511020028.QAA26005@multivac.orthanc.com>: > > Are any of you familiar with the Irix 'mediad' daemon? > > And Solaris 2 has something similar (can't remember what offhand, I > tend to steer clear of the solaris box at work :-) ). The Solaris one > works for all removable media AFAIK, including floppies. > > I am not in total agreement with the principle. What happens if you > stick in an audio cd? Does it automatically play it? Ugh. > > Gary > Yes, I was just thinking about Solaris' "vold" which seems similar to the "mediad" that SGI has. The Sun volume daemon will automount any DOS-formatted flopy or ISO9660 CD-ROM, then allow any user to eject it with the "eject" command. The directory used is /floppy or /cdrom, respectively. One oddity is that Sun's floppies have software eject a la Macintosh, yet lack the ability to detect if a disk is inserted without spinning up the motor. Therefore you have to type "volcheck" whenever you insert a floppy for it to mount it. One other annoying thing is that vold controls the /device nodes for the floppy and CD-ROM, so if you want to access, for example, a tar floppy, you have to go through the /vol/dev pseudo-directory to access the raw device. Fortunately, you can configure the behavior in /etc/vold.conf to disable floppy drive "management" and use mtools or whatever instead. ---Jake