ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Вопрос по ivman
@ 2006-05-03 13:22 Sergey A. Sukiyazov
  0 siblings, 0 replies; only message in thread
From: Sergey A. Sukiyazov @ 2006-05-03 13:22 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]

Доброе время суток

Вот я решил попробовать вчера ivman  - вылезла такая проблема - когда флешку 
вставляю всё монтируется как нужно, но когда вытаскиваю флешку случается 
задница...ivman падает (там проверка что устройство есть, а так как флешку я 
вынул его нет - место я нашел, см.  в аттаче) я нашел место и подправил... 
только осталась проблема что е вызывается pumount и остается директория 
в /media. Если перед вытаскиванием флешки вызвать pumount то всё в порядке.

Кто-нибудь дать некоторые пояснения как пользоваться ivman+pmount. 
Документацию по адресу http://wiki.sisyphus.ru/admin/IvmanAutomount я читал, 
но там больше по настройке этих программ. Меня больше интересует методика 
использования ivman+pmount

Заранее спасибо.
-- 
С Уважением, Сукиязов С.А.
ООО Мерадом, зам. технического директора
Тел./Факс: +7 (863) 2692735, 2692736, 2692738
http://www.meradom.ru

-- 
С Уважением, Сукиязов С.А.
ООО Мерадом, зам. технического директора
Тел./Факс: +7 (863) 2692735, 2692736, 2692738
mailto:sukiyazov_sa@meradom.ru
http://www.meradom.ru

[-- Attachment #2: ivman-0.6.11-fix_null_device_accert.patch --]
[-- Type: text/x-diff, Size: 761 bytes --]

diff -Naur ivman-0.6.11-orig/src/IvmConfig/IvmConfigCommon.c ivman-0.6.11/src/IvmConfig/IvmConfigCommon.c
--- ivman-0.6.11-orig/src/IvmConfig/IvmConfigCommon.c	2006-04-16 08:16:20 +0400
+++ ivman-0.6.11/src/IvmConfig/IvmConfigCommon.c	2006-04-20 17:28:54 +0400
@@ -153,7 +153,12 @@
     char *device = (char *) libhal_device_get_property_string(hal_ctx, udi,
                                                               "block.device",
                                                               &dbus_error);
-    assert(device);
+    if(!device)
+    {
+	DEBUG(_("UDI %s is device NULL"), udi, &dbus_error);
+	return FALSE;
+    }
+    
     DEBUG(_("UDI %s is device %s"), udi, device, &dbus_error);
     // if we get here, condition one is satisfied
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-03 13:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-03 13:22 [sisyphus] Вопрос по ivman Sergey A. Sukiyazov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git