CMIOS
CMIOS
Usage: cmios9 [-h] [-r] [-b <dev_blksiz>] [-s <startbyte>] [-l|-L <stepbytes>] [-o
<owner>] [-q <qdosnr>] [-x] [-K <lock-file>] <device/image-file> ...
-h print this info
-r read-only
-b set device blocksize
-s set start byte offset
-l enable pseudo-LUNs (contiguous)
-L enable pseudo-LUNs (starting at multiples of <stepbytes>)
-o set owner ID
-q QDOS-only mode for first device: number of partitions
-x enable file access via "*<hex-address>"
-K lock-file
Commands:
---------
aexport <path> export file to external file with ASCII conversion (use *
for all files)
=aget
fdexport <path> export file to external file with file descriptor (use *
for all files)
=fdget
import <path> import file from external file (use * for all local
files)
=put
aimport <path> import file from external file with ASCII conversion (use *
for all local files)
=aput
fdimport <path> import file from external file with file descriptor (use *
for all local files)
=fdput
Note: within cygwin shell use \\\\.\\ instead of \\.\ for Windows drives
Note: With the "-x" option, files/directories can also be accessed via "*<hex-
address>" in path names,
where <hex-address> is the hexadecimal value of the file descriptor address
(for OS-9 RBF)
or the file number (for MDR-DOS and QDOS), as shown in the directory listing.
This can be used e.g. to access files with corrupted or non-typeable names or
lost files.
Example: rename file with bad name with file descriptor at 0x39f80 -> move
*39f80 goodname
Warning: use at your own risk, inadequate addresses can lead to filesystem
corruption or data loss!
File attributes:
----------------
OS-9:
set/clear mode bits: specify +/- followed by mode-letter:
r w e R W E S
QDOS:
set/clear mode bits: specify +/- followed by mode-letter:
w d s n
set file format:
userdef defrec binload binrec arec abinrec
set loadable image options: specify option followed by number:
lb= sl= la= sa=
Examples:
---------
Note:
Legacy systems may restict the filesystem size to <4GB and the blocksize to 256B.
With blocksize=0100 (256B), a totsize of 0xffffff corresponds to approx. 4GB,
with blocksize=0400 (1KB), a totsize of 0x3fffff corresponds to approx. 4GB.
Note:
upper limit of file size = 0xffffffff bytes (approx. 4GB), even for larger
filesystem sizes
How to initialize an OS-9 RBF disk for CMI Series III from scratch:
------------------------------------------------------------------
Note:
A partition start and size should be cluster-aligned.
A CMI Series III floppy (k-partition) has 0x10cc00 bytes (approx. 1MB).
An IOMEGA ZIP100 disk has 0x6000000 bytes (96MB).
For removeable media it is advantageous to set totsize to 0xffffff,
whereas filesyssize should be set to the actual available space.
Compilation:
------------
---
The following holds for all files in this distribution (unless stated otherwise on
an
individual basis for each file and statement):
The author does not take responsibility for incorrect, incomplete or misleading
information.
Statements are to be considered as the author's free personal opinion. The author
does not
necessarly possess any of the items mentioned in files in this distribution.
Files (and the information therein) created by the authors are copyright
(c) by the authors. Unless protected/restricted otherwise, the author permits
reproduction/redistribution of material contained in this distribution under the
condition
that the item is properly credited. Links to items/materials in this distribution
are welcome.
Projects/publications/papers that make use of materials, programs, or generated
output
of this distribution must properly credit the author and mention the usage of this
distribution.
Please contact the authors for comments or further questions
and permission to use materials/information from this distribution.
---
This product includes software developed by the University of California, Berkeley
and its contributors.
Copyright (c) 1987-2002 The Regents of the University of California.
All rights reserved.
---
End of file