Re: [linux-minidisc] implementing unix himd autodetection function


On Sun, Dec 23, 2012 at 04:01:20PM +0100, John Paul Adrian Glaubitz wrote:
> An easy way would be to use udev which is unfortunately
> Linux-specific. udev emumerates devices and can assign device files
> according to specific properties (USB IDs, for example). With udev,
> you could have any HiMD/NetMD device known from a
> himd.rules/netmd.rules file assign the device file /dev/himdN or
> /dev/netmdN (N being an integer number).

As a quick follow up, here's a good introductory guide to writing udev
rules [1]. However, I think we should discuss the whole auto detection
mechanism on Linux, *BSD and MacOS X on more detail before we start
implementing it so we can be sure to have maximum cross-platform
compatibility.

Adrian

> [1] http://www.reactivated.net/writing_udev_rules.html

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913