Changes since the last version are marked with ***
***To run any of the software, you need to
be logged into grdb and add /etc/zip to the front of your
*** % set path=(/etc/zip $path)
*** Modifying a zip disk's status
To make a zip disk readonly, to access a password protected disk, etc.
use the ziptool command before using any mtools commands
or mounting the disk as a SunOS filesystem.
To make the disk in the drive read only:
% ziptool ro
Type ziptoolfor information on other commands available.
*** Here's how to use it with a DOS (V)FAT
You access the zip drive using the mtools package (type man mtools
for more information). The drive letter Z has
been assigned to the zip drive.
To get a directory of the zip drive:
% mdir z:
To copy all your *.c files to the zip drive:
% mcopy *.c z:
To copy all the files in the current directory to a zip archive on the
% zip - * | mcopy - z:archive.zip
Here's how to use it with a SunOS filesystem:
mount an initialized disk on /zip
unmount a disk
initialize a disk (erases all contents)
format a disk (erases all contents)
NOTE it shouldn't be necessary to use the zip_format
command, since all disks come pre-formatted.
Initializing a disk
With a fresh out of the box disk (or on one you don't need the data anymore)
a typical sequence would be:
% zip_init zip_init ZIP drive (sd16)... (Y)? ... zip_init: done -- leave ZIP disk mounted... (Y)?
Mounting a disk
With a disk which already has data stored on it, a typical sequence would
% zip_mount /dev/sd16c mounted on /zip
Using a disk
Once the zip disk is mounted on /zip (either by
zip_init or zip_mount) it becomes a regular
unix filesystem. All regular unix commands will work.
cp -rp . /zip tar cf - . | (cd /zip; tar xvfp -)
NOTE, check the cp(1) manpage for details on problems
with the cp command and linked files.
Unmounting a disk
Once you've finished, you use the zip_umount command to
unmount the drive.
% zip_umount /zip: Unmounted
If instead of /zip: Unmounted you get ****zip_umount:
could not unmount /zip the most likely cause is that your current
working directory is /zip.Just change
your directory out of the /zip hierarchy and try zip_umount
% cd / % zip_umount
*** When the disk is unmounted it will be