User: Password:
|
|
Subscribe / Log in / New account

Pity Linux doesn't support virtual files or filesystem

Pity Linux doesn't support virtual files or filesystem

Posted Dec 1, 2010 19:07 UTC (Wed) by kmself (guest, #11565)
In reply to: The kernel and the C library as a single project by nix
Parent article: The kernel and the C library as a single project

Oh wait, scratch that.

/proc, /sys, /lib-ld-linux.so.2, /usr/games/nethack ....

Actually, since /lib/ld-linux.so.2 is already a symlink, it'd be even easier.

ls -l /dev/std{in,out,err} f'rex.


(Log in to post comments)

Pity Linux doesn't support virtual files or filesystem

Posted Dec 2, 2010 14:39 UTC (Thu) by nix (subscriber, #2304) [Link]

Yeah, that would work. Kinda weird to have your libc provided by the kernel but I don't see a fundamental problem with it... except that the machinery in the kernel to export things like the vdso to userspace would need a *lot* of retooling to be able to export things as big as a C library.

Pity Linux doesn't support virtual files or filesystem

Posted Dec 3, 2010 5:09 UTC (Fri) by jzbiciak (subscriber, #5246) [Link]

Could it be built / linked to a kernel similarly to an initrd? The main thing you'd lose is the ability to page it out, I imagine...

Pity Linux doesn't support virtual files or filesystem

Posted Dec 4, 2010 23:05 UTC (Sat) by nix (subscriber, #2304) [Link]

ld-linux.so.2 is never really paged out anyway. It's only a dozen pages long and all of it is in use by *something* nearly all the time.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds