FreeBSD

From The Incoherency.Net Wiki
Revision as of 20:54, 15 February 2008 by Denis (talk | contribs)
Jump to navigation Jump to search

SMART (Self-Monitoring, Analysis and Reporting Technology)

http://smartmontools.sourceforge.net/ http://www.linuxjournal.com/article/6983

  • smartctl -l selftest /dev/ad0
  • smartctl -t long /dev/ad0
  • smartctl -Hc /dev/ad0

Technical Notes

Disk image via dd

dd bs=512 if=/dev/rXX# of=/some_dir/foo.dmg conv=noerror,sync

tar over netcat

  • nc -v -v -w 40 -l -p 8888 > foo.tar
  • tar cjvf * | nc remotehost 8888

Updating root DNS

dig @a.root-servers.net . ns > /etc/namedb/named.root