Berkeley Software Distribution is a Unix operating system

learn more… | top users | synonyms

9
votes
4answers
4k 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 ...
4
votes
1answer
47 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 ...
7
votes
3answers
104 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 ...
2
votes
1answer
66 views

Find out if files in a folder exist under other name in other folder

Possibly a little incorrect English ahead: There are at least 2 folders. For this, A contains files without extension, usually usernames, and B contains similar files, with '.yml' extension or ...
2
votes
2answers
131 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 ...
12
votes
3answers
2k 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.
0
votes
2answers
44 views

How do you check the support for a specific CPU in the Linux or BSD kernel?

Assuming that I have the sources for my kernel and I know the name of a SoC or a CPU, how I can check that the hardware is supported without compiling and running ?
0
votes
0answers
63 views

RaspberryPi GPIO FreeBSD assignment

First my Assignment: I'm a beginner with BSD and low level peripherals like GPIO etc., and I need to toggle Raspberry GPIO Pins from a C programme on BSD. I am Using this BSD Image i took from here: ...
1
vote
3answers
117 views

HowTo Chroot to BSD

I recently tried FreeBSD [9.2]. I installed it but as i found out it doesn't install any bootloader by default. So now i want to find out HOW it is possible to chroot to the installed BSD via a ...
11
votes
3answers
587 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 ...
51
votes
15answers
4k views

How do you choose a distribution?

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, ...
1
vote
2answers
295 views

How to run PC-BSD iso from GRUB with only Linux installed

I'm working on Ubuntu, and I wanted to try BSD. I downloaded a PC-BSD iso (PCBSD9.2-RELEASE-x64-DVD-USB-latest.iso). I wanted to know if it is possible to use "loopback" to run that image even if I ...
1
vote
0answers
325 views

GRUB2 under Mint: Booting PC-BSD without chainloading?

Wanting to try several operating-systems, I installed the following on a MBR-partitioned harddrive: Partition 1: FreeBSD on UFS split in root-slice and swap. No problem booting... Partition 2: ...
-3
votes
2answers
159 views

What is the difference between Unix, Linux, BSD and GNU? [closed]

What is the very fundamental difference between Unix, Linux, BSD and GNU? Unix was the earliest OS, so the term 'Unix like' is understandable, since they have kernel, file system structure, most of ...
3
votes
1answer
103 views

Does any OS support ZFS on MIPS?

Does there exist an operating system supporting ZFS under the MIPS architecture? If so, which operating system(s)? I am especially interested in: Support for ZFS on Loongson. OSes free from binary ...
1
vote
0answers
20 views

syslog: process specific priority

I have two user processes A and B. Both use syslog using facility LOG_USER. I want to have different threshold levels for them: For A, only messages of priority ERR-and-above must be logged For B, ...
0
votes
1answer
66 views

What kernel for ARM architechture, Linux or BSD? [closed]

I'm a computer sciences student and recently started a project with the engineering department that involves an onboard ARM processor, the question is what sort of operating system, kernel and ...
5
votes
1answer
499 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 ...
1
vote
1answer
53 views

Are there any PaxTest for OpenBSD?

Pax: PaX is a process memory protection patch For FreeBSD, there exists a testsuite called PaxTest, is there a PaxTest available for OpenBSD?
1
vote
0answers
43 views

Are there tools to build a LiveCD based on OpenBSD in the Linux environment?

I'm currently on Ubuntu and I want to build an OpenBSD 5.3 LiveCD customized for my own needs. I found the perfect tool to build a Linux LiveCD - live-build. I'm looking for the same, but to create ...
0
votes
1answer
509 views

BSD Books - Best books for OpenBSD and FreeBSD [closed]

I will begin a thorough study of the OpenBSD and FreeBSD, which are the most complete books? I found these, which are the best? Openbsd books Freebsd books
1
vote
0answers
107 views

bmake error on Mandrive: “bmake: no system rules (sys.mk)”

I'm trying to use bmake to build OS161 on Mandriva. When I try to run bmake, I get the following error: bmake: no system rules (sys.mk) I get the same error, even when I run bmake -m ...
22
votes
2answers
5k 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 ...
1
vote
1answer
490 views

convert timestamp to formatted time OSX

I had this working on Ubuntu but I'm now trying to run the script on OSX but it seems that the formatting of date is different. Originally I had: date -d "$MODDATE" +%F" "%H":"%M where $MODDATE is ...
6
votes
1answer
1k 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 ...
3
votes
3answers
596 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? ...
1
vote
2answers
95 views

kfreebsd ISO boot to grub menu

Having obtained the kfreebsd ISO image from here, I set up a VirtualBox VM to install from the ISO. When I boot up the VM, the session ends up with the grub menu instead of initializing the ...
2
votes
1answer
322 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 ...
11
votes
1answer
632 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 ...
3
votes
1answer
427 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
256 views

Can't boot FreeBSD after installation

I've installed FreeBSD on my system along with Windows 7 using this tutorial. When I turn on my PC the screen says something like this: F1 FreeBSD F2 Win F3 ? F6 PXE Boot: F1 _ Pressing F2 ...
5
votes
3answers
435 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 ...
32
votes
9answers
8k 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 ...
3
votes
1answer
176 views

Why is resolv.conf spelled without the 'e'? [duplicate]

A curiosity question which google has been unable to answer for me: Why is 'resolv.conf' spelled without the trailing 'e'? I'm sure there's a valid historical reason going back to the early days of ...
1
vote
0answers
52 views

Looking for meta-recipe for installing homebrew recipes under BSD

Is there a way to install homebrew recipes under BSD? (NetBSD, to be more precise.) (To make matters worse, I don't have write access to /usr/local in this system, so I'd be installing homebrew ...
1
vote
2answers
152 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 ...
2
votes
1answer
214 views

Chown and the risk of corrupting the backup disk

I am about to modify the file ownership recursively in a filesystem that uses ACLs. Because it is my backup disk, I thought I'd solicit comments on the script before I run it. #!/bin/bash # Replace ...
7
votes
1answer
375 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 ...
10
votes
3answers
328 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
2answers
622 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 ...
5
votes
2answers
251 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 ?
0
votes
0answers
192 views

PC BSD Warden network interface

The documentation for PC BSD's Warden mentions that the configuration of the right network interface is crucial. However, it doesn't say what the "right" interface is. This may sound like a stupid ...
2
votes
3answers
1k views

EPUB reader for *BSD/Linux

What are the best native EPUB readers for *BSD/Linux. Browser add-ons are not an option. I prefer non-Qt applications but you can share Qt applications if you want. If possible, I want a program that ...
33
votes
2answers
3k 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 ...
2
votes
2answers
184 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 ...
1
vote
2answers
1k 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 big-endian. Does this mean that my machine is ...
2
votes
3answers
496 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 ...
1
vote
0answers
464 views

Differences between UNIX, BSD and FreeBSD? [closed]

Could somebody tell me the difference between UNIX, BSD and FreeBSD? I've been using Linux from always, but now I'm curious about FreeBSD and BSD, because maybe there are more "unix-legacy"... What's ...
7
votes
3answers
2k 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 ...
5
votes
1answer
659 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 ...