SUMMARY: ZIP 100 and VOLD on Solaris x86 2.5.1

From: Karl Amrhein (ksa@ucolick.org)
Date: Tue Oct 14 1997 - 13:20:47 CDT


Thanks to: Anthony Worrall <Anthony.Worrall@reading.ac.uk>

The suggestion was to use the automounter (and just avoid the volume
manager all together).

I added these entries to my /etc/auto_local file:

        zip -fstype=pcfs,ro :/dev/dsk/c0t6d0p0:c
        zipufs -fstype=ufs,nosuid :/dev/dsk/c0t6d0s2

So, if there is a pcfs zip disk in the drive, a cd to /usr/local/zip
will be successful (and a cd to /usr/local/zipufs will fail). I suppose
I could have two entries for pcfs zip disks: one for read-only and one
for read-write.

If there is a ufs zip disk in the drive, a cd to /usr/local/zipufs
will be successful (and a cd to /usr/local/zip will fail). The disk
cannot be ejected until it's unmounted (5 minutes of inactivity).
Not an ideal situation...I'd prefer to have the user be able to eject
the disk immediately.

In any case, the suggestion was a good one, and it solved my problem.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
% mount | grep zip

% cd /usr/local/zip # resulted in a successful mount

% cd /usr/local/zipufs
/usr/local/zipufs: No such file or directory.

% mount | grep zip
/usr/local/zip on /dev/dsk/c0t6d0p0:c read only on ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

My original question was:

> Right now I'm manually mounting & umounting my zip disks as root
> on my Solaris x86 2.5.1 machine:
>
> # mount -F pcfs /dev/dsk/c0t6d0p0:c /zip (for DOS formatted zip disks)
> # mount /dev/dsk/c0t6d0s2 /zip (for UFS formatted zip disks)
>
> I'd like to have the volume manager (vold) manage this process so mortal
> users can utilize the zip drive easily using both pcfs and ufs zip disks.
>
> Has anyone configured vold to manage a zip drive under Solaris x86 2.5.1 ?
> If so, how did you do it?
>
> I've already looked at ftp.me.mtu.edu:/pub/iomega/dev_rmscsi.c
> However, it appears that it only automounts on a SPARC machine:
>
> * this code works on Solaris SPARC *and* x86 (and probably PPC).
> * BUT, on x86/PPC, volmgt *won't* find the name (if any)
> * of the media correctly ... and rmmount *won't*
> * automagically mount the media for you.
> *

========================================================================

Anthony Worrall <Anthony.Worrall@reading.ac.uk>, wrote:

I don't know about using the volume manager but maybe you could use the
automount manager with enteries in auto_direct of the form

/zip -fstype=pcfs,nosuid :/dev/dsk/c0t6d0p0:c
/zip -nosuid :/dev/dsk/c0t6d0s2

========================================================================

-- 

Karl Amrhein UCO/Lick Observatory University of California, Santa Cruz



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:05 CDT