]> Cypherpunks.ru repositories - nncp.git/blobdiff - doc/news.ru.texi
Move .seen and .hdr to subdirectories
[nncp.git] / doc / news.ru.texi
index 24933c6a91d7d531fb8e8ac14efc291af8e78f48..210a44016bc343f1c4dc0703dd8591a8452c23c0 100644 (file)
 изменениях в spool директориях, для сокращения накладных расходов на их
 частое чтение.
 
+@item
+@file{.seen} и @file{.hdr} файлы находятся в @file{seen/} и @file{hdr/}
+поддиректориях теперь, дабы ускорить сканирование spool областей.
+Необходима миграция текущих файлов:
+
+@example
+$ find $NNCPSPOOL -type f -name "*.hdr" -exec rm @{@} +
+
+$ find $NNCPSPOOL -type d -name rx | while read rx ; do
+    cd $rx
+    mkdir -p seen
+    find . -type f -name "*.seen" | while read fn ; do
+        mv $fn seen/$@{fn%.seen@}
+    done
+done
+
+$ find $NNCPSPOOL -type d -name area | while read area ; do
+    find $area -type f -name "*.seen" | while read fn ; do
+        mv $fn $@{fn%.seen@}
+    done
+done
+@end example
+
 @end itemize
 
 @node Релиз 7.6.0