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

learn more… | top users | synonyms

1
vote
0answers
33 views

RT3592BC8 Bluetooth and FreeBSD

Several years ago (in 2008) I purchased a HP ProBook which I now want to sell because I got a newer laptop in January 2016. The ProBook is a Celeron Dual Core with 4GB of RAM and 250GB HDD. I have two ...
2
votes
3answers
132 views

Why does FreeBSD require terminal programs to be started as root?

On FreeBSD all graphical terminal programs (e.g. xterm, rxvt) seem to be installed setuid root, or with setuid root wrappers. On Linux, this is not the case on any distribution I have ever used. Why ...
2
votes
0answers
37 views

External Fragmentation in FreeBSD due to unmovable Kernel pages

Is external fragmentation an issue in FreeBSD due to unmovable Kernel pages similar to what Linux (1) (2) faces?
0
votes
2answers
60 views

what is the structure of meta-object set(MOS) metanode?

I am not very much familiar with ZFS file system. I want to know the structure of meta-object set(MOS) metanode.
0
votes
0answers
54 views

FreeBSD or simply Docker for my old Linux server?

I have an old obsolete server running a Linux Red Hat server 5.9 and inside a special software for a power plant control and I've been asked to replace this server as not so much spare parts are in ...
0
votes
1answer
40 views

FreeBSD ports collection under PC-BSD?

I'm toying with the idea of installing FreeBSD or PC-BSD... as it looks now, I'll probably go for PC-BSD. However, one thing I really would like, is the FreeBSD ports collection. So I was wondering ...
2
votes
0answers
32 views

Transmission keeps resetting file system permissions on FreeBSD

I'm trying to set up a transmission server for use as a seedbox. I've done this before on an Ubuntu box, but this is the first time I've tried it on FreeBSD. The default home directly for ...
0
votes
2answers
30 views

FreeBSD date utility -r switch confuses me

I have a bash script which I need to convert from linux to FreeBSD, but I'm obviously too stupid to read the man page in a proper way. The script has a line along: date +%d -r "$file" which works ...
-3
votes
1answer
42 views

How can I treat my disk like one big file?

I was reading about device files in FreeBSD, but my understanding is not great. To practice, I thought up the following scenario. I suspect that the problem can be solved using device files. Imagine ...
0
votes
0answers
46 views

ATA Status Error on FreeBSD 10.3 x64 install on 2TB drive

I'm trying to perform the FreeBSD 10.3 (x64) OS installation on a Dell Optiplex 755 computer, with Seagate Barracuda 2TB drive. HD: Seagate Barracuda 2000GB Model:<ST2000DM001-1CH164> These ...
7
votes
1answer
4k views

FreeBSD or PC-BSD?

After years of Linux I would like to give *BSD a try, but I'm uncertain if I should use FreeBSD or PC-BSD. With KDE out-of-the-box and graphical package-manager and such, PC-BSD strikes me as ...
0
votes
0answers
9 views

Free BSD is not recognized with Grub2 [duplicate]

I'm new to double booting, and the answer might be vary simple Today I set up two operating systems on a 160GB Hard Drive. The first one I installed was Fedora Workstation and set it up so it only ...
1
vote
0answers
24 views

BSD sound problems with Realtek 892

I'm having the same problem as: No sound with Mint 12 and Realtek ALC892. The user marked it as "Resolved" without actually resolving it, he just changed to another OS and gave up. Has anyone ...
0
votes
1answer
26 views

Installing Avahi on FreeBSD - Daemon Doesn't Start

I've just installed package avahi-app-0.6.31_5 on a fairly-clean FreeBSD 10.3, but the service isn't starting on its own. I've consulted the documentation and discovered that there isn't any. Can ...
1
vote
1answer
29 views

Mounting zpool (Solaris server and Freebsd client)

I have a Solaris with ZFS file system and NFS. I am kind of lost on how to export directories from the Solaris OS which has zfs via NFS? That way I can mount them on Freebsd client.
0
votes
1answer
60 views

Reading user input with read back

