Tag Info

New answers tagged

0

Kqueue is more general, and more complex than epoll. Source: http://www.eecs.berkeley.edu/~sangjin/2012/12/21/epoll-vs-kqueue.html


0

Here's the solution I used to the problem, for future reference: I installed freebsd 10.0-RELEASE using the "stock" disc1 ISO, selected root-on-zfs and targeted the two SSDs I wanted to use. I completed the installation, then booted into the live-cd environment, inserted a small USB flash drive made a filesystem on it, made a zroot@fresh snapshot, and used ...


0

Spent sometime on this today, and I think there are two issues here: every for loop iteration, a new incremental file is created (or old one is overwritten :-) . Remember, there is 1:1 mapping between the archive file and the snapshot file, thus one gtar-incremental can not serve all of the archive files. gtar does not like time stamps.This is because the ...


3

I don't have access to a BSD machine to check but your ps command should work as advertised. In any case, as a dirty hack, you could always just parse the output of the full ps (where NNN is the PID you are after): ps aux | awk -v OFS="\t" '$2=="NNN"' Or, to keep the output format identical to that of ps: ps aux | grep -i '^[a-z ]*NNN ' You may have ...


1

While it may not be applicable to all operations that can be expressed easily in natural language, FreeBSD's date has the -v operator that allows to set both arbitrary and relative values to separate date fields, and this can be repeated as necessary to produce most effects. For example, to get "last sunday" one can apply "zero out all time fields" followed ...


2

Probably the best way to ensure compatibility is to install GNU date on the FreeBSD system. You can install the coreutils package from the FreeBSD ports collection. This will put the GNU date command into /usr/local/bin/gdate.


5

There are a number of commands on FreeBSD that use the same API as GNU date to input natural language dates from the user. I've just found one that can be tricked into converting that date into Unix epoch time: /usr/sbin/fifolog_reader -B 'last sunday' /dev/null 2>&1 | sed 's/^From[[:blank:]]*\([0-9]*\).*/\1/p' (note that at least on FreeBSD ...


2

I don't think the installer can do what you want yet (although it's getting better over time), so you could try booting the installation image, and run a root shell from the initial menu. You can then use gpart, zpool and zfs to configure your disks by hand and install the system from the archives on the image. There are numerous guides around the Internet, ...


1

You can do this with netcat (ssh works too; but I'm assuming both the old machine and the new machine are on the same "secure" LAN). Briefly: Build your VM with your disk space and whatnot. Boot to the FreeBSD install DVD (probably doesn't matter which version). Use the post installation options to partition and format your drives (they don't ...


1

I haven't used the new installer yet but I have used mfsbsd with 9.x, doing exactly what you describe. There is an option to the zfsinstall on mfsbsd: -z zfs_part_size : create zfs parition of this size (default: all space left) mfsbsd is really simple and fast to use.


0

Unfortunately, removing a vdev (which this drive is) from a pool is not supported by ZFS currently. The work around would be to dump your data out of the pool and recreate it, then put the data back.


0

FreeBSD divides memory into 5 lists: wired (locked in memory, unpageable) active (recently used) inactive (not recently used) cache free Some of those have minimum free and target free levels, e.g. Pool Minimum Target Free 0.7% 3% Cache 3% 6% Inactive 0% 4.5% (Source: The Design and Implementation of the FreeBSD Operating ...



Top 50 recent answers are included