Berkeley Software Distribution is a Unix operating system
0
votes
2answers
32 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
37 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
1answer
42 views
How to find out the escape sequence my keyboards sends to terminal?
Let's say we have a generic keyboard with some unknown keys which may send escape sequences to terminal.
The keyboard is connected to an xterm terminal emulator running on a generic BSD/Linux.
To ...
1
vote
3answers
57 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 ...
1
vote
2answers
143 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 ...
-3
votes
2answers
112 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 ...
5
votes
1answer
50 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 ...
3
votes
1answer
95 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 ...
11
votes
3answers
276 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 ...
1
vote
0answers
15 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
51 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 ...
1
vote
0answers
40 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 ...
1
vote
0answers
88 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 ...
1
vote
1answer
329 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 ...
1
vote
1answer
47 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
2answers
85 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 ...
11
votes
1answer
529 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 ...
1
vote
0answers
276 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: ...
2
votes
1answer
298 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
...
3
votes
1answer
319 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
228 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
379 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 ...
3
votes
1answer
169 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
48 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
138 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 ...
7
votes
1answer
372 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 ...
0
votes
0answers
178 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 ...
10
votes
3answers
300 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 ...
4
votes
2answers
242 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 ?
2
votes
2answers
149 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
970 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
466 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 ...
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 ...
1
vote
0answers
431 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 ...
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 ...
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 ...
1
vote
0answers
187 views
openBSD static ip can't connect
I have set /etc/hostname.msk0 to
inet 192.168.1.102 255.255.255.0 NONE
and /etc/mygate to
192.168.1.1
but still can't ping the router (192.168.1.1) do I need to configure dns to ping ?
...
3
votes
1answer
5k 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 ...
2
votes
1answer
74 views
Recompile Apache22 with threading seamlessly?
I just found out today that our apache installation was installed without threading support (we need this for mod_wsgi).
Will the following in the apache22 ports folder reinstall our apache with ...
2
votes
1answer
208 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 ...
31
votes
2answers
2k 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 ...
4
votes
3answers
258 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 ...
0
votes
1answer
477 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
1answer
627 views
Insert after a second pattern in sed
I'm using sed to edit a text file. The command:
sed -n -e '/pattern1/,/pattern2/p' test01.txt
show the lines between pattern1 and pattern2. But how can I insert a new line after this pattern2? my ...
12
votes
2answers
2k 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 ...
4
votes
1answer
688 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 ...
2
votes
1answer
845 views
Framebuffer on OpenBSD?
I am migrating from Linux to OpenBSD, and one of the things I miss from my old OS is how even the consoles looked nice (so nice you could actually watch movies in there) under framebuffer using a ...
2
votes
1answer
187 views
Can I use the same binary on Linux, *BSD and Illumos?
I want to know, if I can use the binary of a program without modification on the three systems? After all they are all Unices. I talk about the same architecture.
5
votes
1answer
643 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 ...
10
votes
2answers
596 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 ...