version 2, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
mzip |
|
|
2 |
!!!mzip |
|
|
3 |
Name |
|
|
4 |
Note of warning |
|
|
5 |
Description |
|
|
6 |
Bugs |
|
|
7 |
See Also |
|
|
8 |
Viewing the texi doc |
|
|
9 |
---- |
|
|
10 |
!!Name |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
mzip - change protection mode and eject disk on Zip/Jaz drive |
|
|
14 |
!!Note of warning |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
This manpage has been automatically generated from mtools's |
|
|
18 |
texinfo documentation, and may not be entirely accurate or |
|
|
19 |
complete. See the end of this man page for |
|
|
20 |
details. |
|
|
21 |
!!Description |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
The mzip command is used to issue ZIP disk specific |
|
|
25 |
commands on Linux, Solaris or HPUX. Its syntax |
|
|
26 |
is: |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
mzip [[-epqrwx] |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
Mzip allows the following command line |
|
|
33 |
options: |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
e |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
Ejects the disk. |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
f |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
Force eject even if the disk is mounted (must be given in |
|
|
46 |
addition to -e). |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
r |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
Write protect the disk. |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
w |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
Remove write protection. |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
p |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
Password write protect. |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
x |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
Password protect |
|
|
71 |
|
|
|
72 |
|
|
|
73 |
u |
|
|
74 |
|
|
|
75 |
|
|
|
76 |
Temporarily unprotect the disk until it is ejected. The disk |
|
|
77 |
becomes writable, and reverts back to its old state when |
|
|
78 |
ejected. |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
q |
|
|
82 |
|
|
|
83 |
|
|
|
84 |
Queries the status |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
To remove the password, set it to one of the passwordless |
|
|
88 |
modes -r or -w: mzip will then ask you for |
|
|
89 |
the password, and unlock the disk. If you have forgotten the |
|
|
90 |
password, you can get rid of it by low-level formatting the |
|
|
91 |
disk (using your SCSI adaptor's BIOS setup). |
|
|
92 |
|
|
|
93 |
|
2 |
perry |
94 |
The !ZipTools disk shipped with the drive is also password |
1 |
perry |
95 |
protected. On Dos or on a Mac, this password is |
2 |
perry |
96 |
automatically removed once the !ZipTools have been installed. |
1 |
perry |
97 |
From various articles posted to Usenet, I learned that the |
|
|
98 |
password for the tools disk is APlaceForYourStuff. |
|
|
99 |
Mzip knows about this password, and tries it first, before |
|
|
100 |
prompting you for a password. Thus mzip -w z: |
|
|
101 |
unlocks the tools disk. The tools disk is formatted in a |
|
|
102 |
special way so as to be usable both in a PC and in a Mac. On |
|
|
103 |
a PC, the Mac filesystem appears as a hidden file named |
|
|
104 |
`partishn.mac'. You may erase it to reclaim the 50 |
|
|
105 |
Megs of space taken up by the Mac filesystem. |
|
|
106 |
!!Bugs |
|
|
107 |
|
|
|
108 |
|
|
|
109 |
This command is a big kludge. A proper implementation would |
|
|
110 |
take a rework of significant parts of mtools, but |
|
|
111 |
unfortunately I don't have the time for this right now. The |
|
|
112 |
main downside of this implementation is that it is |
|
|
113 |
inefficient on some architectures (several successive calls |
|
|
114 |
to mtools, which defeats mtools' caching). |
|
|
115 |
!!See Also |
|
|
116 |
|
|
|
117 |
|
|
|
118 |
Mtools' texinfo doc |
|
|
119 |
!!Viewing the texi doc |
|
|
120 |
|
|
|
121 |
|
|
|
122 |
This manpage has been automatically generated from mtools's |
|
|
123 |
texinfo documentation. However, this process is only |
|
|
124 |
approximative, and some items, such as crossreferences, |
|
|
125 |
footnotes and indices are lost in this translation process. |
|
|
126 |
Indeed, these items have no appropriate representation in |
|
|
127 |
the manpage format. Moreover, not all information has been |
|
|
128 |
translated into the manpage version. Thus I strongly advise |
|
|
129 |
you to use the original texinfo doc. See the end of this |
|
|
130 |
manpage for instructions how to view the texinfo |
|
|
131 |
doc. |
|
|
132 |
|
|
|
133 |
|
|
|
134 |
* |
|
|
135 |
|
|
|
136 |
|
|
|
137 |
To generate a printable copy from the texinfo doc, run the |
|
|
138 |
following commands: |
|
|
139 |
|
|
|
140 |
|
|
|
141 |
__ ./configure; make dvi; dvips mtools.dvi |
|
|
142 |
__ |
|
|
143 |
|
|
|
144 |
|
|
|
145 |
* |
|
|
146 |
|
|
|
147 |
|
|
|
148 |
To generate a html copy, run: |
|
|
149 |
|
|
|
150 |
|
|
|
151 |
__ ./configure; make html |
|
|
152 |
__A premade html can be found at: `http://mtools.linux.lu' and also at: `http://www.tux.org/pub/knaff/mtools' |
|
|
153 |
|
|
|
154 |
|
|
|
155 |
* |
|
|
156 |
|
|
|
157 |
|
|
|
158 |
To generate an info copy (browsable using emacs' info mode), |
|
|
159 |
run: |
|
|
160 |
|
|
|
161 |
|
|
|
162 |
__ ./configure; make info |
|
|
163 |
__ |
|
|
164 |
|
|
|
165 |
|
|
|
166 |
The texinfo doc looks most pretty when printed or as html. |
|
|
167 |
Indeed, in the info version certain examples are difficult |
|
|
168 |
to read due to the quoting conventions used in |
|
|
169 |
info. |
|
|
170 |
---- |