пʼятницю, 27 листопада 2009 р.

Монтуємо ISO-образи в FreeBSD

# mdconfig -a -t vnode -f -u 0
# mount -t cd9660 /dev/md0

наприклад:

# mdconfig -a -t vnode -f /home/steven/5.4-RELEASE-i386-disc1.iso -u 0
# mount -t cd9660 /dev/md0 /var/ftp/pub/freebsd-5.4/

http://lists.freebsd.org/pipermail/freebsd-questions/2005-May/088925.html

четвер, 26 листопада 2009 р.

Soft Updates

The tunefs(8) program can be used to fine-tune a file system. This program has many different options, but for now we are only concerned with toggling Soft Updates on and off, which is done by:

# tunefs -n enable /filesystem
# tunefs -n disable /filesystem

A filesystem cannot be modified with tunefs(8) while it is mounted. A good time to enable Soft Updates is before any partitions have been mounted, in single-user mode.

Soft Updates drastically improves meta-data performance, mainly file creation and deletion, through the use of a memory cache. We recommend to use Soft Updates on all of your file systems. There are two downsides to Soft Updates that you should be aware of: First, Soft Updates guarantees filesystem consistency in the case of a crash but could very easily be several seconds (even a minute!) behind updating the physical disk. If your system crashes you may lose more work than otherwise. Secondly, Soft Updates delays the freeing of filesystem blocks. If you have a filesystem (such as the root filesystem) which is almost full, performing a major update, such as make installworld, can cause the filesystem to run out of space and the update to fail.

[Source]

понеділок, 9 листопада 2009 р.

Електронна пошта з Exchange на зовнішні адреси

В MS Exchange можна організувати пересилання пошти користувачів на зовнішні адреси. Детальний опис