File: MAKEDEV-cpuid-msr

package info (click to toggle)
wmlongrun 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 716 kB
  • ctags: 149
  • sloc: sh: 4,149; ansic: 835; makefile: 36
file content (7 lines) | stat: -rwxr-xr-x 161 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
#!/bin/sh

msr_major=202
cpuid_major=203
mkdir -m 0755 -p /dev/cpu/0
mknod /dev/cpu/0/msr -m 0600 c $msr_major 0
mknod /dev/cpu/0/cpuid -m 0444 c $cpuid_major 0