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 >
Text File  |  1993-10-31  |  2KB  |  65 lines

  1.  
  2. Just some notes not in the man page:
  3.  
  4. Although this program is a little slow, it will search a hard drive
  5. in two thirds of the time it takes FF to search the same drive.
  6.  
  7. Supports almost all of the UNIX options that have a OS-9 equivalent.
  8.  
  9. Although this program is setup to use password and group files, they
  10. are not required.  You can trick the program into thinking you have
  11. a supported password file by creating a file in /DD/SYS called passwd.
  12. This file should have the following format:
  13.  
  14. username:password:uid:gid:priority:comment:exec dir:home dir:program
  15.  
  16. where username is the user's login name
  17.       password is not required and can be blank (unless your login uses passwd)
  18.       uid is the user number
  19.       gid is the group number
  20.       priority is the default priority
  21.       comment is normally the user's full name
  22.       exec dir is the default execution dir
  23.       home dir is the user's home directory
  24.       program is the program that login will chain to
  25.  
  26. As you can see this is almost exactly like the standard OS-9 password file
  27. except for the delimiter and the way the uid and gid is specified.
  28.  
  29. Example passwd file:
  30.  
  31. root:xxxxxxxxxx:0:0:128:Super User:.:.:shell
  32. david:xxxxxxxxxx:201:0:128:David George:/h0/usr/david/bin:/h0/usr/david:shell
  33.  
  34. You can also create a file called group in /DD/SYS.  The group file is of
  35. the form:
  36.  
  37. groupname:password:gid:username
  38.  
  39. where groupname is the name of the group
  40.       password is an optional password and isn't supported by any OS-9 software
  41.                that I know of
  42.       gid is the group id number
  43.       username is a list of usernames separated by commas
  44.  
  45. Example group file:
  46.  
  47. root::0:root,david
  48. other::50:guest,user1,user2,user3
  49.  
  50. I have my name listed in the root group because most OS-9 software (at least
  51. that which comes from Microware) thinks that anyone with group 0 is a Super
  52. User.
  53.  
  54. The following are some notes on what I will work on in the future:
  55.  
  56.   -follow (follow symbolic links)
  57.   -mount (restrict to mounted filesystem)
  58.   -local (true if file physically exists on local system)
  59.   -inum num (match inode num)
  60.   -depth (search all files in dir before dirname itself)
  61.   -o or operator
  62.   ( )  grouping  ie. \( -perm 644 -o -perm 664 \)
  63.   -type x (b=block, c=character, d=directory, p=named pipe, f=file, l=sym link)
  64.                                  ^^done                     ^^done
  65.