Евсюков Денис пишет: > Здравствуйте, SerP Molot! > > Ответ на Ваше письмо от 16.05.2007 14:31 > >>> Тут надо смотреть по версиям пакетов и удалять только устаревшие. >>> Сама по себе дата файла ни о чем здесь не скажет. >>> Предлагаю писать на python ;-) >>> >> насколько я понял первое письмо - нужно удаление именно по дате >> > > Да, но предложенный метод в моем случае работать не будет. У меня > разделы монтируются с параметром noatime, т.е. время обращения к файлам > не фиксируется... =\ > > вот что я нашел по запросу в гугл "mount noatime"
http://www.faqs.org/docs/securing/chap6sec73.html "Linux has a special mount option for file systems called /noatime/ that can be added to each line that addresses one file system in the /etc/fstab file. If a file system has been mounted with this option, reading accesses to the file system will no longer result in an update to the atime information associated with the file like we have explained above. The importance of the noatime setting is that it eliminates the need by the system to make writes to the file system for files which are simply being read. Since writes can be somewhat expensive, this can result in measurable performance gains. Note that the write time information to a file will continue to be updated anytime the file is written to." Как я понял из диагонального чтения - эта опция не влияет на операции записи. И к тому же я предлагаю использовать mtime, т.е. время модификации. -- ubuntu-ru mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru
