3 # A little tool to generate /dev directories in a form that genromfs
4 # understands. It takes as inputs the romfs directory, and the
5 # device table (which is in the same format that genext2fs understands)
7 while read filename type mode uid gid major minor start inc count ; do
16 x=`basename $filename`
18 touch "$1$y/@$x,$type,$major,$minor"
19 chmod $mode "$1$y/@$x,$type,$major,$minor"