Hi Bernard,

Thanks for your suggestion. much cleaner than mine version.  Sounds like 
I should checkout trunk also.  I'll keep poking at 3.6.3 to see what 
else happens.  It's fun.



On Fri, Feb 24, 2006 at 05:24:05PM -0800, Bernard Li wrote:
> Hi Ashley: 
> 
> > Is it reasonable for UseYourOwnKernel.pm to use a more 
> > standard method to 
> > create devices?
> 
> That chunk of code has not been checked into SVN yet, so this is just
> "experimental" code to get me going.
> 
> Another user encountered a similar problem on SuSE and used this method
> instead:
> 
> $cmd = qq(cd $staging_dir/dev; /dev/MAKEDEV hda sda);
> 
> (MAKEDEV is located in /sbin/MAKEDEV so you can make a sym-link etc.)
> 
> >         #
> >         # Use MAKEDEV to create special devices for hard disks
> >         #
> >         #$cmd = qq(/dev/MAKEDEV -d $staging_dir/dev hda sda);
> >         $cmd = qq(/bin/mknod -m660 $staging_dir/dev/hda b 3 0);
> >         !system( $cmd ) or die( "Couldn't $cmd." );
> > 
> >         $cmd = qq(/bin/mknod -m660 $staging_dir/dev/sda b 8 0);
> >         !system( $cmd ) or die( "Couldn't $cmd." );
> 
> This "dev" issue has been fixed in trunk (or at least in Brian's udev
> branch).  Basically we integrated udev into SystemImager so that handles
> all the device creation.
> 
> In regards to fixing this for the 3.6.x branch, Brian has suggested I
> take a look at the Gentoo dev tarball, however I have yet to get my
> hands on it and I am not even sure if it provides devices such as cssis.
> 
> So, I don't really have a good solution/fix for you.  I suppose if mknod
> works more generically, I could use that instead of MAKEDEV - but again
> we need to come up with a list of commonly needed devices to be created
> ahead of time (and currently I just have hda and sda which are not
> really enough...)
> 
> Cheers,
> 
> Bernard
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd?k&kid0944&bid$1720&dat1642
> _______________________________________________
> Sisuite-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
> 

-- 

-ashley

Did you try poking at it with a stick?



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to