Re: e2label suggestions
From: Theodore Ts'o
Date: Tue Mar 28 2006 - 20:38:36 EST
On Tue, Mar 28, 2006 at 06:18:08PM -0700, Jeff V. Merkey wrote:
> Thanks for verifying it is passed through the kernel to initrd, another
> kernel component. It's also stored as EXT meta data
> (also in the kernel). and retrieved from there. And its not accessible
> from normal user space applications (except in raw mode).
No, the contents of initrd/initramfs is not shipped as part of a
standard kernel.org kernel. It is the responsibility of each
distribution to set up their initrd or initramfs initial boot scripts
themselves. One could argue that it would be better if there were a
standard set of initrd scripts (and udev binaries) paired with
specific kernel.org kernels and used by all distro's, but that's not
where we are right now.
The data is most certainly accessible from normal userspace
applications. All they have to do is link against blkid library;
indeed the kernel doesn't do any LABEL= or UUID= searching at all. By
design, it all supposed to be done in userspace.
- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/