Am 13.09.2013 14:00, schrieb Ingo Saitz:
> On Fri, Sep 13, 2013 at 01:14:06PM +0200, Michael Biebl wrote:
>> Am 13.09.2013 05:50, schrieb Norbert Preining:
>>> On Fr, 13 Sep 2013, Norbert Preining wrote:
>>>> * second, what about the udev maintainers specify what changes
>>>>   to self compiled kernels are necessary when upgrading udev.
>>>
>>> For those coming here in search of help:
>>> CONFIG_DEVTMPFS=y
>>> CONFIG_DEVTMPFS_MOUNT=y     (might not be necessary, not sure)
>>
>> As I wrote earlier, CONFIG_DEVTMPFS=y is mandatory now and it needs
>> something which mounts the devtmps. Usually it is done by the initramfs
>> (in Debian both dracut and initramfs-tools work fine) and if you don't
>> use and initramfs for whatever reason, you'll need
>> CONFIG_DEVTMPFS_MOUNT=y, so the kernel mounts the devtmpfs for you.
> 
> Note that /etc/init.d/udev chacks for tmpfs to be mounted on / and
> mounts it, if not. If you change this to check for and mount devtmpfs,
> it still works without CONFIG_DEVTMPFS_MOUNT, only CONFIG_DEVTMPFS is
> still needed.

Yeah, CONFIG_DEVTMPFS is always needed.

> This should increase compatibility with a number of self-compiled
> kernels, since the kernel default for CONFIG_DEVTMPFS_MOUNT still seems
> to be "No". You also could suggest to set devtmpfs.mount=1 on the kernel
> commandline instead.

The Debian kernel doesn't set CONFIG_DEVTMPFS_MOUNT since it relies on
the initramfs to mount it. I haven't tested the SysV init script. I
think what it currently does, i.e. mounting a tmpfs, is not sufficient:
tmpfs != devtmpfs.
So if you use no initramfs, you'll need CONFIG_DEVTMPFS_MOUNT (at least
for now)

Regards,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to