Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37323975
en ru br
Репозитории ALT
S:4.2-alt2
5.1: 2.11-alt5
4.1: 2.11-alt4
4.0: 2.11-alt4
3.0: 2.11-alt3
www.altlinux.org/Changes

Группа :: Работа с файлами
Пакет: dosfstools

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: dosfstools-2.10-noumount-subfs.patch
Скачать


--- dosfstools-2.10/src/mkdosfs.c~	2004-07-20 13:58:43 +0400
+++ dosfstools-2.10/src/mkdosfs.c	2004-07-20 14:02:51 +0400
@@ -596,7 +596,10 @@ check_mount (char *device_name)
     return;
   while ((mnt = getmntent (f)) != NULL)
     if (strcmp (device_name, mnt->mnt_fsname) == 0)
+    {
+	if ( (strcmp("subfs", mnt->mnt_type) != 0) && (strcmp("supermount", mnt->mnt_type) != 0) )
       die ("%s contains a mounted file system.");
+    }
   endmntent (f);
 }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin