Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269359 - start deprecating devfs compat names (/dev/{loop,md,ram}/#)
Summary: start deprecating devfs compat names (/dev/{loop,md,ram}/#)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: udev maintainers
Depends on: 371059
  Show dependency tree
Reported: 2009-05-11 04:02 UTC by SpanKY
Modified: 2013-01-24 01:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2009-05-11 04:02:07 UTC
it's about time we start deprecating these things ... we've carried them for 2 years now
Comment 1 Matthias Schwarzott gentoo-dev 2009-05-11 08:22:39 UTC
Fine with me. Does the subject has a typo?
I think you want to say to remove /dev/loop/0 that is the devfs compat name.

If I understand you correctly, you mean deleting the first three rules out of 40-gentoo.rules:
# old devfs path, removing this could break systems
# Bug 195839
KERNEL=="md[0-9]*",     SYMLINK+="md/%n"
KERNEL=="loop[0-9]*",   SYMLINK+="loop/%n"
KERNEL=="ram[0-9]*",    SYMLINK+="rd/%n"
Comment 2 SpanKY gentoo-dev 2009-05-11 08:32:34 UTC
yes, deleting those first few lines in the gentoo file is what i mean
Comment 3 Matthias Schwarzott gentoo-dev 2009-06-10 15:38:25 UTC
How to progress on this bug?
Should we just remove the rules in udev-141-r1 and add some ewarn to pkg_postinst, or do we need some longer deprecation period (how to announce it then - maybe some news item).
Comment 4 SpanKY gentoo-dev 2009-06-10 18:57:16 UTC
create a USE flag "devfs-compat", default it to on, and then add a warning to pkg_postinst when USE=devfs-compat

once that version moves into stable, we delete it from the latest unstable version and let things trickle down
Comment 5 Matthias Schwarzott gentoo-dev 2009-06-10 20:06:14 UTC
Added in udev-141-r1.
Maybe some native speaker can improve the ewarn message.
Comment 6 Alexander Holler 2010-09-26 10:26:01 UTC
this breaks losetup -f, see bug #269359
Comment 7 Alexander Holler 2010-09-26 10:26:43 UTC
uups, I meant bug #338766
Comment 8 Samuli Suominen gentoo-dev 2013-01-24 01:39:02 UTC
it looks like this bug is done, at least for 197-r3 and above (current stable)

vapier: please doublecheck if you have time