freebsd Questions
4
Solved
7
Solved
What is the equivalent of Linux's /proc/cpuinfo on FreeBSD v8.1? My application reads /proc/cpuinfo and saves the information in the log file, what could I do to get similar information logged on F...
Maghutte asked 3/11, 2010 at 2:39
13
Solved
When I want to execute an update query on my table I got an error saying:
1036 - Table data is read only.
How can I fix that?
Table attributes in /var/db/mysql are set to 777.
'Repair Table'...
Kokanee asked 5/3, 2012 at 23:50
14
Solved
What's the best way to download a python package and its dependencies from pypi for offline installation on another machine? Is there any easy way to do this with pip or easy_install? I'm trying to...
Staggers asked 18/6, 2012 at 21:51
4
I basically want to run a script (which calls more scripts) in a new process group so that I can send signal to all the processes called by the script.
In Linux, I found out setsid helps me in do...
5
Solved
This post is similar to this and this, however, without putty, the border could display properly. Therefore, I doubt this was caused by an old version of tmux.
I am running FreeBSD 9.2-release and...
3
Solved
I want to do something like this:
cat abcd.txt | cut -f 2,1
and I want the order to be 2 and then 1 in the output. On the machine I am testing (FreeBSD 6), this is not happening (its printing i...
Dupin asked 24/6, 2009 at 8:51
4
Solved
Can someone explain why I get exit code 141 from the below?
#!/usr/bin/bash
set -o pipefail
zfs list | grep tank
echo a ${PIPESTATUS[@]}
zfs list | grep -q tank
echo b ${PIPESTATUS[@]}
cat /e...
6
Solved
So I installed ruby, gems and rails - however whenever I type rails I get the rails: Command not found. error.
I did a dump of my local gems, which I'll include below
*** LOCAL GEMS ***
actionma...
Brock asked 28/7, 2012 at 14:18
3
Solved
How do I create a soft link programmatically in C/C++? link() system call in freebsd will create a hard link.
3
Solved
I believe that if we call close system call on a non-blocking socket it returns immediately, then how to handle the response? whether it is closed or not?
in other words what is the behavior of the...
Precipitin asked 20/6, 2011 at 22:22
2
The way I normally start a long-running shell script is
% (nohup ./script.sh </dev/null >script.log 2>&1 & )
The redirections close stdin, and reopen stdout and stderr; the nohu...
2
Solved
I have been looking for a Docker image of FreeBSD but cannot find, can FreeBSD be run inside docker? If not, why not?
3
Solved
I'm stuck in a file. I used vi to edit this file, and I tried to quit, but I got a message like "Entering ex input mode". It doesn't work if I press Escape, it writes ^[ in my file.
How can I prop...
6
Solved
I'm writing error handling code for a server on FreeBSD. For extremely serious errors I want to avoid data corruption by immediately terminating. That's easy, exit(3). Before I exit, I output my re...
5
Solved
Is there anyway we can change the date format in a particular log file being logged to by syslog? I don't want to change the way all logs are being logged, but just by log file.
EDIT: I'm using sy...
4
Solved
I've got a binary "CeeloPartyServer" that needs to find libFoundation.so at runtime, on a FreeBSD machine. They're both in the same directory. I compile (on another platform, using a cros...
2
Solved
For some tests, I've set up a plain new TrueNAS 12.3 FreeBSD Jail and started it, then installed python3, firefox, geckodriver and pip using the following commands:
pkg install python3 firefox geck...
Merrill asked 23/1, 2022 at 11:50
2
26
Solved
On Linux, the readlink utility accepts an option -f that follows additional links. This doesn't seem to work on Mac and possibly BSD based systems. What would the equivalent be?
Here's some ...
6
:echo has('clipboard') returns 1, but whenever I execute "+yy" or "*yy" nothing seems to be in those registers. If I use regular yy to copy another line of text, then try to paste from the register...
13
Solved
I know that lots of web hosting providers are offering FreeBSD, but how good is FreeBSD as a development platform?
Specifically, is Java 1.6 available in it?
Is there somthing specific that it of...
Bord asked 11/11, 2008 at 17:24
10
I am running PostgreSQL 9.3 on FreeBSD. FreeBSD uses pgsql as the default system user for PostgreSQL. My /usr/local/pgsql/data/pg_hba.conf looks like this:
# TYPE DATABASE USER ADDRESS METHOD
loca...
Jun asked 9/9, 2014 at 18:4
3
What I'm trying to do is to convert this installing script for webodm (https://gist.github.com/lkpanganiban/5226cc8dd59cb39cdc1946259c3fea6e) written in bash to be used in tcsh shell under a freena...
Voiceful asked 13/3, 2019 at 15:4
2
Solved
Recently I was playing with freebsd system calls I had no problem for i386 part since its well documented at here. But i can't find same document for x86_64.
I saw people are using same way like on...
Petronille asked 30/3, 2021 at 20:44
1 Next >
© 2022 - 2024 — McMap. All rights reserved.