/dev/static/.dev has been removed
Scott James Remnant
scott at ubuntu.com
Wed Jan 14 12:55:46 GMT 2009
During Ubuntu's development we've transitioned from a static /dev
installed as part of the base system to a dynamic /dev populated on boot
according to the hardware you have installed.
With the dynamic /dev, it's not necessary for packages to create devices
in their maintainer scripts. However some still wished to do so in case
you uninstalled udev (an action not supported in Ubuntu, but supported
in Debian).
These packages could access the original static /dev through
the /dev/.static/dev path. As many noted, this broke when the kernel
gained the ability to have separate access for bind mounts, and this was
actually read-only.
In agreement with Debian, this path has now been removed. It is no
longer possible to access the old static /dev tree while udev is
running.
Fixes should be available for any package from Debian, in general the
rules are:
- Packages should not depend on makedev
- Packages should not call MAKEDEV or mknod in maintainer scripts
- Packages may install udev rules to change the ownership, group or
mode of devices
- Packages may use chown, chgrp and chmod in maintainer scripts to
apply these new permissions if the device already exists
(this is preferred to attempting to "trigger" the device)
- Packages should not install udev rules that change the name of a
device. If the name is wrong, the rule should be submitted to udev
upstream for inclusion by default.
Scott
--
Scott James Remnant
scott at ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20090114/11222dc3/attachment.pgp
More information about the ubuntu-devel
mailing list