From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 19 Oct 2012 15:52:28 +0200 Message-ID: From: "Peter A. Cejchan" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] ext2srv problem with too many files Topicbox-Message-UUID: c032fcd0-ead7-11e9-9d60-3106f5b1d025 4090 seems to be the maximum number of files that can reside in an ext2srv served directory: ext2srv mount -c /srv/ext2 /n/linux /dev/sdE4/linux cd /n/linux/x term% for(i in`{seq 1 5000}) touch $i touch: 4091: cannot create: '4091' no space on device rm [0-9]* ls cp ../y/foo . ls -l --rw------- M 48 1000 1000 1950 Oct 19 12:14 foo term% term% for(i in`{seq 1 5000}) cp foo $i cp: can't create 4090: '4090' no space on device === I forgot to say that I'm using the ext2srv version from Plan distribution, not the Iruata's from contrib/iru; compiling iru's ext2srv gives error: term% mk 8c -FTVw xfssrv.c 8c -FTVw xfile.c 8c -FTVw ext2fs.c 8c -FTVw ext2subs.c 8c -FTVw chat.c 8c -FTVw iobuf.c 8l -o 8.out xfssrv.8 xfile.8 ext2fs.8 ext2subs.8 chat.8 iobuf.8 ??none??: incompatible type signatures 392d4f87(xfssrv.8) and 2569e19(/386/lib/libc.a(chartorune)) for chartorune mk: 8l -o ... : exit status=rc 533: 8l 535: error