at v2.6.16 65 lines 1.7 kB view raw
1/* -*- auto-fill -*- */ 2 3 Device File System (devfs) Boot Options 4 5 Richard Gooch <rgooch@atnf.csiro.au> 6 7 18-AUG-2001 8 9 10When CONFIG_DEVFS_DEBUG is enabled, you can pass several boot options 11to the kernel to debug devfs. The boot options are prefixed by 12"devfs=", and are separated by commas. Spaces are not allowed. The 13syntax looks like this: 14 15devfs=<option1>,<option2>,<option3> 16 17and so on. For example, if you wanted to turn on debugging for module 18load requests and device registration, you would do: 19 20devfs=dmod,dreg 21 22You may prefix "no" to any option. This will invert the option. 23 24 25Debugging Options 26================= 27 28These requires CONFIG_DEVFS_DEBUG to be enabled. 29Note that all debugging options have 'd' as the first character. By 30default all options are off. All debugging output is sent to the 31kernel logs. The debugging options do not take effect until the devfs 32version message appears (just prior to the root filesystem being 33mounted). 34 35These are the options: 36 37dmod print module load requests to <request_module> 38 39dreg print device register requests to <devfs_register> 40 41dunreg print device unregister requests to <devfs_unregister> 42 43dchange print device change requests to <devfs_set_flags> 44 45dilookup print inode lookup requests 46 47diget print VFS inode allocations 48 49diunlink print inode unlinks 50 51dichange print inode changes 52 53dimknod print calls to mknod(2) 54 55dall some debugging turned on 56 57 58Other Options 59============= 60 61These control the default behaviour of devfs. The options are: 62 63mount mount devfs onto /dev at boot time 64 65only disable non-devfs device nodes for devfs-capable drivers