From: Alexander Orlenko <zxteam@gmail.com>
To: gentoo-user-ru@lists.gentoo.org
Subject: Re: [gentoo-user-ru] mount Symbian
Date: Fri, 11 Jun 2010 14:37:46 +1100 [thread overview]
Message-ID: <AANLkTikh-NO_7uorb1ZCwDqqvLLFYgz-TfmMvl3-09f7@mail.gmail.com> (raw)
In-Reply-To: <243331273521099@web140.yandex.ru>
[-- Attachment #1: Type: text/plain, Size: 1894 bytes --]
А можно поинтересоваться - для чего указывается вот это:
modules=iconv -o to_code=utf8,from_code=utf8
Перекодирование из utf8 в utf8 ?
2010/5/11 Семён Марьясин <MarSoft@ya.ru>
> > Hi!
> > Такая проблема:
> > Есть телефон Nokia 6120c (ОС Symbian), хочу, чтоб при подключении по USB
> > он сам монтировался(в LXDE)
> > Пока монитрую вручную:
> > obexfs -u 1 /mnt/tmp/ -o allow_other,nonempty,gid=100,umask=2 -o
> > modules=iconv -o to_code=utf8,from_code=utf8
> > Как автоматизировать?
> > Пытался прописать это в udev не получилось.
> >
>
> Сначала с помощью команды udevadm monitor надо выяснить, какие события
> происходят при подключении устройства. Потом добавить в
> /etc/udev/rules.d/80-symbian.rules соответствующую строку.
> У меня для монтирования флешек используется такое правило:
>
> ENV{ID_FS_USAGE}=="filesystem|other", KERNEL=="sd[b-z][0-9]|sd[b-z]",
> RUN+="/etc/udev/storage.sh %k $env{ID_FS_LABEL_ENC}"
>
> Да, кстати - зачем в команде опции заданы несколькими ключами? Не проще ли
> так?
> obexfs -u 1 /mnt/tmp -o
> allow_other,nonempty,gid=100,umask=2,modules=iconv,to_code=utf8,from_code=utf8
>
> А вообще, согласно документации
> http://dev.zuckschwerdt.org/openobex/wiki/ObexFs#Fstab можно просто
> прописать соответствующую строчку в fstab.
>
> --
> Best Regards, MarSoft (Семён Марьясин) / xmpp:marsoft@jabber.ru<xmpp%3Amarsoft@jabber.ru>
>
>
[-- Attachment #2: Type: text/html, Size: 2423 bytes --]
prev parent reply other threads:[~2010-06-11 3:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-10 18:34 [gentoo-user-ru] mount Symbian Антонов Николай
2010-05-10 19:51 ` Семён Марьясин
2010-06-11 3:37 ` Alexander Orlenko [this message]
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=AANLkTikh-NO_7uorb1ZCwDqqvLLFYgz-TfmMvl3-09f7@mail.gmail.com \
--to=zxteam@gmail.com \
--cc=gentoo-user-ru@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox