Subject: Re: Cloning bdev/cdev devices, step one
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Matthew Jacob <mjacob@feral.com>
List: tech-kern
Date: 07/11/2000 23:22:19
> That creates /devices/pseudo/ipf@0:ipnat
> 
> In /etc/devlink.tab:
> 
> type=ddi_pseudo;name=ipf;minor=ipnat    \M0
> 
> creates /dev/ipnat -> /devices/pseudo/ipf@0:ipnat
> The real PITA about this approach is that whilst you're developing your
> driver, if it causes a panic "too soon" after loading, inodes are a mess
> in /etc, files like /etc/devlink.tab don't contain what they are supposed
> to (or can't be parsed) and (re)booting fails leaving you with no option
> but to boot off CD (or a "spare" partition).

Yes, but it's the same as if you nuke libc.so.