Ken Moffat wrote:
> On Sat, Jun 16, 2012 at 05:00:08PM -0500, Bruce Dubbs wrote:
>> Bryan Kadzban wrote:
>>
>> I looked at the .config and I do have
>>
>> CONFIG_SYSFS_DEPRECATED=y
>> CONFIG_SYSFS_DEPRECATED_V2=y
>>
>>> (Upstream, for the record, says that newer kernels will work with older
>>> udev versions, but not the other way around.  Makes a large upgrade
>>> easy, right?  :-/ )
>  FWIW, on my server running LFS-6.8 (udev-166) I have both of those
> config options selected.

Hmm, maybe we're looking at the wrong thing, then, and the only upgrade
required would be to the kernel, keeping SYSFS_DEPRECATED turned on?

I haven't tried that, but if it works, it would be a valid upgrade path
-- upgrade the kernel, keep the deprecated layout, upgrade udev, then
rebuild the kernel without the deprecated layout.

> (I was
> coming from a very old clfs build - stuck for a long time on the
> various libata changes, which gave problems with my add-in PCI->IDE
> cards on the previous machine - and forgot I needed to change that.)
> Fixed by enabling DEVTMPFS which I believe we now require anyway.

The libata changes were handled for me because I had moved to using the
persistent by-id symlink names in fstab.  (Which is why the discussion
on systemd-devel about "oh you can just use mdev!" is so misguided.  It
doesn't do those symlinks.)  I'm pretty sure that any of by-id, by-uuid,
or by-path should work with both libata and pre-libata kernel drivers.

Of course, it's possible that more-current udev or kernel versions
(after whichever ones I was using when I enabled libata many years ago)
have changed the links that you get for libata devices, in a misguided
attempt to make people upgrade...

Anyway, if the problem is what I think it is, then DEVTMPFS won't
actually help there; you'll still see a change from /dev/hdX to /dev/sdX
that the scripts have to deal with.  So maybe the problem isn't what I
think it is.  :-)

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to