home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
CMDS
/
find_1_1_5.lzh
/
find.doc
next >
Wrap
Text File
|
1993-10-31
|
2KB
|
65 lines
Just some notes not in the man page:
Although this program is a little slow, it will search a hard drive
in two thirds of the time it takes FF to search the same drive.
Supports almost all of the UNIX options that have a OS-9 equivalent.
Although this program is setup to use password and group files, they
are not required. You can trick the program into thinking you have
a supported password file by creating a file in /DD/SYS called passwd.
This file should have the following format:
username:password:uid:gid:priority:comment:exec dir:home dir:program
where username is the user's login name
password is not required and can be blank (unless your login uses passwd)
uid is the user number
gid is the group number
priority is the default priority
comment is normally the user's full name
exec dir is the default execution dir
home dir is the user's home directory
program is the program that login will chain to
As you can see this is almost exactly like the standard OS-9 password file
except for the delimiter and the way the uid and gid is specified.
Example passwd file:
root:xxxxxxxxxx:0:0:128:Super User:.:.:shell
david:xxxxxxxxxx:201:0:128:David George:/h0/usr/david/bin:/h0/usr/david:shell
You can also create a file called group in /DD/SYS. The group file is of
the form:
groupname:password:gid:username
where groupname is the name of the group
password is an optional password and isn't supported by any OS-9 software
that I know of
gid is the group id number
username is a list of usernames separated by commas
Example group file:
root::0:root,david
other::50:guest,user1,user2,user3
I have my name listed in the root group because most OS-9 software (at least
that which comes from Microware) thinks that anyone with group 0 is a Super
User.
The following are some notes on what I will work on in the future:
-follow (follow symbolic links)
-mount (restrict to mounted filesystem)
-local (true if file physically exists on local system)
-inum num (match inode num)
-depth (search all files in dir before dirname itself)
-o or operator
( ) grouping ie. \( -perm 644 -o -perm 664 \)
-type x (b=block, c=character, d=directory, p=named pipe, f=file, l=sym link)
^^done ^^done