[98240] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: no luck mounting Internal Zip drive

daemon@ATHENA.MIT.EDU (Gordon Messmer)
Sat Nov 7 19:47:51 1998

Date: Sat, 07 Nov 1998 12:38:11 -0800
From: Gordon Messmer <yinyang@eburg.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Vidiot wrote:
> 
> >> /dev/sda4        /dos/zip        vfat    noauto,user,uni_xlate,defaults   0 0
> >>
> >> Notice the dev.
> >
> >So??  You are using a SCSI Zip drive rather than an IDE/ATAPI drive...
> 
> Nope, IDE/ATAPI.  I could never get the SCSI support to work.  Compiled
> the kernel to work with IDE/ATAPI and now it works.
> 

Do you have SCSI emulation enabled?  's the only way I know to get an
IDE drive to show up as an sdX.

In answer to the oringinal question:  If this is the IOmega TOOLS
disk, or a Sony Zip disk, it will be hdc1, and not hdc4.  We don't
know why IOMega uses partition 4 on their disks, so don't ask : )

You can either use fdisk to make all of the partitions in a single,
uniform location, or use the following in a script (call it mzip):
-----------------------------------------
#!/bin/sh
# use mzip to mount, mzip -u to unmount
if [ x"$1" = x-u ]; then
    if ( grep /etc/mtab -e /dev/hdc4 -q ); then
      umount /dev/hdc4
      echo "Zip disk unmounted";
    elif ( grep /etc/mtab -e /dev/hdc1 -q ); then
      umount /dev/hdc1
      echo "Zip disk unmounted";
    else
      echo "Zip disk not mounted"
    fi
    exit 0
fi
if (grep /etc/mtab -e /dev/hdc -q); then
    echo "Zip Disk Already Mounted";
  else
    echo -n "Mounting Zip Disk: "
    if (mount /dev/hdc4); then
      echo "HDC4 Mounted";
    else 
      if(mount /dev/hdc1); then
        echo "HDC1 Mounted"
      fi
    fi
fi

-------------------------------------------
I know, I go WAY overboard with these shell scripts....

MSG


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post