I have one more idea that is more fun... I have all my ISO files in /ISO
My /etc/auto_master: # Master map for automounter # +auto_master /net -hosts -nosuid,nobrowse /home auto_home -nobrowse /mountedISO auto_iso My /etc/auto_iso * -fstype=hsfs :/ISO/&.iso Now when I cd to /mountedISO/xp, the /ISO/xp.iso is mounted. If I cd tp /mountedISO/OI, the /ISO/OI.iso is mounts And so on. Drop a new iso in /ISO and cd to /mountesISO/? to access it. Mike On Wed, 2012-07-18 at 08:09 -0400, Michael Stapleton wrote: > I have a bit more time to answer more fully now. > > > Add a line to the /etc/auto_master file for a direct map > > # cat /etc/auto_master > > # Master map for automounter > # > +auto_master > /net -hosts -nosuid,nobrowse > /home auto_home -nobrowse > /- auto_direct > > > Create the direct map /etc/auto_direct with an entry like this: > > /cdrom -fstype=hsfs :/ISO/xp.iso > > replace "/cdrom" with where you want the iso mounted, replace > "/ISO/xp.iso" with the path to your iso file. > > > Run automount: > > # automount -v > > Cd to your mountpoint and the iso should be automatically mounted. > > > Mike > > > On Wed, 2012-07-18 at 12:25 +0100, Aneurin Price wrote: > > > On 17 July 2012 17:50, Michael Stapleton > > <michael.staple...@techsologic.com> wrote: > > > Or a job for autofs. > > > > > > Check out the man page for automount. > > > > > > > Thanks for the suggestion. The automount option does sound cleaner, > > although the init script option has the advantage of being very, very > > simple. > > > > I'll look into exactly how the automounter works - thank you both for > > the suggestions. > > > > _______________________________________________ > > OpenIndiana-discuss mailing list > > OpenIndiana-discuss@openindiana.org > > http://openindiana.org/mailman/listinfo/openindiana-discuss > > > > --=-Gdhuk2g1yw0R6m5lnMWu-- > > > _______________________________________________ > OpenIndiana-discuss mailing list > OpenIndiana-discuss@openindiana.org > http://openindiana.org/mailman/listinfo/openindiana-discuss
_______________________________________________ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss