FreeBSD: Difference between revisions

From The Incoherency.Net Wiki
Jump to navigation Jump to search
Denis (talk | contribs)
No edit summary
Denis (talk | contribs)
No edit summary
Line 1: Line 1:
== Technical Notes ==
== Technical Notes ==


Line 23: Line 22:


dig @a.root-servers.net . ns > /etc/namedb/named.root
dig @a.root-servers.net . ns > /etc/namedb/named.root
=== Qmail log Timestamps ===
Can be converted to human readable using the tai64nlocal command.

Revision as of 20:57, 15 February 2008

Technical Notes

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

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

Qmail log Timestamps

Can be converted to human readable using the tai64nlocal command.