Lines Matching refs:userdata
190 Directories (keys) under `userdata` are limited to 53 character length, and
191 data in `userdata/<key>/value` are limited to 200 bytes::
195 mkdir userdata/foo
196 echo bar > userdata/foo/value
197 mkdir userdata/qux
198 echo baz > userdata/qux/value
210 Preview the userdata that will be appended with::
212 cd /sys/kernel/config/netconsole/cmdline0/userdata
213 for f in `ls userdata`; do echo $f=$(cat userdata/$f/value); done
215 If a `userdata` entry is created but no data is written to the `value` file,
220 mkdir userdata/foo
221 echo bar > userdata/foo/value
222 mkdir userdata/qux
230 Delete `userdata` entries with `rmdir`::
232 rmdir /sys/kernel/config/netconsole/cmdline0/userdata/qux
238 mkdir userdata/testing
239 printf "val1\nval2" > userdata/testing/value
240 # userdata store value is called twice, first with "val1\n" then "val2"
242 cat userdata/testing/value
247 Task name auto population in userdata
251 `taskname_enabled` under the `userdata` directory. This file is used to enable
258 echo 1 > /sys/kernel/config/netconsole/target1/userdata/taskname_enabled
261 line in the userdata field with the format `taskname=<task name>`. This allows
275 Kernel release auto population in userdata
279 located in the `userdata` directory. This file controls the kernel release
281 to userdata dictionary in every message sent.
285 echo 1 > /sys/kernel/config/netconsole/target1/userdata/release_enabled
296 However, in this case, the release information is appended to the userdata
300 CPU number auto population in userdata
304 `cpu_nr` under the `userdata` directory. This file is used to enable or disable
310 echo 1 > /sys/kernel/config/netconsole/target1/userdata/cpu_nr
313 line in the userdata field with the format `cpu=<cpu_number>`. This allows the
328 If the user has set a conflicting `cpu` key in the userdata dictionary,
333 mkdir -p /sys/kernel/config/netconsole/target1/userdata/cpu
334 echo "1" > /sys/kernel/config/netconsole/target1/userdata/cpu/value