Search results

  1. B

    ZFS performance degradation over time

    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...
  2. B

    changed shell from bash to sh HELP

    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...
  3. B

    Copying entire file system to new drive

    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...
  4. B

    Copying entire file system to new drive

    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)...
  5. B

    Skype Video on FreeBSD

    what about dv cameras? I think there should be a chance. I also want video in skype.
  6. B

    www.ghostbsd.org

    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...
  7. B

    Copying entire file system to new drive

    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...
  8. B

    ld-elf.so.1 not found

    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
  9. B

    Search File Content Recursively

    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...
  10. B

    FreeBSD bug grants local root access

    Why should one loose time and compile the program on your system. If I can bring a source file onto your system, I can bring the binary as well.
  11. B

    Trouble configuring Ruby on Rails

    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...
  12. B

    Trouble configuring Ruby on Rails

    Is it an open source app, so that I could try it on my fbsd installation?
  13. B

    Trouble configuring Ruby on Rails

    I've not used passanger. Does the app work on mongrel?
  14. B

    Installing libZFS

    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.
  15. B

    Installing libZFS

    /usr/share/mk/bsd.README
  16. B

    Putting colour in your shell

    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...
  17. B

    sh scripting question

    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
  18. B

    FreeBSD on PowerMac G4?

    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...
  19. B

    escape to loader prompt, ...to boot 2nd disk

    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...
  20. B

    checker for broken links on html pages

    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...
Back
Top