Berkeley Software Distribution is a Unix operating system

learn more… | top users | synonyms

55
votes
15answers
7k views

How do you choose a distribution? [closed]

I'm currently looking at putting a Linux (although BSD is still an option) distribution on my old laptop. However, I'm not sure how to wade through all of my options - rolling releases versus not, ...
46
votes
2answers
7k views

What do different BSDs have in common?

... and what are the differences between them? I formulated my question like this to make it clear I'm not interested in a flamewar of opinions, rather in an objective comparison between the different ...
43
votes
9answers
15k views

Easy incremental backups to an external hard drive

For a while I used Dirvish to do incremental backups of my machines, but it is slightly cumbersome to configure, and if you do not carry a copy of your configuration it can be hard to reproduce ...
36
votes
3answers
18k views

Where does Mac OS X come from?

Discussing with Mac owners, I got several versions of where Mac OS X comes from. It is known to have some root in BSD, but how much, and where? Some say that Mac OS X has a FreeBSD kernel, with all ...
36
votes
1answer
4k views

What allows BSD to run Linux binaries, but not vice versa?

What allows BSD to run Linux (and other Unix-like) binaries, but Linux (and other Unix-like for the most part) cannot run BSD binaries?
25
votes
4answers
15k views

What are the differences between bsdtar and GNU tar?

I've always used GNU tar. However, all GNU/Linux distributions that I've seen ship bsdtar in their repositories. I've even seen it installed by default in some, IIRC. I know for sure that Arch GNU/...
21
votes
1answer
6k views

What are the main differences between BSD and GNU/Linux userland?

I've read a lot on Unix & Linux about BSDs and GNU, etc. But I still don't understand what some actual, practical differences are between BSD and GNU userlands, despite the fact that they are ...
15
votes
2answers
4k views

What are the main differences between BSD- and linux-based operating systems?

I am a long time linux user and have recently become interested in playing about with BSD-based operating systems. What are the differences between linux and BSD-based systems. I am interested in ...
13
votes
5answers
4k views

Which BSD to start with?

So I've been a linux user since June 2008. My first distro was Ubuntu. I've tried OpenSuSE, Fedora, Mandriva, Linux Mint, Puppy Linux, Damn Small Linux and Arch Linux, and I was thinking about giving ...
13
votes
2answers
997 views

Which to choose - BSD or Unix-style commands where available?

Commands like ps come with a lot of parameters, especially because they give the use an option to choose between Unix and BSD style flags. I hope you get my point here. So, when there's such an ...
12
votes
3answers
3k views

Why there are many BSD systems but only one Linux kernel?

Why there are many BSD systems but only one Linux kernel? I wonder why BSD was forked many times, but no such thing with Linux.
12
votes
4answers
6k views

If I connect a physical device, how can I ever know which device file belongs to it?

Say I plug in several USB drives which don't get automatically mounted. How can I find out which device file belongs to which physical device, so I can mount it for example? I'm running Mac OS X but ...
11
votes
2answers
9k views

BSD Kernel Vs. Linux kernel? [closed]

I wanted to know in technical terms; what is the difference between BSD Kernel and Linux Kernel. In Linux, we can download the source kernel then patch it and make and make modules it. Even we have ...
10
votes
3answers
709 views

Unix on a DEC VAX?

I just picked up a DEC VaxStation 4000 model 90 with a built in CDROM and an auxiliary SCSI storage module with tape archive drive. I believe it is functional although I cannot test it yet since I ...
10
votes
3answers
4k views

How can I instruct BSD sed to interpret escape sequences like \n and \t?

I have a sed replacement command that I would like to be compatible with BSD sed as well as GNU sed. Extended regular expressions are not an issue as I do not need them in this case. My primary ...
8
votes
2answers
7k 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 ...
8
votes
1answer
18k views

chmod: What does the `+a` parameter mean?

