Unix disk images and archiving

From: James L. Rice <jrice_at_texoma.net>
Date: Mon Mar 25 22:34:35 2002

Jeff check this out:

http://groups.google.com/groups?hl=en&threadm=32udil%2413l%40news.doit.wisc.edu&rnum=9&prev=/groups%3Fq%3Dpinnacle%2Bmicro%2Bgroup:comp.sys.next.hardware%26hl%3Den%26selm%3D32udil%252413l%2540news.doit.wisc.edu%26rnum%3D9

It seems that they had to write a disktab entry
This is a quote:


I was unable to get the cartridges to format with
ty=removable_rw_optical but
they did work with ty=removable_rw_scsi. I haven't figured that out
yet. The
only problem with this is that they appear with an ugly SCSI icon
instead of
the nice optical icon on automount in the workspcae. I fixed this by
going
into /usr/lib/NextStep/Workspace.app/WM.app, renamed scsi.tiff to
OLDscsi.tiff
and openScsi.tiff to OLDopenScsi.tiff, and then copied optical.tiff and
openOptical.tiff to scsi.tiff and openScsi.tiff. So now autoMount disks
of
type removable_rw_scsi appear on the Workspace with the optical tiff.

I've tuned the disktab for space optimization instead of speed since we
primarily use our optical more like a WORM so there should be very
little
fragmentation.

The disktab works with the Workspace auto-initialize routines, except
that it
can't determine whether the cartridge is 512byte/sector or
1024byte/sector.
I've set our's up to auto-initialize properly for the 1024byte/sector
disks,
and require a command line format for 512byte/sector disks with:
        disk -t PINNACLEOHD-1200 -i /dev/rsd1a

Add these line to /etc/disktab after the cannon OM entry


# Pinnacle Micro Sierra optical disk drive
# ECMA 512 byte/sector media
# Disktab generated by Jessica Hayden from SunOS /etc/format.dat entry
# and NextAnswers document 1533.
PINNACLEOHD-1200|Pinnacle Sierra 1.2GB OHD:\
:ty=removable_rw_scsi:nc#5359:nt#7:ns#31:ss#512:rm#3600:\
        :fp#320:bp#256:ng#0:gs#0:ga#0:ao#0:\
        :os=sdmach:z0#64:z1#192:ro=a:\
        :pa#0:sa#1162903:ba#8192:fa#1024:ca#32:da#4096:ra#1:oa=space:\
                :ia:ta=4.3BSD:aa:

# Pinnacle Micro Sierra optical disk drive
# ECMA 1024 byte/sector media
# Disktab generated by Kelley Wittmeyer & Jessica Hayden from
# an HPUX /etc/disktab entry and NextAnswers doc 1533
PINNACLEOHD-1300|Pinnacle Sierra 1.3GB OHD:\
:ty=removable_rw_scsi:nc#1171:nt#32:ns#17:ss#1024:rm#3600:\
        :fp#160:bp#256:ng#0:gs#0:ga#0:ao#0:\
        :os=sdmach:z0#32:z1#96:ro=a:\
        :pa#0:sa#636608:ba#8192:fa#1024:ca#8:da#4096:ra#0:oa=space:\
                :ia:ta=4.3BSD:aa:
Received on Mon Mar 25 2002 - 22:34:35 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:35:13 BST