home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2689 / readme < prev   
Encoding:
Text File  |  1991-02-08  |  1.5 KB  |  37 lines

  1. Ever wish the find program could stop at disk boundaries or perhaps exclude
  2. certain directories?  Or maybe you just wish it would sort the file names
  3. for you.
  4.  
  5. When I need to shuffle stuff off one disk onto another, I like to see what
  6. is on the disk first.  Find doesn't really let you do that, so I wrote
  7. "disklist".  It's not as full-featured as find (yet), but it does know where
  8. disk boundaries are, and it sorts the file names for me.  Also, it doesn't
  9. expand subdirectories until it lists the entire top directory first.
  10.  
  11.  
  12. BUGS:
  13.  
  14. Disklist does assume SysV directory types.  That is, "struct direct"
  15. exists, a directory is readable, and everything you need to know about
  16. file names in the directory is in there.  Thus, it probably won't work
  17. on an RS-6000, for instance.
  18.  
  19. It does work just fine on my NCR Tower 32/850 running SysVR3.  It did work
  20. under SysVR2, but you may need to change the section that reads /etc/fstab
  21. to get it to run on your machine.  (That's how it knows where disk boundaries
  22. are.)
  23.  
  24. I commented-out the code that forces full path names.  However, if you do
  25. not specify the full path name of the directory you are dumping, disklist
  26. won't know to where to stop if any disks are mounted below the disk being
  27. listed.  That's life.  (Someone with time on their hands could always
  28. fix this, but I didn't think it was worth bothering with.)
  29.  
  30.  
  31. If you should make changes (other than those associated with reading your
  32. fstab, mntnodes, or whatever file), please drop me a line.  Thanks.
  33.  
  34. Joe Larson
  35. joel@crystal.mn.org
  36. 612-542-1683
  37.