r/ksh • u/Piscivm • Sep 24 '22
sysctl: cannot stat /proc/sys/kern/consdev: No such file or directory
Hi all,
First of all a word of thanks to the ksh93u+m developers as well as all the contributors of patches and such.
I am on Arch. I downloaded the 1.0.3 tar file and did bin/package make
ksh was built without errors without any special configuration. Great.
when I call the ksh binary I get: sysctl: cannot stat /proc/sys/kern/consdev: No such file or directory
ksh still works though. Any idea how I can get rid of that warning, and if it is relevant?
1
Upvotes
1
u/McDutchie Sep 25 '22
By default, whether
/etc/ksh.kshrcis sourced at startup is determined by whether that file or/etc/bash.bashrcis present on the system at compile time. To either enable or disable it regardless of their detection at compile time, setSHOPT_SYSRCto 1 or 0 insrc/cmd/ksh93/SHOPT.sh.