From 9749d71acec875d36031b913a6fc62e3b7ead568 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Mon, 10 Aug 2009 12:07:31 +0200 Subject: Rootfs: update devives table Signed-off-by: Abdoulaye Walsimou Gaye --- src/devices_table.txt | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/devices_table.txt b/src/devices_table.txt index 0afc55e..953a833 100644 --- a/src/devices_table.txt +++ b/src/devices_table.txt @@ -1,3 +1,36 @@ +# When building a target filesystem, it is desirable to not have to +# become root and then run 'mknod' a thousand times. Using a device +# table you can create device nodes and directories "on the fly". +# +# This is a sample device table file for use with genext2fs. You can +# do all sorts of interesting things with a device table file. For +# example, if you want to adjust the permissions on a particular file +# you can just add an entry like: +# /sbin/foobar f 2755 0 0 - - - - - +# and (assuming the file /sbin/foobar exists) it will be made setuid +# root (regardless of what its permissions are on the host filesystem. +# Furthermore, you can use a single table entry to create a many device +# minors. For example, if I wanted to create /dev/hda and /dev/hda[0-15] +# I could just use the following two table entries: +# /dev/hda b 640 0 0 3 0 0 0 - +# /dev/hda b 640 0 0 3 1 1 1 15 +# +# Device table entries take the form of: +# +# where name is the file name, type can be one of: +# f A regular file +# d Directory +# c Character special device file +# b Block special device file +# p Fifo (named pipe) +# uid is the user id for the target file, gid is the group id for the +# target file. The rest of the entries (major, minor, etc) apply only +# to device special files. + +# Have fun +# -Erik Andersen +# + # /dev d 755 0 0 - - - - - /dev/pts d 755 0 0 - - - - - @@ -35,14 +68,16 @@ /dev/ptmx c 666 0 0 5 2 - - - /dev/ttyP c 666 0 0 57 0 0 1 4 /dev/ttyS c 666 0 0 4 64 0 1 4 -#/dev/fb c 640 0 5 29 0 0 1 4 +/dev/fb c 640 0 5 29 0 0 1 4 #/dev/ttySA c 666 0 0 204 5 0 1 3 /dev/psaux c 666 0 0 10 1 0 0 - #/dev/ppp c 666 0 0 108 0 - - - /dev/ttyCPM c 666 0 0 204 46 0 1 4 /dev/ttyAMA c 666 0 0 204 64 0 1 4 +/dev/ttySAC c 666 0 0 204 64 0 1 4 /dev/ttyPSC c 666 0 0 204 148 0 1 4 /dev/ttyUL c 666 0 0 204 187 0 1 4 +/dev/ttymxc c 666 0 0 207 16 0 1 3 # Input stuff /dev/input d 755 0 0 - - - - - @@ -114,6 +149,12 @@ #/dev/st c 640 0 0 9 64 1 1 4 #/dev/st c 640 0 0 9 96 1 1 4 +# USB block devices (ub driver) +/dev/uba b 640 0 0 180 0 0 0 - +/dev/uba b 640 0 0 180 1 1 1 6 +/dev/ubb b 640 0 0 180 8 0 0 - +/dev/ubb b 640 0 0 180 65 1 1 6 + # Floppy disk devices #/dev/fd b 640 0 0 2 0 0 1 2 #/dev/fd0d360 b 640 0 0 2 4 0 0 - @@ -140,3 +181,6 @@ #/dev/mcd b 640 0 0 23 0 0 0 - #/dev/optcd b 640 0 0 17 0 0 0 - +# I2C device nodes +/dev/i2c- c 666 0 0 89 0 0 1 4 + -- cgit v1.2.3