I was following a tutorial and it told me to run sudo chmod +a "SOME_PARAMS" some/dir I was surprised to see that fail telling me chmod: invalid mode: `+a' So I wonder: What does the +a mode ...
8
votes
3answers
649 views

Open Source router firmware options?

What distro's exist that are designed for routers? Please include the following link to the project page link to supported hardware list what distinguishes them, why pick this option friendly web ...
8
votes
0answers
180 views

State of ZFS xattr support in FreeBSD

I'm trying to work out whether or not, or rather to what extend, xattrs are supported in FreeBSD using ZFS. I've read some conflicting information. zfs get xattr lists it as on (default) for /, /usr ...
7
votes
2answers
6k views

Does hexdump respect the endianness of its system?

On my machine I get the following output when I run these commands: $ echo foos > myfile $ hexdump myfile 6f66 736f 000a The output from hexdump is little-endian. Does this mean that my machine ...
7
votes
3answers
300 views

In shell config scripts, how can I account for differences between coreutils on BSD compared to GNU?

Up until this month, my shell configs have been pretty simple (just a .bashrc or .bash_profile with some aliases mainly), but I have been refactoring it so I can get different behavior depending on ...
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 ...
7
votes
1answer
448 views

Who are these BSD Unix contributors?

I'm trying to piece together the names of the people who contributed to BSD Unix, according to the contents of the SCCS logs. (This is the version control system used at the time.) A number of names ...
6
votes
2answers
1k views

What can you do to a file without triggering the “Change” Timestamp?

What can you do to a file without triggering the "Change" stat? For instance, it appears that simply changing a bit will trigger Change.
6
votes
3answers
2k views

Can I pipe any two processes to each other?

In this page from The Design and Implementation of the 4.4BSD Operating System, it is said that: A major difference between pipes and sockets is that pipes require a common parent process to set ...
6
votes
1answer
549 views

Is there a BSD operating system that can be booted off a logical drive partition?

From several BSD operating systems' documentation, there is a requirement for it to be booted off a primary partition. Is there any BSD that can be booted off a logical partition in some indirect ...
6
votes
1answer
2k views

How Do I Add My Own Daemons in Arch Linux? (BSD-style init)

I have created a symlink to a start/stop/etc. wrapper bash script in /etc/rc.d, added it to DAEMONS=() in rc.conf, but the process it points to isn’t starting on boot, and isn’t showing up in the ...
6
votes
3answers
219 views

What is the preferred way to build software in the BSDs?

I was wondering what the preferred way of building software in the BSDs is and if they are actively using and encouraging the use of GNU autotools. I found the following section about GNU autoconf in ...
5
votes
1answer
1k views

Resources System V vs BSD

I'm searching for some detailed resources about the differences of System V and BSD concepts. For example: Interprocess Communication Sockets vs TLI ... Some sort of pro/cons discussion with ...
5
votes
1answer
772 views

How to use keyfiles,for ZFS whole disk encryption?

Does anyone have a working implementation using keyfiles, preferably on SD Card, instead of a prompt for ZFS? I know how to do this with linux LVM/LUKS. In my opinion the FreeBSD full disk ...
5
votes
2answers
379 views

What is BS"D in Mac OS X and iOS Internals?

I just received my copy of Mac OS X and iOS Internals, and there is something a little strange: Chapter 13: BS"D: The BSD Layer Is there an explanation for the extra quote ?
5
votes
1answer
3k views

Printing the current date/time with sub-second precision

GNU date(1) understands the %N format spec, which outputs nanoseconds, so: $ date +%H:%M:%S.%N outputs 19:10:03.725196000 BSD date doesn't understand %N. How can I print the current time with sub-...
5
votes
1answer
84 views

Does FreeBSD contain non-free software in its base?

I mean binary blobs compiled by third parties. Additionally if you do pkg install, are there non-free packages considered by default?
5
votes
0answers
88 views

enable external display on FreeBSD console

tl;dr, I'd like to use the external display with FreeBSD 10.0 on an HP Pavilion g7-2270us. Don't care if it's mirrored or I have to select one or the other. Here's the symptoms: When a display is ...
4
votes
3answers
967 views

Why does a default Linux installation run more processes than a default OpenBSD installation?

If I ps -aux on Ubuntu (or any GNU/Linux distribution) without GUI I see ~100 processes running. If I ps -aux on OpenBSD without GUI, then I get ~10 processes. What is the explanation/reason for ...
4
votes
3answers
562 views

Do BSD and SunOS have multithreaded architectures?

I'm interested in operating systems that have a multithreading architecture, like Mach and BeOS; not ones that depend on libraries like POSIX to be multithreading. Do BSD and SunOS have a ...
4
votes
2answers
959 views

What is the TTY major number of your Unix?

I'm currently working on a serial port library which already uses special frameworks to get information about serial ports on the system. Though serial ports are a fundamental design in Unix—as ...
4
votes
2answers
617 views

What is the PKG_PATH for NetBSD 6.0.1 Binary Installs?

What is the value or URL for PKG_PATH used to inform NetBSD 6.0.1 where to download binary packages from? There seems to be a change in both servers as well as the path or directory layout for the ...
4
votes
1answer
56 views

Why grepping with color doesn't return anything?

I've got the following foo.txt file: This is the first line. This is the middle line. This is the last line. And I'm trying to grep the middle line just by the word middle and return the ...
4
votes
2answers
94 views

BSD sed: Replace only the Nth occurrence of a pattern

Using BSD sed; How can I perform the following substitution?: Before: hello hello hello hello hello hello After: hello world hello hello hello hello In other words; how can I replace only the ...
3
votes
2answers
133 views

Why does deleting directories generate error messages with find -exec?

Why is it that: find . -type d -name test -exec rm -r {} \; generates error messages: find: ./foo/test: No such file or directory find: ./bar/test: No such file or directory find: ./blech/test: No ...
3
votes
1answer
1k views

UNIX-, BSD-, GNU-options in Linux's ps command. Where are they from? [closed]

In the manual for the ps command on Ubuntu there is this text: This version of ps accepts several kinds of options: 1 UNIX options, which may be grouped and must be preceded by a dash....
3
votes
1answer
136 views

How to install portmaster on FreeBSD?

I'm trying to install portmaster on FreeBSD but I get an error about the port format: root@freebsd:/usr/ports/ports-mgmt/portmaster # make install clean ===> portmaster-3.17.8_1 pkg(8) must be ...
3
votes
2answers
879 views

Change the time format for the touch command in BSD

I am wondering how to change the time format when I am modifying a time with the touch command in the c shell. For example I need to use touch -a -t 051512002015 file.txt This will change the ...
3
votes
3answers
769 views

How do I choose between Unix / Linux and Windows in a Server environment?

I need a server, and I'm used to windows at home and in the office, but it seems that Unix / Linux is an option, but I don't really know what it is. I don't know which one to get, how do I choose? ...
3
votes
1answer
51 views

Change password with kpasswd via command line?

I want to use kpasswd to change my password. Since I have to do it for multiple realms, I'd like to automate it passing on the password. I want to set a variable in bash and pass that on to kpasswd, ...
3
votes
2answers
2k views

How do I check active crons?

I'm trying to hunt down a cron job (or the equivalent) which I know is running, but I can't find it in the default cron files for my system (FreeBSD / Linux / BSD). How can I tell which ones are ...
3
votes
1answer
57 views

How to I convert month name to number in BSD date?

I have found solutions for GNU date, but not for BSD date. I would rather not make an if, etc. before I know if there's a built in way.
3
votes
1answer
114 views

BSD Net/1 was a free fully operating system?

I think that the old BSD Net/1 was not a fully operating system, but an add-on to 4.3BSD for VAX, as I realize from http://gunkies.org/wiki/Net/1 and http://gunkies.org/wiki/Net/2 Is it right? In ...
3
votes
2answers
273 views

Are there any good tutorials for NetBSD and daemontools?

I'm looking for some good resources on running daemontools on a NetBSD box. I've installed the binary package via pkg_add, but I can't seem to find an rc script for starting, e.g., svscan. I'm mostly ...