On Wed, 2010-06-09 at 17:04 +0200, Raphael Hertzog wrote:
> Hello,
> 
> what should package that require a specific device file do in their postinst ?
> 
> Many packages verify that the device does not exist and verify that
> /dev/MAKEDEV exists and do "cd /dev && ./MAKEDEV something" only in
> that case.
[...]

They should do nothing.  The device driver will generate a uevent when
the device is created, and udev or other userland agent will create the
device node.  Since new device drivers do not get static device number
assignments, there is no way to create their device nodes statically.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to