Репозитории ALT
S: | 2.5.5-alt68 |
5.1: | 2.5.5-alt13 |
4.1: | 2.5.5-alt9 |
4.0: | 2.5.5-alt5.M40.4 |
3.0: | 2.5.2-alt3 |
Группа :: Система/Ядро и оборудование
Пакет: evms
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: evms-2.4.0-engine-is_mounted.patch
Скачать
Скачать
--- evms-2.4.0/engine/volume.c.orig 2004-03-03 11:14:41 +0200
+++ evms-2.4.0/engine/volume.c 2004-03-03 11:20:13 +0200
@@ -151,7 +151,7 @@
struct stat statbuf;
status = stat(mount_entry->mnt_fsname, &statbuf);
- if (status == 0) {
+ if (status == 0 && statbuf.st_rdev > 0 && vol_devt > 0) {
if ((vol_devt != 0) &&
(statbuf.st_rdev == vol_devt)) {
LOG_DEBUG("%s has same device number as volume %s (%u:%u)",