On 1/3/08, mojtaba <[EMAIL PROTECTED]> wrote: > Hi, > Thank you very much for your answers. > > But I have both console and null in /dev. > > -rw-rw-rw- 1 mojtaba mojtaba 0 2007-12-26 15:50 console > -rw-rw-rw- 1 mojtaba mojtaba 0 2007-12-26 15:50 null > > They have been created by buildroot. Do I need to create them manually? > Actually the size of both of them is 0 and both are empty files. Is that a > problem?
They should look like this: crw------- 1 root root 5, 1 2008-01-03 07:43 /dev/console crw-rw-rw- 1 root root 1, 3 2007-10-08 18:39 /dev/null They are not regular files. They are device files created with the 'mknod' command. Instead of a size, these files have 2 number; the device major and minor numbers. /dev/console uses major 5, minor 1. /dev/null is major 1 minor 3. Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [EMAIL PROTECTED] (403) 399-0195 _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
