Content-type: text/html Manpage of ppddmchk

ppddmchk

Section: User Commands (1)
Updated:
Index Return to Main Contents
 

NAME

ppddmchk - checks if a given file is on a given device  

SYNOPSIS

This program allows the rc.sysinit script to check if the root is on a ppdd device. It is general purpose and could be used more widely.  

DESCRIPTION

The program works by checking if the inode for the file given as the first argument is on the device given as the second.
It returns zero if the file is on the device. Else 1.  

Typical use:  

ppddmchk / /dev/ppdd0  

RETURN VALUE

The program returns 0 if the file is on the device.
The program returns 1 if not or if anything has gone wrong.
 

ERRORS

All ppdd utilities display fairly meaningful errors (mostly on stderr). In all cases the errors have a unique error number to help locate the problem in the source code. If an error message is not clear then best source of explanation at this stage is the source itself.  

ENVIRONMENT

The program does not use any environment variables.  

FILES

Files (and devices) are specified as arguments.  

SEE ALSO

ppdd(1) ppddcsum(1) ppdddown(1) ppddinit(1) ppddpassw(1) ppddsetup(1) ppdduprev(1) ppdecrypt(1) ppdncrypt(1) ppddtab(5).  

(c) 1999 Allan Latham - version 0.9


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
ENVIRONMENT
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 16:36:16 GMT, September 14, 1999