USB Flash rootfs prep!

Nicholas Mc Guire hofrat at hofr.at
Sat Nov 15 21:40:21 EST 2008


> >
> > did you check that it is actually a valid character device (c 5 1) ?
> > it can easaly happend during copying of a tree into your image that
> > they become regular files.
> >
> > hofrat
> >
> I think that you are right, butr how can I test this validity??
>
just check with ls -l that the device file is actually still a character
device with the right major/minor number.

crw--w--w-    1 root     tty        5,   1 Nov 13 22:18 /mnt/dev/console

modes and date of course may be diferent.

hofrat


More information about the Linuxppc-embedded mailing list