Re: klibc and SPARC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David S. Miller wrote:
How I answer this depends upon why you're moving this out of the
kernel in the first place :-)

The goal is mainly to get rid of a bunch of complex code that doesn't have to be in the kernel, like nfsroot.

I can understand moving as much functionality as is reasonably
possible into userspace via klibc, but for something like this which
has weird dependencies if you move it into userspace and will
undoubtedly force the enabling of what is normally an optional
feature, I don't see moving it into userspace as being so wise.

OK, so that would make it an ad hoc thing. That's not too horrible in itself; I just wondered if it would make sense to use an already existing feature.

However, there are a number of theoretically optional features in the kernel kernel which kinit does depend on, in particular sysfs and procfs -- without which it would be largely impossible. It doesn't mean sysfs and procfs are mandatory, but it does mean that you have to provide your own initramfs if you don't want to include them.

Of course, unlike say openpromfs, very little userspace code will actually function without procfs, and increasingly sysfs, so it's not exactly a requirement imposed by kinit alone.

That being said, openpromfs is the preferred thing to use if
you have to make a choice.

Well, I'm happy to do it either which way. I'll go ahead and write up an ad hoc solution for this case, unless it turns out to actually be bigger than one of the generic codes.

	-hpa
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux