Subject: Re: iomega zip250
To: David Caplan <david@david.phert.net>
From: Jasper Wallace <jasper@pointless.net>
List: netbsd-users
Date: 04/05/2001 15:55:05
On Wed, 4 Apr 2001, David Caplan wrote:

> Hi, Does anyone know if the Iomega Zip 250 is supported and works?
> I'm on netbsd 1.5.
> it seems to recognize it correctly, however i just may not know how to
> mount it. Last time I used it, was on windows :(, so it must be the msdos
> filesystem.
>
> Do i mount /dev/usb0 ? or is there another device for this purpose?

here's mine:

umass0 at uhub1 port 3 configuration 1 interface 0
umass0: Iomega USB Zip 250, rev 1.10/1.00, addr 4
umass0: using SCSI over BBB-P
scsibus0 at umass0: 2 targets, 1 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <IOMEGA, ZIP 250, 32.G> SCSI0 0/direct removable
sd0: 98304 KB, 96 cyl, 64 head, 32 sec, 512 bytes/sect x 196608 sectors

you can find out which partition to mount using disklabel:

# disklabel sd0
# /dev/rsd0d:
type: SCSI
disk: ZIP 250
label: fictitious
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 96
total sectors: 196608
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

8 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  d:   196608        0     unused        0     0         # (Cyl.    0 - 95)
  e:   196544       64      MSDOS                        # (Cyl.    0*- 95)

and then mount:

mount_msdos -o rw,nodev,nosuid,noexec -u jasper -l /dev/sd0e /zip

# df -k | grep sd
/dev/sd0e                            96744    23952    72791    24%    /zip

It's only got a 100Mb disk in at the moment.

'eject sd0' works too ;-)

-- 
     "The aurochs was the great, black bull that was painted on cave
walls  alongside bison and mammoths  by tacky prehistoric minimalist
artists  who  had no  sense whatsoever of  modeling or perspective."
[see: http://www.aristotle.net/~swarmack/aurochs.html]  [0x2ECA0975]