when I use simple bash command #!/bin/bash echo Please, enter your name read NAME echo "Hi $NAME!" and run it using source filename.sh it gives me an error :Undefined variable what could be the ...
3
votes
1answer
70 views

Accessing Luks-encrypted disc from FreeBSD

I have some data on a ZFS in a machine running FreeBSD that needs evacuation. I have a disc in a USB enclosure with enough space, but it's encrypted using Luks on a machine running Linux. Is there any ...
0
votes
0answers
19 views

How do I create an bootable UBCD-stick using FreeBSD?

I have an UltimateBootCD-image-file (iso) and I want to create a bootable usb-stick from it. I tried dd'in it, % dd bs=4M if=/path/to//ubcd.iso of=/dev/da0 && sync 103+1 records in 103+1 ...
1
vote
1answer
14 views

How does rollback work on soft updates

I've been reading a paper on soft updates recently and it discusses rolling back changes to avoid dependency cycles. The point of doing this is because "we have to write to the disk in block-size ...
214
votes
4answers
76k views

Why is FreeBSD deprecating GCC in favor of Clang/LLVM?

So I was surfing the net and stumbled upon this article. It basically states that FreeBSD, starting from Version 10 and above will deprecate GCC in favor of Clang/LLVM. From what I have seen around ...
1
vote
2answers
2k views

FreeBSD telnet does not take root login

I have just installed FreeBSD 8.1 as a VMWare host and can establish ipv4 connectivity to the instance and telnet through the virtual console. I have also uncommented the /etc/inetd.conf lines telnet ...
1
vote
0answers
453 views

Installing XBMC/Kodi and X server on FreeBSD

I couldn't find how to install X server and XBMC/Kodi on FreeNAS. So without any opinion if it's good or not, what are the steps to do it?
1
vote
1answer
26 views

Turn DOCS, NLS, and EXAMPLES options off by default for all FreeBSD ports

The Porters Handbook says in "5.12.1.3. Default Options" that DOCS, NLS, and EXAMPLES are on by default for all ports. I want them off, so I have to unchecked them manually during make config-...
24
votes
7answers
4k views

How to achieve portability with sed -i (in-place editing)?

I'm writing shell scripts for my server, which is a shared hosting running FreeBSD. I also want to be able to test them locally, on my PC running Linux. Hence, I'm trying to write them in a portable ...
3
votes
1answer
374 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 ...
1
vote
0answers
50 views

Mount storage from host in bhyve VM

Is it possible to mount storage space from the host environment inside a bhyve virtual machine? I could use a network share, but I figure there would be less overhead mounting the data directly. I'm ...
3
votes
3answers
2k views

FreeBSD and Linux shared partitions

Which directories, and how, can I share between FreeBSD and Linux? In particular, how can I deduplicate respectively /usr/home and /home? I guess directly sharing a partition between both systems ...
1
vote
2answers
136 views

Mount FreeBSD UFS from logical partition under Linux

How can I mount the FreeBSD UFS boot partition under Ubuntu in this setup: a single HDD which contains an MBR partition table which contains some primary Linux partitions and an extended partition ...
33
votes
1answer
22k 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.
8
votes
7answers
122k views

How can I change the default gateway?

Currently I'm running a FreeBSD 9.1 and the default gateway is already configured in the rc.conf. rc.conf: defaultrouter = "10.0.0.1" But now I want to change the default gateway without rebooting ...
1
vote
0answers
28 views

Freebsd porting and pkg-static

I am porting makemkv to freebsd 10.2 and for this reason I wrote the following makefile: # New ports collection makefile for: makemkv # Date created: 05 Mar 2012 # Date Updated: ...
3
votes
1answer
6k 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 ...
4
votes
3answers
834 views

Screen size in FreeBSD in VirtualBox

I am installing FreeBSD 10.0 on VirtualBox, and I can't figure out how to change the size of my screan, in the virtualbox? The freebsd in the virtualbox treats my screen like it's 1/4th the size of ...
0
votes
1answer
31 views

safely unmount samba share in freebsd

I've mounted a samba share on my Freebsd 8.2 server. I tried sudo umount -a -t cifs -l as suggested by a number of users on forums. But this gave me "illegal argument -l" error when I tried it. What'...
0
votes
1answer
34 views

