Hi Otto,

Thanks for your reply.

On Sat, Sep 02, 2017 at 08:25:09AM +0200, Otto Moerbeek wrote:
| > Does anyone have a better approach?
| 
| Why in rc.local? This is a one time action only, right?

Uhm, that's actually a good question.  I thought `MAKEDEV all` deleted
all dev entries before repopulating them, but I was obviously
mistaken.  I kept cranking the number in /etc/rc.local when adding
disks (real or softraid crypto), but that's definitely not necessary.

[root@pom] # ls -l sd29c
brw-r-----  1 root  operator    4, 546 Sep  2 09:42 sd29c
[root@pom] # sh MAKEDEV all
[root@pom] # ls -l sd29c   
brw-r-----  1 root  operator    4, 546 Sep  2 09:42 sd29c

OK, ignore me :)  Sorry for the noise!  Just adding the devices once
like you suggest is sufficient.

Paul

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to