BSD is a family of Unix-like operating systems, including FreeBSD, NetBSD and OpenBSD.

learn more… | top users | synonyms

40
votes
3answers
8k views

What is the status of POSIX asynchronous I/O (AIO)?

There are pages scattered around the web that describe POSIX AIO facilities in varying amounts of detail. None of them are terribly recent. It's not clear what, exactly, they're describing. For ...
38
votes
4answers
16k views

How do I determine the target architecture of static library (.a) on Mac OS X?

I'm interested in verifying if a given iPhone static library has been built for ARM or Intel. It's more curiosity than anything. Is there some kind of Mac OS X or BSD specific tool to do this? This ...
30
votes
6answers
8k views

find -exec a shell function?

Is there a way to get find to execute a function I just defined in a bash script? dosomething () { echo "doing something with $1" } find . -exec dosomething {} \; find just tells me: find: ...
20
votes
7answers
7k views

AT&T vs Intel Syntax and Limitations? [closed]

To me, Intel syntax is much easier to read. If I go traipsing through assembly forest concentrating only on Intel syntax, will I miss anything? Is there any reason I would want to switch to AT&T ...
19
votes
6answers
1k views

Good collection of libraries for C?

I'm looking for a good collection of libraries for ANSI-C, stuff for handling vectors, hash maps, binary tress, string processing, etc.
18
votes
12answers
2k views

What's the best way to get to know linux or BSD kernel internals?

I'd like to gain better knowledge of operating system internals. Process management, memory management, and stuff like that. I was thinking of learning by getting to know either linux or BSD kernel. ...
13
votes
4answers
4k views

using BSD-licensed libraries on iPhone

I would like to use the JSON-framework ObjC library, which is licensed under BSD license, in my iPhone application. The thing is, I'm not sure what does the BSD license require me to do. The text of ...
11
votes
5answers
4k views

Detecting a chroot jail from within

How can one detect being in a chroot jail without root privileges? Assume a standard BSD or Linux system. The best I came up with was to look at the inode value for "/" and to consider whether it is ...
10
votes
8answers
1k views

Kernel Scheduling for 1024 CPUs

Azul Systems has an appliance that supports thousands of cache coherent CPUs. I would love insight into what changes would need to occur to an operating system in order to schedule thousands of ...
10
votes
4answers
7k views

How can I use rsync to backup files changed within a recent period?

Is it possible to specify a time range so that rsync only operates on recently changed files. I'm writing a script to backup recently added files over SSH and rsync seems like an efficient solution. ...
10
votes
1answer
910 views

How much memory locked in a process

Using getrlimit(RLIMIT_MEMLOCK), one can get the allowed amount of locked memory a process can allocate (mlock() or mlockall()). But how to retrieve the currently locked memory amount ? For ...
8
votes
10answers
4k views

Are there any small Unix or BSD distributions? [closed]

I was wondering if there are any small BSD or unix releases. The smallest Linux release I've seen that looked good is partedmagic (around 70MB). Free BSD needs like 4 CDs, maybe more.
8
votes
4answers
2k views

switching licence from GPL to BSD in later time

I wrote an software which I would like to release on BSD license. Unfortunately I am linking to library which is based on GPL. Right now I do not have time to rewrite that library. Can I release my ...
8
votes
3answers
2k views

Can I use LGPL library in BSD/X11 licensed project?

I am writing a small general purpose library, which i would like to use in my BSD/X11 licensed project. I want to include globalisation support in it, specifficaly, i would like to use Glib::ustring ...
8
votes
5answers
6k views

How would you build a database filesystem (DBFS)?

A database file system is a file system that is a database instead of a hierarchy. Not too complex an idea initially but I thought I'd ask if anyone has thought about how they might do something like ...

1 2 3 4 5 16
15 30 50 per page