On Thu, Dec 25, 2003 at 09:24:57PM +0200, Martin Schlemmer wrote: > On Thu, 2003-12-25 at 12:06, Kay Sievers wrote: > > On Thu, Dec 25, 2003 at 12:25:22AM +0200, Martin Schlemmer wrote: > > > 3) After looking at ide-devfs.sh, I converted it to create the 'compat' > > > symlinks (/dev/{cdroms,discs}/* stuff) if anybody is interested (as > > > ide-devfs-compat.sh). > > [...] > > > 4) Is there any reason why only one 'method' (meaning only one of the > > > callouts I may have for ide devices - I may want to use both the > > > ide-devfs.sh and ide-devfs-compat.sh to have multiple symlinks for on > > > device ...) is done for each device and/or hotplug event (beside lack > > > of time to implement) ? Same for why only 'type' of 'method' is done > > > for each (if a CALLOUT is done, the rest is skipped) ? > > > > Why not merge the two callout scripts in one, so that it > > returns the two symlinks at once? > > We support multiple symlinks separated by spaces. > > > > ...,NAME="%k", SYMLINK="%2c %3c" > > > > Right, now why isn't that in the docs? Unfortunately I also missed it > while trying at hacking multiple SYMLINK=foo, SYMLINK=bar support. it's in a man page example :) here is a patch for the script and a small fix for namedev to work with... thanks, Kay