* [sisyphus] removable media @ 2007-07-05 9:15 Andrii Dobrovol`s`kii 2007-07-05 20:51 ` Pavlov Konstantin 2007-07-13 12:38 ` Damir Shayhutdinov 0 siblings, 2 replies; 10+ messages in thread From: Andrii Dobrovol`s`kii @ 2007-07-05 9:15 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list [-- Attachment #1: Type: text/plain, Size: 517 bytes --] Hi, А какая сейчас штатная схема работы со сменными носителями? В Бранче и в Сизифе. -- Rgrds, Andriy ********************************************************************* email: dobr at iop dot kiev dot ua Kyiv, Ukraine Phone: (380-44) 525-7824 Department of Gas Electronics Fax: (380-44) 525-2329 Institute of Physics of NASU *********************dobrATjabber.iop.kiev.ua************************ [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] removable media 2007-07-05 9:15 [sisyphus] removable media Andrii Dobrovol`s`kii @ 2007-07-05 20:51 ` Pavlov Konstantin 2007-07-05 21:24 ` Alexei V. Mezin 2007-07-13 12:38 ` Damir Shayhutdinov 1 sibling, 1 reply; 10+ messages in thread From: Pavlov Konstantin @ 2007-07-05 20:51 UTC (permalink / raw) To: sisyphus [-- Attachment #1: Type: text/plain, Size: 383 bytes --] On Thu, Jul 05, 2007 at 12:15:31PM +0300, Andrii Dobrovol`s`kii wrote: > Hi, > А какая сейчас штатная схема работы со сменными носителями? > В Бранче и в Сизифе. Одинаковая и у всех разная. Конкретизируйте, что Вы хотите узнать. -- > Ходят слухи, что Juniora больше не будет, а на смену ему придёт > Compact. Ходят форварды, что это не так. -- mike in community@ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] removable media 2007-07-05 20:51 ` Pavlov Konstantin @ 2007-07-05 21:24 ` Alexei V. Mezin 2007-07-06 8:20 ` Andrii Dobrovol`s`kii 0 siblings, 1 reply; 10+ messages in thread From: Alexei V. Mezin @ 2007-07-05 21:24 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list Pavlov Konstantin пишет: > On Thu, Jul 05, 2007 at 12:15:31PM +0300, Andrii Dobrovol`s`kii wrote: >> Hi, >> А какая сейчас штатная схема работы со сменными носителями? >> В Бранче и в Сизифе. > > Одинаковая и у всех разная. > > Конкретизируйте, что Вы хотите узнать. Э-э-э... Например так: при подключении USB Flash ядро обнаруживает устройство и делает то и это (наверное, это пояснение опционально), hal daemon получает сообщение о появлении устройства, согласно файлу настроек ХХХХ он делает то и то, через систему DBUS сообщение получает КДЕ, и согласно настроек в файле YYYYYY, рождает иконку на рабочий стол, из файла ZZZZZZ берется информация о точке и параметрах монтирования. Если в системе нет КДЕ, то произойдет то и вот это. Если хочется, чтоб устройство все же примонтировалось, надо в AAAAAA прописать "так" и "сяк" и запустить ivman от пользователя. Перед извлечением выполнить это и вот это. Что-нить в таком духе, чтоб после прочтения было ясно, что используются такие-то и такие-то подсистемы, а, например, submount не используется, что fstab не изменяется ни на одном из этапов, что кодировка берется вот отсюда, и править ее нужно вот так. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] removable media 2007-07-05 21:24 ` Alexei V. Mezin @ 2007-07-06 8:20 ` Andrii Dobrovol`s`kii 2007-07-13 12:30 ` Yury Aliaev 0 siblings, 1 reply; 10+ messages in thread From: Andrii Dobrovol`s`kii @ 2007-07-06 8:20 UTC (permalink / raw) To: alex783, ALT Linux Sisyphus discussion list [-- Attachment #1: Type: text/plain, Size: 1879 bytes --] Alexei V. Mezin пишет: > Pavlov Konstantin пишет: >> On Thu, Jul 05, 2007 at 12:15:31PM +0300, Andrii Dobrovol`s`kii wrote: >>> Hi, >>> А какая сейчас штатная схема работы со сменными носителями? >>> В Бранче и в Сизифе. >> Одинаковая и у всех разная. >> >> Конкретизируйте, что Вы хотите узнать. > > Э-э-э... Например так: > > при подключении USB Flash ядро обнаруживает устройство и делает то и это > (наверное, это пояснение опционально), hal daemon получает сообщение о > появлении устройства, согласно файлу настроек ХХХХ он делает то и то, > через систему DBUS сообщение получает КДЕ, и согласно настроек в файле > YYYYYY, рождает иконку на рабочий стол, из файла ZZZZZZ берется > информация о точке и параметрах монтирования. Если в системе нет КДЕ, то > произойдет то и вот это. Если хочется, чтоб устройство все же > примонтировалось, надо в AAAAAA прописать "так" и "сяк" и запустить > ivman от пользователя. Перед извлечением выполнить это и вот это. > > Что-нить в таком духе, чтоб после прочтения было ясно, что используются > такие-то и такие-то подсистемы, а, например, submount не используется, > что fstab не изменяется ни на одном из этапов, что кодировка берется вот > отсюда, и править ее нужно вот так. Да, примерно так. Какая именно схема обнаружения и подключения КД, брелков, дискеток считается штатной? Как оно там между собой должно взаимодействовать? Какая пакетная база должна быть установлена? Что и где настраивается? _Без_привязки_ к КДЕ. -- Rgrds, Andriy ********************************************************************* email: dobr at iop dot kiev dot ua Kyiv, Ukraine Phone: (380-44) 525-7824 Department of Gas Electronics Fax: (380-44) 525-2329 Institute of Physics of NASU *********************dobrATjabber.iop.kiev.ua************************ [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] removable media 2007-07-06 8:20 ` Andrii Dobrovol`s`kii @ 2007-07-13 12:30 ` Yury Aliaev 2007-07-13 12:38 ` Led 0 siblings, 1 reply; 10+ messages in thread From: Yury Aliaev @ 2007-07-13 12:30 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list Andrii Dobrovol`s`kii scripsit: >>при подключении USB Flash ядро обнаруживает устройство и делает то и это >>(наверное, это пояснение опционально), hal daemon получает сообщение о >>появлении устройства, согласно файлу настроек ХХХХ он делает то и то, >>через систему DBUS сообщение получает КДЕ, и согласно настроек в файле >>YYYYYY, рождает иконку на рабочий стол, из файла ZZZZZZ берется >>информация о точке и параметрах монтирования. Если в системе нет КДЕ, то >>произойдет то и вот это. Если хочется, чтоб устройство все же >>примонтировалось, надо в AAAAAA прописать "так" и "сяк" и запустить >>ivman от пользователя. Перед извлечением выполнить это и вот это. >> >>Что-нить в таком духе, чтоб после прочтения было ясно, что используются >>такие-то и такие-то подсистемы, а, например, submount не используется, >>что fstab не изменяется ни на одном из этапов, что кодировка берется вот >>отсюда, и править ее нужно вот так. > > Да, примерно так. > Какая именно схема обнаружения и подключения КД, брелков, дискеток > считается штатной? Как оно там между собой должно взаимодействовать? > Какая пакетная база должна быть установлена? Что и где > настраивается? _Без_привязки_ к КДЕ. > +1 Ещё хочется узнать, как можно сделать, чтобы вышеописанное работало для сменных _устройств_ (типа флэшек), но не трогало постоянные устройства со сменными носителями (типа дисководов и сидюков), которые хочется оставить под старым добрым sub(super)mount? ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] removable media 2007-07-13 12:30 ` Yury Aliaev @ 2007-07-13 12:38 ` Led 0 siblings, 0 replies; 10+ messages in thread From: Led @ 2007-07-13 12:38 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list В сообщении от Friday 13 July 2007 15:30:17 Yury Aliaev написал(а): > Andrii Dobrovol`s`kii scripsit: > >>при подключении USB Flash ядро обнаруживает устройство и делает то и это > >>(наверное, это пояснение опционально), hal daemon получает сообщение о > >>появлении устройства, согласно файлу настроек ХХХХ он делает то и то, > >>через систему DBUS сообщение получает КДЕ, и согласно настроек в файле > >>YYYYYY, рождает иконку на рабочий стол, из файла ZZZZZZ берется > >>информация о точке и параметрах монтирования. Если в системе нет КДЕ, то > >>произойдет то и вот это. Если хочется, чтоб устройство все же > >>примонтировалось, надо в AAAAAA прописать "так" и "сяк" и запустить > >>ivman от пользователя. Перед извлечением выполнить это и вот это. > >> > >>Что-нить в таком духе, чтоб после прочтения было ясно, что используются > >>такие-то и такие-то подсистемы, а, например, submount не используется, > >>что fstab не изменяется ни на одном из этапов, что кодировка берется вот > >>отсюда, и править ее нужно вот так. > > > > Да, примерно так. > > Какая именно схема обнаружения и подключения КД, брелков, дискеток > > считается штатной? Как оно там между собой должно взаимодействовать? > > Какая пакетная база должна быть установлена? Что и где > > настраивается? _Без_привязки_ к КДЕ. > > +1 Ещё хочется узнать, как можно сделать, чтобы вышеописанное работало > для сменных _устройств_ (типа флэшек), но не трогало постоянные > устройства со сменными носителями (типа дисководов и сидюков), которые > хочется оставить под старым добрым sub(super)mount? +1 Это можно сделать через udev rules. Что-то в этом направлении я делал для ltsp5, IMO по аналогии можно сделать и для десктопа. -- Led ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] removable media 2007-07-05 9:15 [sisyphus] removable media Andrii Dobrovol`s`kii 2007-07-05 20:51 ` Pavlov Konstantin @ 2007-07-13 12:38 ` Damir Shayhutdinov 2007-07-13 13:26 ` Yury Aliaev 1 sibling, 1 reply; 10+ messages in thread From: Damir Shayhutdinov @ 2007-07-13 12:38 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list > А какая сейчас штатная схема работы со сменными носителями? > В Бранче и в Сизифе. Я делал так: cdrom монтирую через subfs, по старинке Строчка в fstab: /dev/cdrom /mnt/cdrom subfs fs=cdfss,noexec,nodev,nosuid,ro 0 0 А флешки всякие - вот таким вот макаром: apt-get install ivman ln -sf /usr/bin/ivman-launch ~/.xsession.d/ Последнюю команду - от пользователя. При втыкании любого сменного накопителя создается поддиректория в /media Например /media/usbdisk Дальше с ней можно работать как угодно, но перед вытаскиванием я делаю pumount /media/usbdisk и все. Это все работает под IceWM. Запущены сервисы dbus и haldaemon. Сервис ivman не запущен. В кедах есть какой-то свой штатный способ, через GUI. Там ivman не нужен. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] removable media 2007-07-13 12:38 ` Damir Shayhutdinov @ 2007-07-13 13:26 ` Yury Aliaev 2007-07-13 13:36 ` Damir Shayhutdinov 0 siblings, 1 reply; 10+ messages in thread From: Yury Aliaev @ 2007-07-13 13:26 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list Damir Shayhutdinov scripsit: >>А какая сейчас штатная схема работы со сменными носителями? >>В Бранче и в Сизифе. > > > Я делал так: > > cdrom монтирую через subfs, по старинке > > Строчка в fstab: > /dev/cdrom /mnt/cdrom subfs > fs=cdfss,noexec,nodev,nosuid,ro 0 0 > > А флешки всякие - вот таким вот макаром: > > apt-get install ivman > ln -sf /usr/bin/ivman-launch ~/.xsession.d/ > > Последнюю команду - от пользователя. Я часто вообще без иксов сижу. Что посоветуете в этом случае? Ещё интересует, если на компе одновременно работают несколько пользователей, то пользовательская копия ivman какого из них сработает? > > При втыкании любого сменного накопителя создается поддиректория в /media > Например /media/usbdisk > > Дальше с ней можно работать как угодно, но перед вытаскиванием я делаю > > pumount /media/usbdisk А без этого нельзя обойтись, например, sync'ом, если были операции записи на носитель? Мне вполне может статься влом смотреть, каким именно макаром проявилась в /media та или иная флэшка... > > и все. > Это все работает под IceWM. Запущены сервисы dbus и haldaemon. Сервис > ivman не запущен. А запуск сервиса ivman что-нибудь может дать в этом случае? > > В кедах есть какой-то свой штатный способ, через GUI. Там ivman не нужен. Кеды -- ффтопку. Я иногда пускаю Гнома, но если он попробует как-нибудь самовольничать по поводу сменных устройств, то буду бить по носу, пока не отвыкнет! ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] removable media 2007-07-13 13:26 ` Yury Aliaev @ 2007-07-13 13:36 ` Damir Shayhutdinov 2007-07-13 14:34 ` Yury Aliaev 0 siblings, 1 reply; 10+ messages in thread From: Damir Shayhutdinov @ 2007-07-13 13:36 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list > Я часто вообще без иксов сижу. Что посоветуете в этом случае? Запускать ivman-launch любым удобным способом. Хоть из bash_profile. > Ещё > интересует, если на компе одновременно работают несколько пользователей, > то пользовательская копия ivman какого из них сработает? Как повезет. Это в общем-то не имеет значения, если монтировать с правами для всех. Но я не пробовал такой схемы. > > pumount /media/usbdisk > > А без этого нельзя обойтись, например, sync'ом, если были операции > записи на носитель? Мне вполне может статься влом смотреть, каким именно > макаром проявилась в /media та или иная флэшка... Раз уж все равно приходится какую-то команду вводить, то почему бы и не pumount? Тем более что в моем zsh отлично работает автодополнение - стоит только нажать Tab, и он выводит список всего что примонтировано в /media. > А запуск сервиса ivman что-нибудь может дать в этом случае? Его вроде как рекомендуется использовать в случае когда на компе работает несколько пользователей. Тогда флешки монтируются общесистемно. Но я этот вопрос не изучал, так как не было необходимости. Думаю чтение документации ответит на все вопросы. > Кеды -- ффтопку. Я иногда пускаю Гнома, но если он попробует как-нибудь > самовольничать по поводу сменных устройств, то буду бить по носу, пока > не отвыкнет! У кедов просто кросс-дистрибутивный метод монтирования. А вам видимо нужен кросс-DE метод. Вот этот метод и есть ivman. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [sisyphus] removable media 2007-07-13 13:36 ` Damir Shayhutdinov @ 2007-07-13 14:34 ` Yury Aliaev 0 siblings, 0 replies; 10+ messages in thread From: Yury Aliaev @ 2007-07-13 14:34 UTC (permalink / raw) To: ALT Linux Sisyphus discussion list Damir Shayhutdinov scripsit: >>Я часто вообще без иксов сижу. Что посоветуете в этом случае? > > Запускать ivman-launch любым удобным способом. Хоть из bash_profile. > > >>Ещё >>интересует, если на компе одновременно работают несколько пользователей, >>то пользовательская копия ivman какого из них сработает? > > Как повезет. Это в общем-то не имеет значения, если монтировать с > правами для всех. Но я не пробовал такой схемы. > > >>>pumount /media/usbdisk >> >>А без этого нельзя обойтись, например, sync'ом, если были операции >>записи на носитель? Мне вполне может статься влом смотреть, каким именно >>макаром проявилась в /media та или иная флэшка... > > Раз уж все равно приходится какую-то команду вводить, то почему бы и > не pumount? Тем более что в моем zsh отлично работает автодополнение - > стоит только нажать Tab, и он выводит список всего что примонтировано > в /media. Меньше телодвижений :) К тому же если с флэшки файлы только считывались, то можно и так выдернуть, без синхронизации. > > >>А запуск сервиса ivman что-нибудь может дать в этом случае? > > Его вроде как рекомендуется использовать в случае когда на компе > работает несколько пользователей. Тогда флешки монтируются > общесистемно. Но я этот вопрос не изучал, так как не было > необходимости. Думаю чтение документации ответит на все вопросы. Если это так, то это ответ на мой вопрос про несколько пользователей и т.п. Спасибо за наводку! Попробую копать в эту сторону. > > >>Кеды -- ффтопку. Я иногда пускаю Гнома, но если он попробует как-нибудь >>самовольничать по поводу сменных устройств, то буду бить по носу, пока >>не отвыкнет! > > У кедов просто кросс-дистрибутивный метод монтирования. А вам видимо > нужен кросс-DE метод. Вот этот метод и есть ivman. Ага, и кросс-DEless тоже :-) ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-07-13 14:34 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-07-05 9:15 [sisyphus] removable media Andrii Dobrovol`s`kii 2007-07-05 20:51 ` Pavlov Konstantin 2007-07-05 21:24 ` Alexei V. Mezin 2007-07-06 8:20 ` Andrii Dobrovol`s`kii 2007-07-13 12:30 ` Yury Aliaev 2007-07-13 12:38 ` Led 2007-07-13 12:38 ` Damir Shayhutdinov 2007-07-13 13:26 ` Yury Aliaev 2007-07-13 13:36 ` Damir Shayhutdinov 2007-07-13 14:34 ` Yury Aliaev
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