Date: Wed, 01 Nov 1995 16:28:44 -0800 From: Lyndon Nerenberg VE7TCP <lyndon@orthanc.com> To: freebsd-hackers@freebsd.org Subject: Automounting CD-ROMs Message-ID: <199511020028.QAA26005@multivac.orthanc.com>
next in thread | raw e-mail | index | archive | help
Are any of you familiar with the Irix 'mediad' daemon? It's main purpose in life is to handle the CDROM automount scenario being discussed. The program refers to a config file listing the devices to be scanned, and probes them periodically (I think every five seconds) to look for media insertion. If a CDROM appears, and if it contains a recognized filesystem, the filesystem is mounted automatically at a location also specified in the config file. It locks the device to prevent a front-panel ejection of the media. Graceful unmount and eject is handled by the 'eject' command. The downside is that 'eject' requires root priv's. If you have a public workstation environment you would want the console user to be able to remove the media they inserted. Determining the class "console user" in a windowing environment could be problematic. Then again, the public workstation scenario usually sees the workstation configured to deny remote logins, so it probably doesn't matter. Just more food for thhought. The AMD scenario seems needlessly complex. --lyndon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511020028.QAA26005>