The one thing that's for sure is that zfs on FreeBSD competes for your RAM with other filesystems.
Meaning: Whenever top shows memory as beeing "Inactive", it effectively means that zfs cannot use this memory for it's caches.
So what happens if you copy a large amount of data from a...
ok listen: command history is implemented in libedit. /bin/sh uses this library, and you can access history with the arrow keys by enabling emacs mode:
$ set -o emacs
Note that linux doesn't have a bourne shell: /bin/sh is a link to /bin/bash.
/bin/sh on freebsd doesn't have a...
Other question: Can your bios boot directly from the array? Maybe the chain-loading (hitting F1) doesn't even work on your system.
You can disconnect the old drive, and try to do a fresh install from the cd directly to the array. The disk label setup by the freebsd installation has normally a...
your label doesn't look sane:
swap goes from zero to 50331648.
partition a goes from 50331648 to 134217728.
here is what it normally looks like:
=> 0 321672897 ad6s1 BSD (153G)
0 16 - free - (8.0K)
16 2097152 1 freebsd-ufs (1.0G)...
These days, I'd build a live system with zfs. It can be done by implementing a geom kernel module that can read an iso file system, and provide the contents of a file as block device (similar to md), but make it read/write by writing modifications to main memory.
Having this, you can burn...
never heard of gbdm. how does it work?
the files in the /boot directory are not special. /boot/mbr is the master boot record and /boot/boot = /boot/boot1 + /boot/boot2 is the boot code embedded into the disk label. these files are inactive. their contents will be installed into the partition...
do you mean "a binary" or "any binary"?
if this file (/usr/libexec/ld-elf.so.1) is really gone, every dynamically linked binary will refuse to run. however, you can still use the (statically linked) rescue binaries.
for example, to check if the file is there:
/rescue/ls /usr/libexec
Even faster:
grep -lr --include "*.txt" 'searchstring' /some/dir
Also, be aware that the grep tool uses a pattern for the search string. Make sure to understand the section REGULAR EXPRESSIONS of the grep manual page.
If you want to avoid using patterns all together, use the -F switch...
Ok. I installed the following ports:
* lang/ruby
* converters/ruby-iconv
* databases/ruby-mysql
* devel/ruby-gems
The I installed rails into my user account:
gem install rails
(but it can be installed from the ports as well)
I changed the database settings in...
yes.
you should have one Makefile per directory and use bsd.subdir.mk to descend into the child directories.
please note that you cannot use the bsd makefiles on other systems like solaris or darwin. if this is an issue, you'll have to switch to automake anyway.
Almost. Redirecting stderr is one thing. This can be an issue under some conditions, but normally you won't need it.
After all, I think that tcsh is a better interactive shell than bash. Only for more complex tasks or for scripting, the bourne shell should be used. Often, it will be something...
Or that:
while read domain
do
if [ -n "$domain" -a "x${domain#[#]}" = "x$domain" ]
then
rotate "${domain}"
fi
done <<'EOF'
# comment
domain1.com
domain2.com
domain3.com
EOF
I tried FreeBSD on a G4 Mac Mini once. You have to go into the open firmware prompt and boot a kernel manually. I also setup the variables in open firmware to boot FreeBSD automatically, but at the time of testing, the screen stayed dark. The other problem was that the battery was dead, and so...
You can also do it in the loader prompt, which gives you a more interactive experience. Use lsdev to show disks, and select the a partition of the disk you want to boot with "set currdev".
unload
lsdev
set currdev=disk1s1a
boot
There is also a readconf or read-conf command. This...
Depends on how intelligent it should be. You can find absolute links very easily, and check them with curl (print all failed links):
grep -Eo -e 'https?://[^"[:space:]]*' input.html | sort -u |\
while read u; do curl -sfI "$u" > /dev/null || echo "$u"; done
Or with csh:
foreach u (`grep...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.