What is “Localhost” binding in DNS forwarder in pfSense?

Trying to debug some network problems, I found that my DNS forwarder is configured in the following way: Although many entries stands for my WAN interfaces and LAN stands for LAN one, I don't ...
1
vote
0answers
60 views

How to make load balancing work from the pfSense box itself?

pdSense is a special distro of FreeBSD for routing. It supports limited multi WAN load balancing, i.e. it is possible to configure pfSense so that each next request will connect via different WAN ...
1
vote
0answers
21 views

What does it mean 10.171.10.1 --> 10.171.10.2 in openvpn-created interface?

I have installed OpenVPN server in FreeBSD and it created interface, visible by ifconfig: ovpns4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500 options=80000<...
0
votes
0answers
54 views

ext2 filesystem, files show up on one system but not another

I am in the process of converting my NAS from a D-Link DNS-321 running Alt-F. I formatted an external 3TB drive as ext2, and synced everything over to it. After that, I planned on putting the drives ...
0
votes
2answers
67 views

Move FreeBSD installation to smaller HDD [duplicate]

Good day! I have FreeBSD installation with next partitions: Now FreeBSD is installed in 500GB hard drive. I want to move it to 250GB hard drive. What is safest and correct way to do it? I'm afraid ...
4
votes
1answer
58 views

Multi-user permissions setup

I've been trying to figure out a good permissions scheme for my multi-user file server. I currently have about 5 users, each storing files in their home directory. These files are also being ...
6
votes
1answer
583 views

Enabling support for AddressSanitizer in FreeBSD

The question essentially is how to compile a program that uses AddressSanitizer in FreeBSD. I use FreeBSD 10.0 (64-bit). I am trying to compile the following code with -fsanitize=address flag: int ...
2
votes
1answer
111 views

Using an older version of Node and NPM on FreeBSD

I need to install an older version of NODE and NPM on freebsd to work with GHOST, a pretty cool blogging platform. I want to do this on my own system, preferably on a FreeBSD VM. The system is setup,...
1
vote
2answers
46 views

FreeNAS installation takes up the whole disk space

I'm very new to FreeBSD and I just installed the FreeNAS OS on a 1TB hard drive. After installing the OS, the remaining space on that specific disk seems not to available to be utilized as additional ...
7
votes
5answers
8k views

Add FreeBSD to GRUB2 boot menu

I have Gentoo x64 installed with Grub2 on my MBR drive. Today I installed FreeBSD x64 9.2. Now I'm in Gentoo and trying to add FreeBSD to grub2 menu list. grub2-install /dev/sda os-prober grub2-...
2
votes
0answers
31 views

pfctl - How to forward ip address in Mac OS Yosemite

How to forward all traffic to an external site 172.16.19.211:5001 to 127.0.0.1:5000 ? These docs have details about port forwarding but still ip forwarding is unclear. http://www.openbsd.org/faq/pf/...
1
vote
1answer
77 views

trouble installing Oracle Virtual Box Guest Addition in freeBSD 10.2

I am following a procedure on freeBSD wiki to install Guest Additions in freeBSD. pkg install emulators/virtualbox-ose-additions I was able to install emulators/virtualbox-ose-additions without ...
4
votes
0answers
70 views

Accessing ports on public IP from within a FreeBSD jail

In a FreeBSD 10 setup, I have a jail running the publicly accessible nginx web server and another jail for the Java backend server based on Jetty. Each jail has its own internal IP address 127.0.1.x ...
3
votes
1answer
186 views

How to change Squid service UID in FreeBSD?

Strangely enough, it appears that Squid cannot start if the squid user is not affected to the UID 100. When trying to use another PID, the service systematically fails to start with the following ...
1
vote
0answers
45 views

Is the (Free)BSD Codebase ANSI Compliant?

Google does not seem to shed any light on this topic - But the question is quite simple: Is the FreeBSD (Or any BSD) CodeBase ANSI (c89) Compliant, or does it use c99, c11 or non-standard features ...