Discussing the question of making device files in a postinst, and how to go about doing so.
I'd really like it if someone could draft a proposal which says how it ought to be done (Russell?). Thanks, Julian ----- Forwarded message from Russell Coker <[EMAIL PROTECTED]> ----- Date: Mon, 4 Jun 2001 11:25:41 +0200 From: Russell Coker <[EMAIL PROTECTED]> Subject: Re: Adding device file to /dev. To: Julian Gilbey <[EMAIL PROTECTED]> Cc: Richard Atterer <[EMAIL PROTECTED]>, debian-mentors@lists.debian.org, Viral <[EMAIL PROTECTED]> On Monday 04 June 2001 00:59, Julian Gilbey wrote: > On Sun, Jun 03, 2001 at 02:37:19PM +0200, Russell Coker wrote: > > Also make the package check for the presence of the character device > > /dev/.devfsd first, if that device exists then your script must not > > attempt to create the device node and it should be left for the kernel to > > do it! If you create a node under /dev when devfs is running it may > > result in an attempt to load the module, also the node will disappear on > > reboot! > > > > Another thing any package that depends on the creation of nodes under > > /dev MUST depend on "makedev | devfsd". People who run devfsd do not > > need to have makedev installed. > > Should this stuff go into policy? I think so. [...] ----- End forwarded message ----- -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London Debian GNU/Linux Developer, see http://people.debian.org/~jdg Donate free food to the world's hungry: see http://www.thehungersite.com/