From: Gordan B. <go...@bo...> - 2007-10-12 08:07:08
|
>>> Is the ram disk that remains mounted on /var/comoonics/chroot supposed to >>> be 176MB? About 75MB of this is kernel drivers. Surely these are no longer >>> required once the root image is mounted, because they can be loaded from >>> the GFS file system now. I don't mind a MB or two remaining, but 176 seems >>> a little excessive... >> >> Feel free to remove those files. Yes I agree. It would be ok to delete the >> kernel modules. >> Again, normally this chroot is automatically moved to a local disk (the same >> that is used for swap and /tmp) because these data are not important. That's >> basically the reason why we do not clean up the tmpfs. > > I'm figuring that just adding rm -rf /lib/modules would help. I have just > added this to clean_initrd function. I'll have a look at what else can be > pruned after the GFS root is mounted. Hmm, this doesn't appear to have worked. I think it happens too late. I'd need to delete these before the new chroot is fired up. Any suggestion on where would be a good time to put this? Gordan |