patch-2.3.46 linux/Documentation/filesystems/devfs/boot-options

Next file: linux/Documentation/filesystems/devfs/mk-devlinks
Previous file: linux/Documentation/filesystems/devfs/ToDo
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.45/linux/Documentation/filesystems/devfs/boot-options linux/Documentation/filesystems/devfs/boot-options
@@ -0,0 +1,66 @@
+/* -*- auto-fill -*-                                                         */
+
+		Device File System (devfs) Boot Options
+
+		Richard Gooch <rgooch@atnf.csiro.au>
+
+			      14-DEC-1999
+
+
+When either CONFIG_DEVFS_DEBUG or CONFIG_DEVFS_BOOT_OPTIONS are
+enabled, you can pass several boot options to the kernel to control
+devfs behaviour. The boot options are prefixed by "devfs=", and are
+separated by commas. Spaces are not allowed. The syntax looks like
+this:
+
+devfs=<option1>,<option2>,<option3>
+
+and so on. For example, if you wanted to turn on debugging for module
+load requests and device registration, you would do:
+
+devfs=dmod,dreg
+
+
+Debugging Options
+=================
+
+These requires CONFIG_DEVFS_DEBUG to be enabled.
+Note that all debugging options have 'd' as the first character. By
+default all options are off. All debugging output is sent to the
+kernel logs. The debugging options do not take effect until the devfs
+version message appears (just prior to the root filesystem being
+mounted).
+
+These are the options:
+
+dmod		print module load requests to <request_module>
+
+dreg		print device register requests to <devfs_register>
+
+dunreg		print device unregister requests to <devfs_unregister>
+
+dchange		print device change requests to <devfs_set_flags>
+
+dilookup	print inode lookup requests
+
+diread		print inode reads
+
+diunlink	print inode unlinks
+
+diwrite		print inode writes
+
+dimknod		print calls to mknod(2)
+
+dall		some debugging turned on
+
+
+Other Options
+=============
+
+These control the default behaviour of devfs. The options are:
+
+show		show unregistered devices by default
+
+nomount		do not mount devfs onto /dev at boot time
+
+only		disable non-devfs device nodes for devfs-capable drivers

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)