Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!oliveb!tymix!tardis!jms From: jms@tardis.Tymnet.COM (Joe Smith) Newsgroups: comp.sys.amiga.tech Subject: Re: Determining disk devices Summary: AmigaLibDisk236:Ls has source Keywords: CATalog DISK Message-ID: <908@tardis.Tymnet.COM> Date: 15 Jan 90 08:33:52 GMT References: <1990Jan12.052804.24211@wilbur.uucp> Reply-To: jms@tardis.Tymnet.COM (Joe Smith) Organization: BT Tymnet, San Jose, CA Lines: 16 In article <1990Jan12.052804.24211@wilbur.uucp> scott@wilbur.UUCP (Scott Beckstead) writes: > I am attempting to write a disk cataloger that merely reads the entire >directory structure off the disk and for the life of me I can't seem to find Check out the LS program on Fred Fish disk #236. The command "ls -R df0:" will list all the files in the top directory of the floppy, all the subdirectories, the sub-subdirectories, etc. It includes sources. You will find that, to do the cataloging right, the program cannot "merely read the directory structure off the disk". It has to recursively process each directory it finds, and every directory in those directories, and ... -- Joe Smith (408)922-6220 | SMTP: JMS@F74.TYMNET.COM or jms@gemini.tymnet.com BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms PO Box 49019, MS-D21 | PDP-10 support: My car's license plate is "POPJ P," San Jose, CA 95161-9019 | humorous dislaimer: "My Amiga speaks for me."