SA44@LIVERPOOL.AC.UK (Kevin Maguire) (05/25/90)
In article <20176@nigel.udel.EDU>, HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) says: >At the moment, I use the old commands, but why do they need so much >memory: I increased the heap space for /etc/mount from 2000 to 10000 bytes, >and that was not enough, with 20000 bytes, it works! >Does anyone know why the same binary needs so much more memory? >Christoph van Wuellen. Yeah, the new mount maintains a file /etc/mtab which holds the names of all the currently mounted devices. I can remember right now exactly how it manages that file, but my guess it reads it completely into a buffer modifies it and writes it out again? This of course requires more bytes :-) Kevin Maguire Nsfnet : sa44%liv.ac.uk@nsfnet-relay.ac.uk Uucp : ...!mcsun!ukc!liv-ib!sa44