Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rawfs(8) — Ultrix-11 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

rawfs(8)

NAME

rawfs − list or extract files on incompatible file system

SYNTAX

/etc/rawfs [ options ] special file...  [ directory ]

DESCRIPTION

The rawfs command lists files on or extracts files from a file system that is incompatible with the ULTRIX-11 Version 3.0 file system.  (For Version 3.0, the ULTRIX-11 file system has a 1K-byte block size.)  The special argument specifies the device on which the file system resides.  The file argument specifies the directory or files to be listed or extracted.  The directory argument specifies the target directory in the current file system into which the extracted files are to be placed.  If directory is not specified, the rawfs command places files in current directory. 

OPTIONS

To list files, specify -t as the first option.  To extract files, specify -x as the first option.  The remaining options can be used, as indicated, with -t or -x . 

-R Recursively lists files in all subdirectories (list only). 

-S Lists files on or extracts files from VAX 4.1 file system by swapping words to longs (extract and list).  If -S or -k options are not specified, assumes file system has 512-byte block size. 

-c Lists creation, not modification, time for each file (list only).  Use with -l option. 

-g Lists group ID for each file (list only).  Use with -l option. 

-i Lists inumber (inode index number) for each file (list only). 

-k Lists files on or extracts files from file system that has 1K-byte block size (extract and list).  If -k or -S options are not specified, assumes file system has 512-byte block size. 

-l Lists file statistics for each file (list only). 

-n Extracts only those files that would not destroy an existing file (extract only). 

-o Lists files on or extracts files from file system that begins at specified offset (next argument).  The offset can be either block number or diskname/partition.  This option is useful only when the required special argument is the entire disk. 

-s Extracts character or block special files (extract only). 

-t Lists files on the specified file system. 

-u Lists access, not modification, time for each file (list only).  Must be used with -l option. 

-v Extracts files and displays verbose information (extract only). 

-x Extracts file from the specified file system. 

EXAMPLES

/etc/rawfs -tcilRo rp06/0 /dev/rhp27 bin etc
This command sequence lists file statistics (-l), including creation time (-c), and inumber (-i) for all files in /bin and /etc directories, including all subdirectories (-R) on a file system with a 512-byte block size beginning at partition 0 on an rp06 disk (-o) whose special file name is /dev/rhp27 (raw-mode access).

/etc/rawfs -xsv /dev/rhp00 / /usr/staff/oldroot
This command sequence displays verbose information (-v) while extracting all files on root file system, including special files in /dev (-s), from a file system with a 512-byte block size on special file /dev/rhp00 (raw-mode access) and places them in /usr/staff/oldroot directory.

SEE ALSO

ULTRIX-11 System Management Guide

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026