FreeBSD is a free Unix-like operating system descended from AT&T UNIX via BSD UNIX.

learn more… | top users | synonyms

0
votes
0answers
4 views

“Cannot find -lgdbm” when making xemacs in FreeBSD10

I have been trying to install xemacs 21.4.22 in FreeBSD10 x64. Once I run ./configure and try to run make it gives me this error with libgdm.so library [eddyraz@laptop-eddyraz] ...
3
votes
1answer
22 views

Reading FreeBSD UFS formatted external drive in Mac OS X

I have an external USB drive with backup files formatted in FreeBSD's UFS file system. When I plug it into a computer running Mac OS X 10.9.4, I cannot read the drive's contents, and I don't have ...
0
votes
1answer
32 views

What are the differences between socket polling mechanisms of kqueue and epolling?

kqueue socket polling mechanism is used in FreeBSD and epolling in Linux. I would like to know what are the differences between the two mechanisms?
0
votes
0answers
49 views

What are the differences between the network stack of FreeBSD and that of Linux? [closed]

Recently there was a news about facebook trying to hire people with good Linux kernel knowledge so that they can improve the performance of Linux network stack and make it better or comparable to that ...
3
votes
0answers
24 views

FreeBSD setup RTL8187SE wireless NIC

I am running FreeBSD 10. My wireless card is: none1@pci0:9:0:0: class=0x028000 card=0x818210ec chip=0x819910ec rev=0x22 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = ...
0
votes
1answer
36 views

gtar fails to perform incremental backup

The following script fails to perform incremental backup, but creates full backup instead. On another FreeBSD server exactly same script works just fine (creating incremental backups). Servers are ...
4
votes
1answer
49 views

Get CPU usage for single process

I've got a problem getting a real-time CPU usage of a single process (by its PID). I'd like to setup a watchdog for the CPU usage of a process because it's suddenly reaching 100% of the CPU usage ...
3
votes
3answers
68 views

Parsing arbitrary natural language dates under BSD

I'm using the GNU date command to parse arbitrary natural language dates - for example to detect if a certain epoch time stamp is from last week, I can do: if [ "$timestamp" -lt "$(date +"%s" -d ...
1
vote
1answer
36 views

How do I create a VM from an existing FreeBSD 8.2 PreRelease server?

I need to create a VM (VirtualBox) out of an existing freebsd 8.2 pre-release i386 machine. I need to replicate the exact same environment and I can't rebuild from scratch because FreeBsd 8.2 ...
4
votes
3answers
69 views

FreeBSD 10 with Root-on-ZFS using only a part of the disk

I'm having a bit of trouble here. I'll try and be as concise as possible in describing my objective: I'm setting up a storage server for my employer, using two Intel DC S3500 series 120GB solid state ...
4
votes
1answer
45 views

ZFS: Trying to remove top-level drive from Zpool

I have a zpool called storage that contains a five device raidz1 array. Today I went and bought another 3TB device and put it in my enclosure. However, instead of creating a new pool and adding that ...
7
votes
1answer
63 views

Multiple instances of Postfix throwing error fatal: unknown service: smtp/tcp

I am trying to configure multiple postfix-2.12 instances on FreeBSD 10.0-RELEASE following the README. postmulti -e init postmulti -I postfix-out -G mta -e create ... This all works I can start and ...
2
votes
4answers
142 views

How much RAM needed for preventing use swap?

At my system always available some "Free" and "Inactive" memory, but sometimes system move couple megabytes to swap. Per night it maybe around 100MB, but for a few days in swap could be more than ...
2
votes
1answer
47 views

Do I need to setup my ZFS (using FreeBSD 10) for foreign-language files (e.g. filenames in Japanese/Thai/etc language)?

I am in the process of setting up a ZFS file server. I am planning to store all sorts of files in it. I have several hundred music tracks that are in Japanese/Korean native character. I want the file ...
5
votes
2answers
212 views

Is it too early to try LibreSSL? [closed]

I've been somewhat following the development and recent release of LibreSSL and coincidentally I have a new FreeBSD web server that I've been configuring for my personal/hobbyist projects recently. ...
1
vote
1answer
80 views

Freebsd equivalent build-essential

I'm already familiar with Debian and Ubuntu. At the moment I'm fiddling around with FreeBSD on a server, after installing it I'm wondering what the best way would be to install the 'essential' ...
1
vote
1answer
95 views

How to monitor outgoing http requests per user?

I'd like to know how to monitor users' outgoing http requests. I've got a FreeBSD 8.1 server, and I would like to get an output like this for http requests: source MAC address or IP address → ...
1
vote
0answers
55 views

How to destroy existing disk partitions

I added some disks to my system, which were in use before. I tried to create them: $ gpart create -s GPT ada0 gpart: geom 'ada0': Operation not permitted $ gpart show ada0 gpart: No such geom: ada0. ...
5
votes
0answers
49 views

How to Pass High Resolution from GRUB2 to FreeBSD?

I boot FreeBSD-10-RELEASE from GRUB2. I have set up the GRUB2 boot menu to display very nicely at my laptop's max resolution of 1024x768x32. I know it's possible to pass this resolution to the boot ...
2
votes
1answer
128 views

Howto fix my PHP install on FreeBSD using pkg

I've been messing around with pkg install, installing / removing both php5-5.4.29 and php55-5.5.13. But when I run php from the command line, it will give me an error like this: PHP Warning: PHP ...
3
votes
1answer
79 views

GCC not runnable on FreeBSD

I'm trying to run GCC on FreeBSD and I get this error: % gcc ar: unrecognized option `--plugin' usage: ar -d [-Tjsvz] archive file ... ar -m [-Tjsvz] archive file ... ar -m ...
2
votes
1answer
30 views

Unix. pecl memprof

Im trying to install https://github.com/arnaud-lb/php-memory-profiler on FreeBSD 9.2 After pear install http://pecl.php.net/get/memprof-1.0.0.tgz got such error: In file included from ...
2
votes
1answer
33 views

kvm_open: cannot open /proc

I have 100+ boxes running FreeBSD 8.4 amd64 RELEASE (p9) with the same configuration. And only one of them sometimes behaves strangely: load average (generally 4~6, it's ok course box have 8 CPU ...
2
votes
1answer
40 views

Using pkg add with a NanoBSD image

I'm running into a problem on a NanoBSD installation where I cannot install openjdk7 via pkg add because it first saves to either tmp or var (not sure which) and on a NanoBSD installation, there is ...
4
votes
1answer
34 views

How do I limit the number of getty processes started?

I've got a FreeBSD (9.2) box that I'm trying to strip down as lightweight as possible. It's running on a VM server, so other than ttyv0, we don't ever use the console. I'd like (if possible and ...
3
votes
0answers
33 views

Figuring out physical cache layout in FreeBSD

I'm trying to figure out they physical cache layout of my CPU in FreeBSD 10. I see the following from sysctl kern.sched.topology_spec kern.sched.topology_spec: <groups> <group level="1" ...
5
votes
2answers
107 views

What is causing a pause during the system device probe?

I am running FreeBSD 10.0-RELEASE. During the boot device probe there is a two-times 30 second pause. The output relevant to this is # dmesg ... (aprobe0:ata0:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 ...
2
votes
2answers
72 views

Is there an equivalent book/resource to “The Linux Programming Interface” for FreeBSD? [closed]

Most of you here are probably aware of the famous The Linux Programming Interface, which presents a truly masterful guide to the Linux and general POSIX APIs. I know that much of the general POSIX ...
1
vote
1answer
51 views

Does asynchronous disk IO affect swap usage?

I have a server application requiring usage of huge memory but can take little time. I therefore thought it should be economical to run it with a big swap and normal ram. I was reading about serving ...
1
vote
2answers
151 views

Force fsck at boot time on the root file system (prior to mounting file systems, without Single-User mode)

I just wonder if there are any solutions available at all (Googled for 2 hours). How to automatically force fsck disks after crash in `systemd`? - does not mean anything. Setting fsck_y_enable="YES" ...
4
votes
1answer
132 views

What do the different memory counters in FreeBSD mean?

top tells me: last pid: 64807; load averages: 0.99, 0.97, 0.92 up 189+04:47:22 09:16:17 45 processes: 1 running, 44 sleeping CPU: 0.4% user, 0.0% nice, ...
6
votes
5answers
424 views

Read files owned by another user as non-root

I'm backing up servers on a backup server. Each server which is backed up has it's own account on the backup server, and the files are rsynced. It is important that the permissions remain intact ...
1
vote
2answers
58 views

Strategies for userland file encryption without FDE

There are cryptography experts that are concerned over using Full Disk Encryption (FDE) on *nix platforms due to attack surface exposed due to reverse engineering of encryption algorithm when looking ...
4
votes
1answer
167 views

How to remove broken ZIL disk from ZFS pool

I have a ZFS pool, which contains two mirrored hard drives and ramdisk for logs. In my scenario is that log disk died: # zpool status -x tank pool: tank state: FAULTED status: An intent log record ...
2
votes
1answer
677 views

How do I install the latest gcc on FreeBSD?

How do I install the latest gcc on FreeBSD ind set up the system so that this latest version would be used to compile further programs? At the moment of this writing the latest release of gcc is ...
6
votes
2answers
86 views

FreeBSD 10 trace disk activity

Is there any way to find some process which is periodically writing to disk (according to hdd led) on FreeBSD 10 with ZFS (maybe turn ZFS into verbose logging mode)? lsof and other instantly ...
6
votes
1answer
67 views

FreeBSD systat doesn't calculate upload speed/total on wlan0

When I call systat -if shows that wlan0 out traffic/peak/total are 0 kb(/s). I'm using wlan0 for networking, internet down/upload are working. The in traffic/peak/total are OK. The wifi chip is ...
1
vote
2answers
177 views

How to disable daily run output email?

How to disable daily run output email from "Charlie &"? Googled couple of pages, but there is no clear answer. I use ssmtp instead of sendmail
1
vote
0answers
112 views

Metin2 server on FreeBSD error

I have private metin2 server on FreeBSD 9.1 32 bit and I installed packet filter PF. In pf.conf, I wrote metin2 ports (open for public) and my IP Which can be connected to the server. Everything is ...
7
votes
4answers
111 views

Why does *BSD uses driver specific names for network interfaces? Does it imply limitations?

I notice that depending on the brand of the network card, interface names differ (driver dependent I suppose). Why does *BSD uses driver specific names for network interfaces? Does it mean there is ...
2
votes
0answers
23 views

Update jails FreeBSD in silent mode

What if I want to add all process to the cron? Is there silent way to upgrade jail? After these steps: # make buildworld # make installworld DESTDIR=/jails/somejail It comes time to: # ...
1
vote
1answer
103 views

Erlang install on Freebsd 10 on Amazon ec2

I installed Erlang on amazon ec2 - on FreeBSD 10 with fetch http://www.erlang.org/download/otp_src_17.0.tar.gz gunzip -c otp_src_17.0.tar.gz | tar xf - cd otp_src_17.0 ./configure --disable-hipe ...
2
votes
2answers
206 views

How to install GNU make on FreeBSD 10?

I have this error configure: error: GNU make is required! and I can't change into /usr/ports/devel/gmake/ $ cd /usr/ports/devel/gmake/ cd: /usr/ports/devel/gmake/: No such file or directory How ...
2
votes
2answers
340 views

Conceptual difference between Linux and (Free)BSD Kernel

(I've already noticed that this question was asked before but I think it has not been answered in a way I'd like to understand the topic.) What are the conceptual and structural differences between a ...
4
votes
2answers
123 views

How to create MBR partition /dev/ nodes FreeBSD for mounting

I currently have FreeBSD version FreeBSD 10.0-RELEASE. Installed using a ZFS root. I'm attempting to mount a MBR partitioned drive but I can't get the partition nodes, /dev/ada4p1, etc. The partitions ...
2
votes
1answer
69 views

How to add a read only group permission to a folder that already has a default group, and have it inherited for all newly created files & folders?

In Windows this is easy. I never fully figured out Linux permissions, I have a directory such as this: /Photos The current ACL permissions are as follows: owner: root - full access group: photos ...
1
vote
0answers
289 views

FreeBSD and StrongSwan routing issue

Good day, gentlemen. I have recently faced a problem when a device connected to the FreeBSD server via StrongSwan can't route outside its subnet. Let me explain in details: FreeBSD 10.0-RELEASE, ...
2
votes
2answers
167 views

grep print relative file path when doing a recursive search

I'm trying to find out which version of hibernate the project depends on (this is orthogonal to my question). We have a parent project with several sub projects, and I know this is defined in one or ...
3
votes
0answers
36 views

Fix partition alignment in FreeBSD

I'm working on a FreeBSD 8.x (pfSense 2.1) system and post-install, realised that the partition is misaligned to the disk (starts at sector offset 63). GParted doesn't recognise UFS so that is out. ...
4
votes
1answer
1k views

Linux LXC vs FreeBSD jail

Are there any notable differences between LXC (Linux containers) and FreeBSD's jails in terms of security, stability & performance? On first look, both approaches look very similar.