source: rxlvm/trunk/rxlvm.ipf@ 54

Last change on this file since 54 was 35, checked in by Alex Taylor, 9 years ago

Import of RXLVM sources

File size: 36.7 KB
Line 
1:userdoc.
2:title.RxLVM Library Reference
3
4.******************************************************************************
5:h1 x=left y=bottom width=100% height=100% id=about.Notices
6:p.:hp2.RxLVM Library Reference
7.br
8Version 0.5.1 - March 18, 2007:ehp2.
9
10:p.The RxLVM library (:hp2.RXLVM.DLL:ehp2. and associated source code) and this
11document are (C) 2006 Alex Taylor. The following license terms apply to both.
12
13:p.Redistribution and use in source and binary forms, with or without
14modification, are permitted provided that the following conditions are met&colon.
15
16:ol.
17:li.Redistributions of source code must retain the above copyright notice,
18this list of conditions and the following disclaimer.
19:li.Redistributions in binary form must reproduce the above copyright
20notice, this list of conditions and the following disclaimer in the
21documentation and/or other materials provided with the distribution.
22:li.The name of the author may not be used to endorse or promote products
23derived from this software without specific prior written permission.
24:eol.
25
26:p.THIS SOFTWARE IS PROVIDED BY THE AUTHOR &osq.&osq.AS IS&csq.&csq. AND ANY EXPRESS OR IMPLIED
27WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
28MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
29EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
31PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
32BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
33IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35POSSIBILITY OF SUCH DAMAGE.
36
37
38.******************************************************************************
39:h1 x=left y=bottom width=100% height=100% id=using.Using the RxLVM API
40:p.RxLVM (RXLVM.DLL) is a library of REXX functions for interacting with the
41Logical Volume Manager (LVM).
42
43:p.Because REXX is a highly accessible language, and LVM is a potentially
44destructive tool if used incautiously, RxLVM only allows access to a relatively
45small subset of LVM functions. These functions are informational only&colon. no
46means is provided for making changes to the system.
47
48:p.Using RxLVM functions, you can access information about disk drives, volumes,
49and/or partitions, query Boot Manager, and check for removeable media devices.
50
51
52.* ----------------------------------------------------------------------------
53:h2 x=left y=bottom width=100% height=100% id=registering.Registering and deregistering functions
54:p.As with any REXX function library, you must register RxLVM functions
55before you can use them.
56
57:p.The function :link reftype=hd refid=rxlvmloadfuncs.RxLvmLoadFuncs:elink.
58will register all other RxLVM functions automatically&colon.
59:xmp.
60 CALL RxFuncAdd 'RxLvmLoadFuncs', 'RXLVM', 'RxLvmLoadFuncs'
61 CALL RxLvmLoadFuncs
62:exmp.
63
64:p.Similarly, you can deregister all RxLVM functions using
65:link reftype=hd refid=rxlvmdropfuncs.RxLvmDropFuncs:elink.&colon.
66:xmp.
67 CALL RxLvmDropFuncs
68:exmp.
69
70:nt.It is suggested that your REXX programs always call RxLvmDropFuncs when they
71have finished using the RxLVM API. This is because new versions of RxLVM may be
72released from time to time, and if RXLVM.DLL is updated while functions from an
73older version are still registered, the results may be unpredictable.:ent.
74
75
76.* ----------------------------------------------------------------------------
77:h2 x=left y=bottom width=100% height=100% id=opening.Opening and closing the LVM engine
78:p.The functional component of the Logical Volume Manager is called the :hp2.LVM
79engine:ehp2.. RxLVM uses the LVM engine (through its application interface,
80LVM.DLL) for all LVM functionality.
81
82:p.In general, before any program can access LVM, it must :hp2.open:ehp2. the
83LVM engine. Only one program at a time can have the LVM engine open.
84
85:p.Consequently, before you can use any RxLVM function other than RxLvmLoadFuncs,
86RxLvmDropFuncs, RxLvmVersion, RxLvmEngineOpen, and RxLvmRediscoverPRM (which is a
87special case), you must first open the LVM engine using the function
88:link reftype=hd refid=rxlvmengineopen.RxLvmEngineOpen:elink.. For
89example&colon.
90:xmp.
91 opened = RxLvmEngineOpen()
92:exmp.
93:p.RxLvmEngineOpen returns the empty string on success, or an LVM
94:link reftype=hd refid=errorstrings.error string:elink. if the LVM engine could
95not be opened. The most common reason for failure is if another program already
96has the LVM engine open. (See the :link reftype=hd refid=rxlvmengineopen.function
97description:elink. for more information.)
98
99:p.Similarly, once you have finished accessing LVM, you must :hp2.close:ehp2.
100the LVM engine using the function
101:link reftype=hd refid=rxlvmengineclose.RxLvmEngineClose:elink., e.g.
102:xmp.
103 CALL RxLvmEngineClose
104:exmp.
105:p.Normally, the LVM engine should close itself automatically when the current
106program terminates, but you should nonetheless close it explicitly as soon as
107you no longer require access to LVM functions.
108
109
110.* ----------------------------------------------------------------------------
111:h2 x=left y=bottom width=100% height=100% id=handles.Using handles
112:p.A :hp2.handle:ehp2. is a unique identifier maintained by the LVM engine for
113every volume, partition, and drive. It is a four-byte value, which RxLVM
114represents as an eight-character hexadecimal string.
115
116:p.Various RxLVM functions use these handles as a way of uniquely identifying a
117volume, partition, or drive. Since drive letters are optional (and can be
118changed), this is the most reliable means of identification available.
119
120:nt.Once the LVM engine has been closed (i.e. with
121:link reftype=hd refid=rxlvmengineclose.RxLvmEngineClose:elink.), handles are
122not guaranteed to remain valid the next time the LVM engine is opened (not even
123within the same process).:ent.
124
125
126.* ----------------------------------------------------------------------------
127:h2 x=left y=bottom width=100% height=100% id=errorstrings.LVM error strings
128:p.In addition to the return values listed in the function descriptions, all
129RxLVM functions except for RxLvmLoadFuncs, RxLvmDropFuncs, RxLvmVersion and
130RxLvmEngineClose may also return an error string of the format ":hp2.ERROR&colon.
131:ehp2.:hp3.n:ehp3.", where n is an error code returned from the LVM engine.
132
133:p.If an error of this form is received, it indicates that an error occured
134while calling a function in LVM.DLL (the LVM engine interface). It is
135therefore up to each REXX program to check for such errors whenever calling
136an RxLVM function.
137
138:p.A complete list of the error codes that can be returned by the LVM engine
139may be found :link reftype=hd refid=lvmcodes.here:elink..
140
141
142.******************************************************************************
143:h1 x=left y=bottom width=100% height=100%.RxLVM Functions
144:p.This chapter describes all of the functions available in the RxLVM library.
145
146.* ----------------------------------------------------------------------------
147:h2 x=left y=bottom width=100% height=100% id=rxlvmbootmgrinfo.RxLvmBootMgrInfo
148:p.:hp7.Syntax:ehp7.
149:cgraphic.
150ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
151³ ³
152³ &rahead.&rahead.ÄÄÄRxLvmBootMgrInfoÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
153³ ³
154ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
155:ecgraphic.
156
157:p.:hp7.Description:ehp7.
158:p.Queries the existence and status of IBM Boot Manager.
159
160:p.
161:p.:hp7.Parameters:ehp7.
162:p.None.
163
164:p.
165:p.:hp7.Returns:ehp7.
166:p.RxLvmBootMgrInfo returns the empty string ("") if Boot Manager is not
167installed. If Boot Manager was detected, a string of the format&colon.
168:p.:hp1.disk active timeout deftype defhandle:ehp1.
169:p.is returned. The meanings of the various fields are&colon.
170
171:dl break=none tsize=12.
172:dt.:hp1.disk:ehp1.
173:dd.The number of the physical disk drive (where 1 is the first disk) on
174which Boot Manager is installed.
175
176:dt.:hp1.active:ehp1.
177:dd.A flag indicating whether Boot Manager is active (startable). This is
178one of the following values&colon.
179:dl compact tsize=4 break=none.
180:dt.1
181:dd.Boot Manager is installed and active
182:dt.0
183:dd.Boot Manager is installed but not active
184:edl.
185
186:dt.:hp1.timeout:ehp1.
187:dd.The current Boot Manager timeout value (the number of seconds before the
188default entry indicated by :hp1.defhandle:ehp1. will be booted automatically
189on system startup). This will be 0 if the timeout feature is disabled.
190
191:dt.:hp1.deftype:ehp1.
192:dd.A flag indicating the nature of the default entry indicated by
193:hp1.defhandle:ehp1.. This is one of the following values&colon.
194:dl compact tsize=4 break=none.
195:dt.1
196:dd.The default entry is a volume
197:dt.0
198:dd.The default entry is a non-volume partition
199:edl.
200
201:dt.:hp1.defhandle:ehp1.
202:dd.The handle of the default menu entry. This is the item on the Boot Manager
203menu which will be booted automatically on system startup once the
204:hp1.timeout:ehp1. value expires.
205:edl.
206
207:p.An LVM error message will be returned if the LVM engine encounters an error.
208
209:p.
210:p.:hp7.Example:ehp7.
211:xmp.
212 bmgr = RxLvmBootMgrInfo()
213 SELECT
214 WHEN bmgr == '' THEN
215 SAY 'Boot Manager is not installed.'
216 WHEN LEFT( bmgr, 6 ) == 'ERROR&colon.' THEN DO
217 PARSE VAR bmgr 'ERROR&colon.' lvm_error
218 SAY 'Boot Manager state could not be determined. LVM.DLL returned error code' lvm_error
219 RETURN lvm_error
220 END
221 OTHERWISE
222 SAY 'Current Boot Manager configuration&colon.' bmgr
223 END
224:exmp.
225:p.The following is a sample of output from the example above&colon.
226:xmp.
227 Current Boot Manager configuration&colon. 1 1 30 1 FC04D5A7
228:exmp.
229
230
231.* ----------------------------------------------------------------------------
232:h2 x=left y=bottom width=100% height=100% id=rxlvmbootmgrmenu.RxLvmBootMgrMenu
233:p.:hp7.Syntax:ehp7.
234:cgraphic.
235ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
236³ ³
237³ &rahead.&rahead.ÄÄRxLvmBootMgrMenu( stem )ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
238³ ³
239ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
240:ecgraphic.
241
242:p.:hp7.Description:ehp7.
243:p.Queries the contents of the Boot Manager menu.
244
245:p.
246:p.:hp7.Parameters:ehp7.
247:parml break=all.
248:pt.stem
249:pd.The name of the stem variable in which the list of Boot Manager menu entries
250will be stored. After RxLvmBootMgrMenu returns successfully, :hp1.stem:ehp1..0
251will contain an integer :hp1.n:ehp1., indicating the number of menu entries
252found; and :hp1.stem:ehp1..1 through :hp1.stem.n:ehp1. will each contain data
253describing a single menu entry, in the format&colon.
254:p.:hp1.handle type name:ehp1.
255:p.The meanings of the various fields are&colon.
256
257:dl break=fit tsize=13.
258:dt.:hp1.handle:ehp1.
259:dd.The handle of the bootable volume or partition (a unique 8-digit hexadecimal
260string).
261
262:dt.:hp1.type:ehp1.
263:dd.A flag indicating whether the menu entry describes a volume or a non-volume
264partition. This is one of the following values&colon.
265:dl compact tsize=4 break=none.
266:dt.1
267:dd.This entry is a volume
268:dt.0
269:dd.This entry is a non-volume partition
270:edl.
271
272:dt.:hp1.name:ehp1.
273:dd.The name of the bootable volume or partition. This is a string of up to 20
274characters, and may contain spaces and punctuation marks.
275:edl.
276:eparml.
277
278:p.
279:p.:hp7.Returns:ehp7.
280:p.RxLvmBootMgrMenu returns 1, or an LVM error message.
281
282:p.
283:p.:hp7.Example:ehp7.
284:xmp.
285 qm = RxLvmBootMgrMenu('menu.')
286 IF LEFT( qm, 6 ) == 'ERROR&colon.' THEN DO
287 PARSE VAR qm 'ERROR&colon. ' lvm_error
288 SAY 'LVM.DLL returned error code' lvm_error
289 RETURN lvm_error
290 END
291 SAY 'Boot Manager menu contains' menu.0 'entries&colon.'
292 DO i = 1 TO menu.0
293 SAY ' ' menu.i
294 END
295:exmp.
296:p.The following is a sample of output from the example above&colon.
297:xmp.
298 The Boot Manager menu contains 3 entries&colon.
299 FC04D5A7 1 System
300 FC047F87 0 Windows 2000
301 FC04D4E7 1 Maintenance
302:exmp.
303
304
305.* ----------------------------------------------------------------------------
306:h2 x=left y=bottom width=100% height=100% id=rxlvmdropfuncs.RxLvmDropFuncs
307:p.:hp7.Syntax:ehp7.
308:cgraphic.
309ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
310³ ³
311³ &rahead.&rahead.ÄÄÄRxLvmDropFuncsÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
312³ ³
313ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
314:ecgraphic.
315
316:p.:hp7.Description:ehp7.
317:p.Deregisters all RxLVM API functions.
318
319:p.
320:p.:hp7.Parameters:ehp7.
321:p.None.
322
323:p.
324:p.:hp7.Returns:ehp7.
325:p.RxLvmDropFuncs returns the empty string ("").
326
327:p.
328:p.:hp7.Example:ehp7.
329:xmp.
330 CALL RxLvmDropFuncs
331:exmp.
332
333
334.* ----------------------------------------------------------------------------
335:h2 x=left y=bottom width=100% height=100% id=rxlvmengineclose.RxLvmEngineClose
336:p.:hp7.Syntax:ehp7.
337:cgraphic.
338ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
339³ ³
340³ &rahead.&rahead.ÄÄÄRxLvmEngineCloseÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
341³ ³
342ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
343:ecgraphic.
344
345:p.:hp7.Description:ehp7.
346:p.Closes the LVM engine. Always call this function once your REXX program
347is finished accessing LVM.
348
349:p.
350:p.:hp7.Parameters:ehp7.
351:p.None.
352
353:p.
354:p.:hp7.Returns:ehp7.
355:p.RxLvmEngineClose returns the empty string ("").
356
357:p.
358:p.:hp7.Example:ehp7.
359:xmp.
360 CALL RxLvmEngineClose
361:exmp.
362
363
364.* ----------------------------------------------------------------------------
365:h2 x=left y=bottom width=100% height=100% id=rxlvmengineopen.RxLvmEngineOpen
366:p.:hp7.Syntax:ehp7.
367:cgraphic.
368ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
369³ ³
370³ &rahead.&rahead.ÄÄÄRxLvmEngineOpenÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
371³ ³
372ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
373:ecgraphic.
374
375:p.:hp7.Description:ehp7.
376:p.Opens the LVM engine. The LVM engine must be open in order to use any other
377RxLVM function except for RxLvmLoadFuncs, RxLvmDropFuncs, RxLvmVersion, and
378RxLvmRediscoverPRM.
379
380:p.Only one process at a time may have the LVM engine open. RxLvmEngineOpen
381will return an error (see below) if the LVM engine is open already.
382:p.
383:p.:hp7.Parameters:ehp7.
384:p.None.
385
386:p.
387:p.:hp7.Returns:ehp7.
388:p.RxLvmEngineOpen returns the empty string ("") or an LVM error message.
389:p.The LVM error code will normally be 5 if the LVM engine is already open
390under the current process; or 9 if it is open under a different process.
391
392:p.
393:p.:hp7.Example:ehp7.
394:xmp.
395 open = RxLvmEngineOpen()
396 IF open \= '' THEN DO
397 PARSE VAR open 'ERROR&colon. ' lvm_error
398 IF lvm_error \= '' THEN SAY 'LVM returned error code' lvm_error
399 RETURN lvm_error
400 END
401:exmp.
402
403
404.* ----------------------------------------------------------------------------
405:h2 x=left y=bottom width=100% height=100% id=rxlvmgetdisks.RxLvmGetDisks
406:p.:hp7.Syntax:ehp7.
407:cgraphic.
408ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
409³ ³
410³ &rahead.&rahead.ÄÄRxLvmGetDisks( stem )ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
411³ ³
412ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
413:ecgraphic.
414
415:p.:hp7.Description:ehp7.
416:p.Gets a list of all physical disk drives recognized by the system.
417
418:p.
419:p.:hp7.Parameters:ehp7.
420:parml break=all.
421:pt.stem
422:pd.The name of the stem variable in which the list of disks will be stored.
423After RxLvmGetDisks returns successfully, :hp1.stem:ehp1..0 will contain an
424integer :hp1.n:ehp1., indicating the number of disks found; and
425:hp1.stem:ehp1..1 through :hp1.stem.n:ehp1. will each contain data
426describing a single disk, in the format&colon.
427:p.:hp1.handle number size unuseable corrupt removeable serial name:ehp1.
428:p.The meanings of the various fields are&colon.
429
430:dl break=fit tsize=13.
431:dt.:hp1.handle:ehp1.
432:dd.The disk's handle (a unique 8-digit hexadecimal string).
433
434:dt.:hp1.number:ehp1.
435:dd.The number assigned to the disk drive by LVM. This is a positive integer,
436where 1 represents the first disk.
437
438:dt.:hp1.size:ehp1.
439:dd.The total size of the disk, in megabytes (1 megabyte = 1,048,576 bytes).
440
441:dt.:hp1.unuseable:ehp1.
442:dd.A flag indicating whether the disk drive is reported "unuseable" (i.e.
443inaccessible) by LVM. This is one of the following values&colon.
444:dl compact tsize=4 break=none.
445:dt.0
446:dd.The disk drive is useable
447:dt.1
448:dd.The disk drive is currently being reported as unuseable
449:edl.
450
451:dt.:hp1.corrupt:ehp1.
452:dd.A flag indicating whether the disk drive has a corrupted partition table
453(as reported by LVM). This is one of the following values&colon.
454:dl compact tsize=4 break=none.
455:dt.0
456:dd.The partition table is correct
457:dt.1
458:dd.The partition table is being reported as corrupt
459:edl.
460
461:dt.:hp1.removeable:ehp1.
462:dd.This flag indicates whether or not the disk drive is a removeable media
463device. This is one of the following values&colon.
464:dl compact tsize=4 break=none.
465:dt.0
466:dd.Normal disk drive
467:dt.1
468:dd.Partitionable removeable media device
469:dt.2
470:dd."Big floppy" type removeable media (e.g. LS-120 super-diskette)
471:edl.
472
473:dt.:hp1.serial:ehp1.
474:dd.The serial number reported by the disk drive. This is an integer value.
475
476:dt.:hp1.name:ehp1.
477:dd.The disk's name. This is a string of up to 20 characters, and may contain
478spaces and punctuation marks.
479:edl.
480:eparml.
481
482:p.
483:p.:hp7.Returns:ehp7.
484:p.RxLvmGetDisks returns 1, or an LVM error message.
485
486:p.
487:p.:hp7.Example:ehp7.
488:xmp.
489 qd = RxLvmGetDisks("disks.")
490 IF LEFT( qd, 6 ) == 'ERROR&colon.' THEN DO
491 PARSE VAR qd 'ERROR&colon. ' lvm_error
492 SAY 'LVM.DLL returned error code' lvm_error
493 RETURN lvm_error
494 END
495 SAY disks.0 'disks found&colon.'
496 DO i = 1 TO disks.0
497 SAY ' ' disks.i
498 END
499:exmp.
500:p.The following is a sample of output from the example above&colon.
501:xmp.
502 3 volumes found&colon.
503 FC047717 1 156327 0 0 0 890692272 [ D1 ]
504 FC047767 2 156327 0 0 0 700276006 [ D2 ]
505 FC0477B7 3 0 1 0 1 0 [ D3 ]
506:exmp.
507
508
509.* ----------------------------------------------------------------------------
510:h2 x=left y=bottom width=100% height=100% id=rxlvmgetpartitions.RxLvmGetPartitions
511:p.:hp7.Syntax:ehp7.
512:cgraphic.
513ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
514³ ³
515³ &rahead.&rahead. ÄÄRxLvmGetPartitions( handle, stem )ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
516³ ³
517ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
518:ecgraphic.
519
520:p.:hp7.Description:ehp7.
521:p.Gets a list of all partitions on the specified disk or in the specified
522volume. Note that the term "partition" in this context includes contiguous
523regions of free space as well as allocated partitions.
524
525:p.
526:p.:hp7.Parameters:ehp7.
527:parml break=all.
528:pt.handle
529:pd.The handle of the volume or disk drive whose partitions are to be returned.
530
531:pt.stem
532:pd.The name of the stem variable in which the list of partitions will be
533stored. After RxLvmGetPartitions returns successfully, :hp1.stem:ehp1..0
534will contain an integer :hp1.n:ehp1., indicating the number of volumes found;
535and :hp1.stem:ehp1..1 through :hp1.stem.n:ehp1. will each contain data
536describing a single partition, in the format&colon.
537:p.:hp1.handle diskhandle volhandle status filesystem size OS bootable name:ehp1.
538:p.The meanings of the various fields are&colon.
539
540:dl break=fit tsize=13.
541:dt.:hp1.handle:ehp1.
542:dd.The partition's handle (a unique 8-digit hexadecimal string).
543
544:dt.:hp1.diskhandle:ehp1.
545:dd.The handle of the disk drive on which the partition resides (a unique 8-digit
546hexadecimal string).
547
548:dt.:hp1.volhandle:ehp1.
549:dd.The handle of the volume to which the partition belongs (a unique 8-digit
550hexadecimal string). This will be 00000000 if the partition does not belong to
551any volume.
552
553:dt.:hp1.status:ehp1.
554:dd.A flag indicating the partition status. This is one of the following
555values&colon.
556:dl compact tsize=4 break=none.
557:dt.F
558:dd.Free space
559:dt.A
560:dd.Available, i.e. the partition does not currently belong to any volume.
561:dt.U
562:dd.The partition does not belong to a volume, but is marked as "in use" by the
563LVM engine (this normally applies to the Boot Manager partition).
564:dt.C
565:dd.The partition is a standard-type (or "compatibility") volume.
566:dt.L
567:dd.The partition belongs to an advanced-type (or "LVM") volume.
568:dt.?
569:dd.The partition status could not be determined.
570:edl.
571
572:dt.:hp1.filesystem:ehp1.
573:dd.The file system currently in use on the partition, or ? if the file system
574could not be determined (for instance, in the case of free space).
575:nt.To allow for correct parsing, RxLVM will replace any spaces in the file
576system name with the byte value 0xFF (which corresponds to "non-breaking space"
577under most system codepages).:ent.
578
579:dt.:hp1.size:ehp1.
580:dd.The accessible size of the partition, in megabytes (1 megabyte = 1,048,576
581bytes).
582
583:dt.:hp1.OS:ehp1.
584:dd.The "operating system flag" (also known as the "partition type" flag) reported
585by the partition. This is a two-digit hexadecimal byte value.
586
587:dt.:hp1.bootable:ehp1.
588:dd.The partition's bootable flag. This is one of the following values&colon.
589:dl compact tsize=4 break=none.
590:dt.B
591:dd.Bootable (partition appears on the Boot Manager menu, either by itself or as
592a volume)
593:dt.S
594:dd.Startable (partition is directly bootable, or "active")
595:dt.I
596:dd.Installable (partition reports an "installable" flag set by the IBM OS/2 installer)
597:dt.N
598:dd.None (partition is not bootable)
599:edl.
600
601:dt.:hp1.name:ehp1.
602:dd.The partition's name. This is a string of up to 20 characters, and may contain
603spaces and punctuation marks.
604:edl.
605:eparml.
606
607:p.
608:p.:hp7.Returns:ehp7.
609:p.RxLvmGetPartitions returns the empty string ("") or an LVM error message.
610
611:p.
612:p.:hp7.Example:ehp7.
613:xmp.
614 qd = RxLvmGetDisks('disks.')
615 IF LEFT( qd, 6 ) == 'ERROR&colon.' THEN DO
616 PARSE VAR qd 'ERROR&colon. ' lvm_error
617 SAY 'LVM.DLL returned error code' lvm_error
618 RETURN lvm_error
619 END
620 DO i = 1 TO disks.0
621 SAY 'Partitions on Disk' i'&colon.'
622 PARSE VAR disks.i handle .
623 pd = RxLvmGetPartitions( handle, 'parts.')
624 IF LEFT( pd, 6 ) == 'ERROR&colon.' THEN DO
625 PARSE VAR pd 'ERROR&colon. ' lvm_error
626 SAY 'LVM.DLL returned error code' lvm_error
627 RETURN lvm_error
628 END
629 DO j = 1 TO parts.0
630 SAY ' ' parts.j
631 END
632 END
633:exmp.
634:p.The following is a sample of output from the example above&colon.
635:xmp.
636Partitions on Disk 1&colon.
637 FC177D47 FC177717 00000000 U Boot&house.Manager 7 0A S [ BOOT MANAGER ]
638 FC177C67 FC177717 FC179B17 C HPFS 2047 07 B OS/2
639 FC177F87 FC177717 00000000 A NTFS-H 19092 17 B Windows 2000
640 FC176197 FC177717 FC1788D7 L JFS 102404 35 N PROGRAMS
641 FC1776F7 FC177717 FC178B77 L HPFS 32771 35 N FILES
642Partitions on Disk 2&colon.
643 FC176297 FC177767 FC179BB7 C FAT16-H 2000 16 N SADUMP
644 FC1765B7 FC177767 FC179A57 C FAT16 2000 06 B SERVICE
645 FC1767C7 FC177767 FC178BD7 L JFS 136001 35 N WORKING
646 FC1768F7 FC177767 00000000 F ? 16321 00 N [ FS1 ]
647Partitions on disk 3&colon.
648 FC177B37 FC1777B7 00000000 F ? 96 00 N [ FS2 ]
649:exmp.
650:nt.The &house. character is used here to represent byte value 0xFF, which will
651normally appear on screen as a space.:ent.
652
653
654.* ----------------------------------------------------------------------------
655:h2 x=left y=bottom width=100% height=100% id=rxlvmgetvolumes.RxLvmGetVolumes
656:p.:hp7.Syntax:ehp7.
657:cgraphic.
658ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
659³ ³
660³ &rahead.&rahead.ÄÄRxLvmGetVolumes( stem )ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
661³ ³
662ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
663:ecgraphic.
664
665:p.:hp7.Description:ehp7.
666:p.Gets a list of all volumes defined on the system.
667
668:p.
669:p.:hp7.Parameters:ehp7.
670:parml break=all.
671:pt.stem
672:pd.The name of the stem variable in which the list of volumes will be stored.
673After RxLvmGetVolumes returns successfully, :hp1.stem:ehp1..0 will contain an
674integer :hp1.n:ehp1., indicating the number of volumes found; and
675:hp1.stem:ehp1..1 through :hp1.stem.n:ehp1. will each contain data
676describing a single volume, in the format&colon.
677:p.:hp1.handle letter prefletter filesystem size device type bootable name:ehp1.
678:p.The meanings of the various fields are&colon.
679
680:dl break=fit tsize=13.
681:dt.:hp1.handle:ehp1.
682:dd.The volume's handle (a unique 8-digit hexadecimal string).
683
684:dt.:hp1.letter:ehp1.
685:dd.The drive letter currently assigned to the volume. This is a single letter
686from A to Z, without a trailing colon. If the volume has no drive letter (which
687is the case for hidden volumes), a ? will appear instead.
688
689:dt.:hp1.prefletter:ehp1.
690:dd.The drive letter, without a colon, that the volume prefers to have (i.e.
691that the user has assigned to it). This may differ from its actual drive letter
692in the event of a conflict. As above, a ? will appear for hidden volumes. If
693the volume has a drive letter assignment that is not under the control of LVM
694(as is the case, for example, for CD or LAN drives), a * will appear instead.
695
696:dt.:hp1.filesystem:ehp1.
697:dd.The file system currently in use on the volume.
698:nt.To allow for correct parsing, RxLVM will replace any spaces in the file
699system name with the byte value 0xFF (which corresponds to "non-breaking space"
700under most system codepages).:ent.
701
702:dt.:hp1.size:ehp1.
703:dd.The total size of the volume, in megabytes (1 megabyte = 1,048,576 bytes).
704
705:dt.:hp1.device:ehp1.
706:dd.The type of device on which the volume resides. This is one of the
707following values&colon.
708:dl compact tsize=6 break=none.
709:dt.HDD
710:dd.Hard disk drive
711:dt.PRM
712:dd.Partitionable removeable media
713:dt.CD
714:dd.CD/DVD drive (not controlled by LVM)
715:dt.LAN
716:dd.LAN drive (not controlled by LVM)
717:dt.?
718:dd.Unknown device type (not controlled by LVM)
719:edl.
720
721:dt.:hp1.type:ehp1.
722:dd.A flag indicating the volume type. This is one of the following
723values&colon.
724:dl compact tsize=4 break=none.
725:dt.0
726:dd.A standard (or "compatibility") volume
727:dt.1
728:dd.An advanced (or "LVM") volume
729:edl.
730
731:dt.:hp1.bootable:ehp1.
732:dd.The volume's bootable flag. This is one of the following values&colon.
733:dl compact tsize=4 break=none.
734:dt.B
735:dd.Bootable (volume appears on the Boot Manager menu)
736:dt.S
737:dd.Startable (volume is directly bootable, or "active")
738:dt.I
739:dd.Installable (volume reports an "installable" flag set by the IBM OS/2 installer)
740:dt.N
741:dd.None (volume is not bootable)
742:edl.
743
744:dt.:hp1.name:ehp1.
745:dd.The volume's name. This is a string of up to 20 characters, and may contain
746spaces and punctuation marks.
747:edl.
748:eparml.
749
750:p.
751:p.:hp7.Returns:ehp7.
752:p.RxLvmGetVolumes returns 1, or an LVM error message.
753
754:p.
755:p.:hp7.Example:ehp7.
756:xmp.
757 qv = RxLvmGetVolumes("vols.")
758 IF LEFT( qv, 6 ) == 'ERROR&colon.' THEN DO
759 PARSE VAR qv 'ERROR&colon. ' lvm_error
760 SAY 'LVM.DLL returned error code' lvm_error
761 RETURN lvm_error
762 END
763 SAY vols.0 'volumes found&colon.'
764 DO i = 1 TO vols.0
765 SAY ' ' vols.i
766 END
767:exmp.
768:p.The following is a sample of output from the example above&colon.
769:xmp.
770 4 volumes found&colon.
771 FC04D5A7 C C HPFS 2047 HDD 0 B System
772 FC04D4E7 D D FAT16 2000 HDD 0 B Maintenance
773 FC04C567 E E JFS 102404 HDD 1 N Applications
774 FC04B0C7 H * CDFS 527 CD 0 N [ CDROM 1 ]
775:exmp.
776
777
778.* ----------------------------------------------------------------------------
779:h2 x=left y=bottom width=100% height=100% id=rxlvmloadfuncs.RxLvmLoadFuncs
780:p.:hp7.Syntax:ehp7.
781:cgraphic.
782ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
783³ ³
784³ &rahead.&rahead.ÄÄÄRxLvmLoadFuncsÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
785³ ³
786ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
787:ecgraphic.
788
789:p.:hp7.Description:ehp7.
790:p.Registers all other RxLVM API functions.
791
792:p.
793:p.:hp7.Parameters:ehp7.
794:p.None.
795
796:p.
797:p.:hp7.Returns:ehp7.
798:p.RxLvmLoadFuncs returns the empty string ("").
799
800:p.
801:p.:hp7.Example:ehp7.
802:xmp.
803 CALL RxFuncAdd 'RxLvmLoadFuncs', 'RXLVM', 'RxLvmLoadFuncs'
804 CALL RxLvmLoadFuncs
805:exmp.
806
807
808.* ----------------------------------------------------------------------------
809:h2 x=left y=bottom width=100% height=100% id=rxlvmrediscoverprm.RxLvmRediscoverPRM
810:p.:hp7.Syntax:ehp7.
811:cgraphic.
812ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
813³ ³
814³ &rahead.&rahead.ÄÄÄRxLvmRediscoverPRMÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
815³ ³
816ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
817:ecgraphic.
818
819:p.:hp7.Description:ehp7.
820:p.Checks to see if any partitionable removeable media devices (such as Zip
821disks or USB mass-storage devices) have been inserted since the last time such
822a check was done.
823:p.A check for removeable media is done whenever this function is called,
824whenever the system is booted, or whenever the LVM engine is opened.
825
826:nt.RxLvmRediscoverPRM requires the LVM engine to be closed. It will fail if
827the LVM engine is already open (by any program).:ent.
828
829:p.
830:p.:hp7.Parameters:ehp7.
831:p.None.
832
833:p.
834:p.:hp7.Returns:ehp7.
835:p.RxLvmRediscoverPRM returns the empty string ("") or an LVM error message.
836
837:p.
838:p.:hp7.Example:ehp7.
839:xmp.
840 discovery = RxLvmRediscoverPRM()
841 IF discovery \= '' THEN DO
842 PARSE VAR discovery 'ERROR&colon. ' lvm_error
843 IF lvm_error \= '' THEN SAY 'LVM returned error code' lvm_error
844 END
845:exmp.
846
847
848.* ----------------------------------------------------------------------------
849:h2 x=left y=bottom width=100% height=100% id=rxlvmversion.RxLvmVersion
850:p.:hp7.Syntax:ehp7.
851:cgraphic.
852ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
853³ ³
854³ &rahead.&rahead.ÄÄRxLvmVersionÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
855³ ³
856ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
857:ecgraphic.
858
859:p.:hp7.Description:ehp7.
860:p.Queries the current version of the RxLVM library.
861
862:p.
863:p.:hp7.Parameters:ehp7.
864:p.None.
865
866:p.
867:p.:hp7.Returns:ehp7.
868:p.RxLvmVersion returns a version string of the form
869":hp1.x:ehp1..:hp1.y:ehp1..:hp1.z:ehp1.", where :hp1.x:ehp1., :hp1.y:ehp1., and
870:hp1.z:ehp1. are each a positive number indicating the major version, minor
871version, and refresh level, respectively, of the RxLVM library. Note that
872:hp1.x:ehp1., :hp1.y:ehp1., and :hp1.z:ehp1. may each contain any number of
873digits.
874
875:p.
876:p.:hp7.Example:ehp7.
877:xmp.
878 PARSE VALUE RxLvmVersion() WITH major '.' minor '.' refresh
879 SAY 'Current RXLVM.DLL version is' major'.'minor 'refresh level' refresh
880:exmp.
881
882
883
884.******************************************************************************
885:h1 x=left y=bottom width=100% height=100% id=lvmcodes.Error Codes Returned by LVM
886:p.The application interface to the LVM engine resides in the system library
887LVM.DLL, and is used by RxLVM for all LVM-specific functions.
888
889:p.LVM.DLL defines almost 50 different return codes for various error conditions.
890When an LVM error occurs, RxLVM returns a specially-formatted
891:link reftype=hd refid=errorstrings.error message:elink. containing the LVM
892return code. The various codes are listed below.
893
894:nt.Since RxLVM does not implement a large number of LVM functions, many of these
895error conditions will never be encountered. However, all known error codes are
896included here for the sake of completeness.:ent.
897
898:table cols='6 74'.
899:row.
900:c.ERROR
901:c.CONDITION
902:row.
903:c.0
904:c.No error (operation succeeded)
905:row.
906:c.1
907:c.Out of memory
908:row.
909:c.2
910:c.I/O error
911:row.
912:c.3
913:c.Invalid handle
914:row.
915:c.4
916:c.Internal error
917:row.
918:c.5
919:c.LVM engine already open (i.e. by the current process)
920:row.
921:c.6
922:c.LVM engine not open
923:row.
924:c.7
925:c.Name exceeds maximum length
926:row.
927:c.8
928:c.Operation not allowed
929:row.
930:c.9
931:c.Drive open failure (another process may have the LVM engine open)
932:row.
933:c.10
934:c.Bad partition
935:row.
936:c.11
937:c.Cannot create primary partition using requested parameters
938:row.
939:c.12
940:c.Too many primary partitions
941:row.
942:c.13
943:c.Cannot create logical partition using requested parameters
944:row.
945:c.14
946:c.Requested size too large
947:row.
948:c.15
949:c.1024 cylinder boot limit reported by system
950:row.
951:c.16
952:c.Partition alignment error
953:row.
954:c.17
955:c.Requested size too small
956:row.
957:c.18
958:c.Not enough free space
959:row.
960:c.19
961:c.Unknown allocation algorithm specified
962:row.
963:c.20
964:c.Duplicate name
965:row.
966:c.21
967:c.Invalid name
968:row.
969:c.22
970:c.Invalid drive letter preference
971:row.
972:c.23
973:c.No drives found
974:row.
975:c.24
976:c.Wrong volume type
977:row.
978:c.25
979:c.Volume too small
980:row.
981:c.26
982:c.Boot Manager already installed
983:row.
984:c.27
985:c.Boot Manager not found
986:row.
987:c.28
988:c.Invalid parameter
989:row.
990:c.29
991:c.Bad feature set
992:row.
993:c.30
994:c.Too many partitions specified
995:row.
996:c.31
997:c.LVM (advanced) volumes are not bootable
998:row.
999:c.32
1000:c.Partition already in use
1001:row.
1002:c.33
1003:c.Partition could not be made bootable
1004:row.
1005:c.34
1006:c.Volume not found
1007:row.
1008:c.35
1009:c.Drive not found
1010:row.
1011:c.36
1012:c.Partition not found
1013:row.
1014:c.37
1015:c.Too many features active
1016:row.
1017:c.38
1018:c.Partition too small
1019:row.
1020:c.39
1021:c.Maximum number of partitions already in use
1022:row.
1023:c.40
1024:c.I/O request out of range
1025:row.
1026:c.41
1027:c.Partition not be made startable
1028:row.
1029:c.42
1030:c.Volume could not be made startable
1031:row.
1032:c.43
1033:c.ExtendFS request failed
1034:row.
1035:c.44
1036:c.Reboot required
1037:row.
1038:c.45
1039:c.Cannot open log file
1040:row.
1041:c.46
1042:c.Cannot write to log file
1043:row.
1044:c.47
1045:c.Rediscover removeable media failed
1046:etable.
1047
1048
1049.******************************************************************************
1050.* :h1 x=left y=bottom width=100% height=100% id=glossary.Glossary of Terms
1051.* :dl.
1052.* :dt.Bootable
1053.* :dt.Drive
1054.* :dt.Drive letter
1055.* :dt.ExtendFS
1056.* :dt.Handle
1057.* :dt.Installable
1058.* :dt.Partition
1059.* :dt.PRM
1060.* :dt.Startable
1061.* :dt.Volume
1062.* :dd.
1063.* :edl.
1064
1065
1066.* ----------------------------------------------------------------------------
1067.* :h2 x=left y=bottom width=100% height=100% id=.
1068.* :p.:hp7.Syntax:ehp7.
1069.* :cgraphic.
1070.* ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
1071.* ³ ³
1072.* ³ &rahead.&rahead.ÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&rahead.&lahead. ³
1073.* ³ ³
1074.* ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
1075.* :ecgraphic.
1076.*
1077.* :p.:hp7.Description:ehp7.
1078.* :p.
1079.*
1080.* :p.
1081.* :p.:hp7.Parameters:ehp7.
1082.* :p.
1083.*
1084.* :p.
1085.* :p.:hp7.Returns:ehp7.
1086.* :p. returns the empty string ("") or an LVM error message.
1087.*
1088.* :p.
1089.* :p.:hp7.Example:ehp7.
1090.* :xmp.
1091.* :exmp.
1092
1093:euserdoc.
1094
1095
Note: See TracBrowser for help on using the repository browser.