rmdir libc code and ramfs implementation