[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

rootskel can't make dev



[we're talking about why I can't get rootskel to create proper /dev/ files.]

It looks like one problem is trying to run mknod (or cp -a) while not root to
create the special files in /dev.  I get messages like:
ruff:rootskel$ mknod hda b 3 0
mknod: `hda': Operation not permitted
ruff:rootskel$ 

This is wierd, because the files show up looking good when I do dpkg -c:

ruff:rootskel$ dpkg -c ../rootskel_0.02_i386.udeb 
brw-r--r-- root/root       3,0 2000-07-05 10:43:10 ./dev/hda
brw-r--r-- root/root      3,64 2000-07-05 10:43:11 ./dev/hdb
brw-r--r-- root/root      22,0 2000-07-05 10:43:13 ./dev/hdc
brw-r--r-- root/root     22,64 2000-07-05 10:43:14 ./dev/hdd
brw-r--r-- root/root       2,0 2000-07-05 10:50:06 ./dev/fd0
lrwxrwxrwx root/root         0 2001-02-05 22:29:35 ./dev/ram -> ram1

But then when I look at the files in the debian dir:
ruff:rootskel$ ls -al ./debian/rootskel/dev/hd*
-rw-r--r-- 1 davidw   root   0 Jul  5  2000 ./debian/rootskel/dev/hda
-rw-r--r-- 1 davidw   root   0 Jul  5  2000 ./debian/rootskel/dev/hdb
-rw-r--r-- 1 davidw   root   0 Jul  5  2000 ./debian/rootskel/dev/hdc
-rw-r--r-- 1 davidw   root   0 Jul  5  2000 ./debian/rootskel/dev/hdd

They don't look right.

If I run 'debuild' as root the ./debian/rootskel/dev/ dir looks right, but the
floppy still doesn't work properly.


-David



Reply to: