Reputation
767
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
6 22
Impact
~31k people reached

1d
comment FreeBSD throttle cpu clock on high temperature
Might not be supported; best to ask on the freebsd mailing lists, including the full dmesg and appropriate sysctl output. Also, I may suggest trying out DragonFly BSD and OpenBSD, to see if that may solve the problem? On OpenBSD, you'd use sysctl hw.setperf to control CPU, and OpenBSD is actually much more popular on laptops than FreeBSD. Also, DragonFly did some power experiments recently, and results were very surprising! See lists.dragonflybsd.org/pipermail/users/2015-July/207911.html lobste.rs/s/vidxex
1d
comment FreeBSD throttle cpu clock on high temperature
All the hardware is different, you should probably give some more details about your box -- does it have coretemp or other drivers showing the CPU temperature, what is the processor, dmesg etc. Unfortunately, very few people run FreeBSD on the laptop, so, I don't think there's any general and obvious solution here. Perhaps it's just a matter of the power-saving features not being supported for your CPU or chipset?
2d
awarded  Nice Question
Jan
1
awarded  Nice Question
Dec
5
awarded  Yearling
Nov
28
awarded  Popular Question
Nov
5
comment New line in bash variables
printf "$LS" would also succumb to backslash character parsing, similar to echo
Nov
5
answered New line in bash variables
Nov
5
comment New line in bash variables
oh, so, not too surprisingly, the solution is to use printf instead of echo, as echo makes no distinction between actual newlines and \n literals. V=$(printf 'line1:test\\ntest\\n\nline2\n') ; printf '%s\n' "$V"
Nov
5
comment New line in bash variables
i don't think this works -- in my case, i'm saving $(git diff), which has mentions of \n that I've added, which subsequently get interpreted as a newline by echo.
Oct
22
awarded  Critic
Oct
1
awarded  Excavator
Oct
1
revised Is it possible to establish a Socket session (between Server and Client) using shell commands ?
noone likes reading unhighlighted code these days!
Oct
1
suggested approved edit on Is it possible to establish a Socket session (between Server and Client) using shell commands ?
Oct
1
comment How to enable Broadcom wireless BCM 4313 on OpenBSD?
The comment about monolithic kernels is not strictly correct -- even though the kernel is monolithic, the individual drivers could still be loaded as separate modules (although, alas, OpenBSD doesn't support that, but other systems, like FreeBSD, do).
Sep
14
comment Is it possible to store user's crontab in user's git repository on OpenBSD?
Are you sure that all modifications would be lost? Wouldn't the second parameter to VISUAL be the filename of the temporary file with the present version of crontab? E.g., wouldn't cat append the two files?
Sep
14
comment Is it possible to store user's crontab in user's git repository on OpenBSD?
Great idea! Do you by any chance have any advice of what's going to happen if there are any errors present? E.g., how would you make sure that the file is syntactically correct without doing a commit (ideally either to git or to crontab), or to make sure git doesn't commit if the file is rejected by crontab? Ideally, it'd be great if all of this was sync'ed such that the commit time could make it relatively easy to determine (in most cases apart from the race conditions) whether or certain jobs were running at certain times. Also, wouldn't your example cause all entries be appended?
Sep
13
comment Is it possible to store user's crontab in user's git repository on OpenBSD?
@JeffSchaller, so, is it not allowed to have symlinks or some such? the reason I'm asking at all is that the cron directory's permissions are set in such a way that the users themselves cannot access their own crontabs through the filesystem.
Sep
13
comment Is it possible to store user's crontab in user's git repository on OpenBSD?
I think you're completely missing my point, and even the whole idea behind it. The whole purpose is to have the USER be able to easily version THEIR OWN crontab in THEIR OWN git repository. How is any kind of second-user-to-avoid tampering logic applies here? (Besides, if I simply wanted to have a per-user repository without the user having access to it, I could already simply have root maintain it.) Nor am I interested in implementing my own crontab daemon, either, which was already stated in the question. This answer is complete non-sequitur and makes absolutely zero sense.
Sep
13
asked Is it possible to store user's crontab in user's git repository on OpenBSD?