ports  

Re: [NEW] sysutils/hotplug-diskmount

Michael Lechtermann
Fri, 12 Mar 2010 02:11:54 -0800

Hi,

> Since we're on the subject, maybe I should share my attach script.
> It mounts the newly inserted device at the next free /mnt/umassN
> which must of course exist.  It starts an xterm with the cwd set
> to the mount point and unmounts the device when the xterm closes.
> 
> Anyone else with more fancy scripts that would like to share?

Sure. ;-)

http://cvs.lechtermann.net/cvsweb/OpenBSD/etc/hotplug/


Michael