Huge directories in XENIX

Jack F. Vogel jack at turnkey.TCC.COM
Fri Mar 24 01:50:43 AEST 1989


In article <118947 at neabbs.UUCP> richard at neabbs.UUCP (RICHARD RONTELTAP) writes:
>" Huge directory < /bbs/files/ibm >--call administrator "
>
>The is the friendly message that greets me, I use du, find, or tar on
>the directory mentioned above.
>The directory is indeed pretty big, once there were over 2K files in it,
>which means the directory file is now over 32K bytes.
>
.....
>Wrong! tar doesn't work anymore. It repetetively backs up the same files of
>the 'huge' directory.
>--- WHY??
 
I do not recall precisely where the directory limitation lies, I suspect you
are correct about it being in a library call, I suppose I could take the time
to look it up but don't think it would be useful to you anyway. After all is
2k files in a directory reasonable, that's why we have directory trees. I
also thought it worthwhile to point out that this is not a Xenix specific 
problem. I have seen it in AIX and I suspect the same limitation is general
SysV.

Do not lose hope, however. For I believe you should still be able to back up
the directory. You do not say how you invoke tar, but if you do it by going
into that directory and saying "tar cvf /dev/rct0 *" it will fail since the
shell expansion of the asterick will fail. What did work with AIX and thus
should here is the following:

		find . -print | xargs tar uvf /dev/rct0

Find will still give you the message about the huge directory, but this did
not stop it from working. I have not tested this with SCO so I would be
interested in hearing about your success or failure.

					Good luck,


-- 
Jack F. Vogel
Turnkey Computer Consultants, Westchester,CA
UUCP: ...{nosc|uunet|gryphon}!turnkey!jack 
Internet: jack at turnkey.TCC.COM || lcc!jackv at CS.UCLA.EDU



More information about the Comp.unix.xenix mailing list