[dm-devel] Re: Changes hwtable.c to Support New Pillar Hardware

Stefan Bader Stefan.Bader at de.ibm.com
Tue Feb 6 13:00:25 UTC 2007


dm-devel-bounces at redhat.com wrote on 05.02.2007 23:51:44:
> 
> I'm wondering : "%d" or "/dev/%n" should work as mpath_prio_alua
> parameter. Does "%n" does too ?
> 
Yes, "%n" uses "/dev" (or the directory given with -d) as device
directory, if there is no leading "/" in the device name.
It might be a workaround for the problems with the temporary device
node (makedev macro seems to be the wrong choice...) but will get
other problems. If udev/hotplug doesn't create the device node fast
enough the call will fail. This was the reason to implement the "%d"
support in the first place. May someone has a good idea how to
do the node creation correctly...

Regards,
Stefan




More information about the dm-devel mailing list