ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Шишков Евгений" <evgen@tulanews.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Master не даёт извлечь диск
Date: Mon, 24 Oct 2005 10:58:43 +0400
Message-ID: <435C8623.80203@tulanews.ru> (raw)
In-Reply-To: <435C8270.2070800@rambler.ru>

Olvin пишет:
>>>> Выбрасывает и пишет: eject: unable to eject, last error: Invalid 
>>>> argument
>>>> Уже раздражает после работы с приводом выбрасывать из под рута.
>>>
>>> Поищите на faq.altlinux.ru, это уже обсуждалось.
>>
>> Нашёл
>> Решил попробовать приведённую команду:
>> fuser -k -m /mnt/cdrom ; eject
>> И привело это к перезагрузке X
>> Как это починить - не нашёл.
> 
> 
> Вы нашли, но не то, что надо :)
> echo "0" >/proc/sys/dev/cdrom/lock
> Но это позволит только извлечь диск. Подмонтировать новый не сможете, 
> пока не завершится сам (или вы не прибьёте) тот процесс, что в одну из 
> поддиректорий cdrom'а смотрит.

> Той командой вы прибиваете все процессы такого рода. Почему под этот 
> критерий подпадают иксы - ХЕЗ. Вы в KDE работаете?
Да, в KDE. Причём заметил, что если сеанс завершить и заново войти, то 
выбрасывать позволяет.

> Тогда надо быть с 
> Konqueror поаккуратнее. Не закрывать его после работы с cdrom'ом, а 
> сначала выйти из директорий cdrom'а кнопкой "На уровень вверх" (а не 
> "Назад"!!!), и только потом можно закрывать окно. И так со всеми 
> экземплярами Konqueror'а, в которых вы обращались к cdrom'у.
Да я из Konqueror ни когда и не работаю.
Либо krusader, либо mc
Когда всё это писать начал эксперементы на mc ставил.
Причём, прежде чем отмонтировать вышел в корень диска, вышел из mc и 
затем unmount.
Дома поставил mandriva 2005. Такого не наблюдаю.

> Или прибивать не fuser'ом, а выборочно, т.е. сделав ps auxw|grep cdrom и 
> потом kill'ом прибивать процессы поневиннее, а не иксы вместе с ними :)

Но в 2.2 (насколько помню) такой проблемы не было.


-- 
С уважением,
Шишков Евгений (evgen[sobak]tulanews[dot]ru)


  reply	other threads:[~2005-10-24  6:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-24  6:09 Шишков Евгений
2005-10-24  6:13 ` Alexey Rusakov
2005-10-24  6:24   ` Шишков Евгений
2005-10-24  6:42     ` Olvin
2005-10-24  6:58       ` Шишков Евгений [this message]
2005-10-24  7:12         ` Olvin
2005-10-24  7:22           ` Шишков Евгений
2005-10-24  8:12             ` Olvin
2005-10-24  8:33               ` Шишков Евгений
2005-10-24  9:18           ` Yury Aliaev
2005-10-25  5:49             ` Шишков Евгений
2005-10-25  6:59               ` Шишков Евгений
2005-10-25  8:00                 ` Yury Aliaev
2005-10-25 11:20                   ` Aleksander N. Gorohovski
2005-10-25  8:51                     ` Шишков Евгений
2005-10-25  8:59                       ` Аня
2005-10-25  9:49                         ` Mike Lykov
2005-10-25 10:27                         ` [Comm] " Michael Shigorin
2005-10-25 10:50                         ` [Comm] Про supermount Yury Aliaev
2005-10-24  7:00     ` [Comm] Re: Master не даёт извлечь диск Michael Shigorin
2005-10-24  7:13       ` Olvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=435C8623.80203@tulanews.ru \
    --to=evgen@tulanews.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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