ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Mount flash
@ 2003-05-20  8:07 Andrey Golovin
  2003-05-20  8:26 ` Valery V. Inozemtsev
  0 siblings, 1 reply; 23+ messages in thread
From:  @ 2003-05-20  8:07 UTC (permalink / raw)




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20  8:07 [Comm] Mount flash Andrey Golovin
@ 2003-05-20  8:26 ` Valery V. Inozemtsev
  2003-05-20 10:56   ` Andrey Golovin
  2003-05-20 21:40   ` Alexander Mayorov
  0 siblings, 2 replies; 23+ messages in thread
From:  @ 2003-05-20  8:26 UTC (permalink / raw)




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 21:40   ` Alexander Mayorov
@ 2003-05-20 10:11     ` Anatoly A. Yakushin
  2003-05-20 10:55       ` Valery V. Inozemtsev
  2003-05-20 10:37     ` Andrey Golovin
  1 sibling, 1 reply; 23+ messages in thread
From:  @ 2003-05-20 10:11 UTC (permalink / raw)




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 21:40   ` Alexander Mayorov
  2003-05-20 10:11     ` Anatoly A. Yakushin
@ 2003-05-20 10:37     ` Andrey Golovin
  2003-05-20 23:41       ` Alexander Mayorov
  1 sibling, 1 reply; 23+ messages in thread
From:  @ 2003-05-20 10:37 UTC (permalink / raw)




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 10:11     ` Anatoly A. Yakushin
@ 2003-05-20 10:55       ` Valery V. Inozemtsev
  0 siblings, 0 replies; 23+ messages in thread
From:  @ 2003-05-20 10:55 UTC (permalink / raw)




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20  8:26 ` Valery V. Inozemtsev
@ 2003-05-20 10:56   ` Andrey Golovin
  2003-05-20 11:06     ` Valery V. Inozemtsev
  2003-05-20 20:35     ` Andrey Golovin
  2003-05-20 21:40   ` Alexander Mayorov
  1 sibling, 2 replies; 23+ messages in thread
From:  @ 2003-05-20 10:56 UTC (permalink / raw)




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 10:56   ` Andrey Golovin
@ 2003-05-20 11:06     ` Valery V. Inozemtsev
  2003-05-21  7:07       ` Alexander Mayorov
  2003-05-20 20:35     ` Andrey Golovin
  1 sibling, 1 reply; 23+ messages in thread
From:  @ 2003-05-20 11:06 UTC (permalink / raw)




^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 23:41       ` Alexander Mayorov
@ 2003-05-20 11:50         ` Sergey Vlasov
  2003-05-21  0:06           ` Alexander Mayorov
  2003-05-20 12:14         ` [Comm] Для всех потерявших флешки и другие устройства Valery V. Inozemtsev
  1 sibling, 1 reply; 23+ messages in thread
From:  @ 2003-05-20 11:50 UTC (permalink / raw)




^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Comm] Для всех потерявших флешки и другие устройства
  2003-05-20 23:41       ` Alexander Mayorov
  2003-05-20 11:50         ` Sergey Vlasov
@ 2003-05-20 12:14         ` Valery V. Inozemtsev
  1 sibling, 0 replies; 23+ messages in thread
From: Valery V. Inozemtsev @ 2003-05-20 12:14 UTC (permalink / raw)
  To: community

Выкачивайте пакет hwbrowser-0.x.x.noarch.rpm, ставьте, hwbrowser вам все 
раскажет о всем вашем оборудовании

Shrek



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-21  0:06           ` Alexander Mayorov
@ 2003-05-20 12:20             ` Sergey Vlasov
  2003-05-21  1:19               ` Alexander Mayorov
  0 siblings, 1 reply; 23+ messages in thread
From: Sergey Vlasov @ 2003-05-20 12:20 UTC (permalink / raw)
  To: community

On Wed, May 21, 2003 at 06:06:17 +0600, Alexander Mayorov wrote:
> > > Файлов устройств нет :-(((
> > > А были :-(((((
> >
> > А если сделать modprobe sd_mod - лучше не становится?
> КУДЕСНИК!!!
> СДЕЛАЛ И ПОЯВИЛОСЬ!!!
> ЧУДО!!!
> УРА!!!!
> Но, как мне сделать modprobe sd_mod автоматом, при каждой вставке флешки?

Можно и автоматом - например, зацепить его на scsi_mod. В
/etc/modules.conf допишите:

above scsi_mod sd_mod

(Если в той версии modutils это ещё не работало - есть и другие
способы - например, через pre-install.)


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-21  1:19               ` Alexander Mayorov
@ 2003-05-20 13:29                 ` Valery V. Inozemtsev
  2003-05-20 13:33                 ` Maxim Tyurin
  1 sibling, 0 replies; 23+ messages in thread
From: Valery V. Inozemtsev @ 2003-05-20 13:29 UTC (permalink / raw)
  To: community

Alexander Mayorov пишет:

>Совсем зашел ум за разум с этой флешкой :-)
>теперь ее видно (наконец-то) как /devsda1, монтируется без проблем, но только 
>рутом :-(
>как сделать монтирование обычным пользователем?
>понимаю, что вопрос дурацкий, но...
>  
>
/etc/fstab:
/dev/sda1   /mnt/flash   auto   noauto,user,rw, 0 0

параметр user разрешает монтировать и размонтировать всем пользователям



^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-21  1:19               ` Alexander Mayorov
  2003-05-20 13:29                 ` Valery V. Inozemtsev
@ 2003-05-20 13:33                 ` Maxim Tyurin
  2003-05-20 18:33                   ` Anton Chivchalov
  2003-05-21  1:49                   ` Alexander Mayorov
  1 sibling, 2 replies; 23+ messages in thread
From: Maxim Tyurin @ 2003-05-20 13:33 UTC (permalink / raw)
  To: community

On Wed, May 21, 2003 at 07:19:18AM +0600, Alexander Mayorov wrote:
> Совсем зашел ум за разум с этой флешкой :-)
> теперь ее видно (наконец-то) как /devsda1, монтируется без проблем, но только 
> рутом :-(
> как сделать монтирование обычным пользователем?
> понимаю, что вопрос дурацкий, но...
Есть два пути
1) прописать в /etc/fstab (указать опцию user)
2) прописать в autofs (мне так больше нравится :)
-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
			


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-21  1:49                   ` Alexander Mayorov
@ 2003-05-20 14:25                     ` Maxim Tyurin
  0 siblings, 0 replies; 23+ messages in thread
From: Maxim Tyurin @ 2003-05-20 14:25 UTC (permalink / raw)
  To: community

On Wed, May 21, 2003 at 07:49:56AM +0600, Alexander Mayorov wrote:
> On Tuesday 20 May 2003 19:33, Maxim Tyurin wrote:
> > 1) прописать в /etc/fstab (указать опцию user)
> в fstab все так и прописано :-) только опций чуть больше - тем кодовая 
> страница и проч :-)

вот среди этих опций и должна быть опция user :)

> > 2) прописать в autofs (мне так больше нравится :)
> как?

autofs должна уже стоять 
если нет 
# apt-get install autofs
должна быть запущена 
# /etc/init.d/autofs start

После чего 
# vi /etc/auto.tab
дописать строчку типа
pen     -fstype=vfat,user,rv,iocharset=koi8-r,umask=0,sync,showexec,codepage=866    :/dev/sda1
это если флешка фатовая

После сохранения файла 
cd /mnt/auto/pen
и флешка монтируется :)

-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
			


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 13:33                 ` Maxim Tyurin
@ 2003-05-20 18:33                   ` Anton Chivchalov
  2003-06-04  8:52                     ` Maxim Tyurin
  2003-06-05  6:48                     ` Борис Ревякин
  2003-05-21  1:49                   ` Alexander Mayorov
  1 sibling, 2 replies; 23+ messages in thread
From: Anton Chivchalov @ 2003-05-20 18:33 UTC (permalink / raw)
  To: community

On Tuesday 20 May 2003 19:33, Maxim Tyurin wrote:
> 1) прописать в /etc/fstab (указать опцию user)
в fstab все так и прописано :-) только опций чуть больше - тем 
кодовая
страница и проч :-)
> 2) прописать в autofs (мне так больше нравится :)
как?
rtyrty
Александр
_______________________________________________
Community mailing list
Community@altlinux.ru
http://www.altlinux.ru/mailman/listinfo/community










^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 10:56   ` Andrey Golovin
  2003-05-20 11:06     ` Valery V. Inozemtsev
@ 2003-05-20 20:35     ` Andrey Golovin
  1 sibling, 0 replies; 23+ messages in thread
From: Andrey Golovin @ 2003-05-20 20:35 UTC (permalink / raw)
  To: community

В Втр, 20.05.2003, в 14:56, Andrey Golovin написал:
> > fdisk /dev/sda
> > далее print the partition table, по идее там тока 
> > sda1, смотри что за раздел и подключай.
> 
> Один раз это помогло. А после 
> перезагрузки/отключения флеш опять 
> запускать fdisk? Как-то это 
> неаккуратненько.

Был неправ. Все работает.

Я правильно понимаю, что для автоматического монтирования при втыкании
флешки можно прописать соответствующий mount  в
/etc/hotplug/usb/usb-storage? Или есть более правильный способ?
-- 
Andrey Golovin <aigolovin@hotbox.ru>

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20  8:26 ` Valery V. Inozemtsev
  2003-05-20 10:56   ` Andrey Golovin
@ 2003-05-20 21:40   ` Alexander Mayorov
  2003-05-20 10:11     ` Anatoly A. Yakushin
  2003-05-20 10:37     ` Andrey Golovin
  1 sibling, 2 replies; 23+ messages in thread
From: Alexander Mayorov @ 2003-05-20 21:40 UTC (permalink / raw)
  To: community

On Tuesday 20 May 2003 14:26, Valery V. Inozemtsev wrote:
> Andrey Golovin пишет:
> > Добрый день.
> > Пытаюсь смонтировать flash, используемую в фотоаппарате. На ней нет
> > разделов, поэтому смонтировать не удается. Очень хочется прочитать
> > файлики с нее! Посоветуйте как быть.
> > ЗЫ Флешка видится, но как жесткий диск (как и положено, через эмуляцию
> > SCSI) без разделов.
> > _______________________________________________
> > Community mailing list
> > Community@altlinux.ru
> > http://www.altlinux.ru/mailman/listinfo/community
>
> fdisk /dev/sda
> далее print the partition table, по идее там тока sda1, смотри что за
> раздел и подключай.
Везет Вам... :-(
А у меня ни флешка, ни фотокамера не видится :-((
Модули вроже грузит, а толку нет :-(
Может кто помочь? Какие данные выслать?

С уважением,

Александр


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 10:37     ` Andrey Golovin
@ 2003-05-20 23:41       ` Alexander Mayorov
  2003-05-20 11:50         ` Sergey Vlasov
  2003-05-20 12:14         ` [Comm] Для всех потерявших флешки и другие устройства Valery V. Inozemtsev
  0 siblings, 2 replies; 23+ messages in thread
From: Alexander Mayorov @ 2003-05-20 23:41 UTC (permalink / raw)
  To: community

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

Попытаюсь ответить на все вопросы:

Дистрибьютив:
Mandrake 8.2

Компьютер:
Pii-400, compaq armada (ноутбук) 1750

Ядро:
2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i686

Фотокамера:
Samsung dx201

Флешка:
Neodrive, определяется как lexar plug drive (scsi), 128 mb

После вставки флешки ядро грузит модуль, при выполнении lsmod видно, что 
загружены следующие модули:
usb-storage            52236   0 (unused)
scsi_mod               92488   1 [usb-storage]
usbcore                59072   1 [usb-uhci usb-storage]

Теперь самое обидное:
в аттаче файлы
/proc/bus/usb/devices
/proc/scsi/scsi
/proc/scsi/usb-storage-0/0

Из которых видно, что:
Система видит флешку, scsi видит флешку, а толку нет :-(
вот вывод ls /dev/scsi/

[root@localhost lun0]# pwd
/dev/scsi/host0/bus0/target0/lun0
[root@localhost lun0]# ls
[root@localhost lun0]# ls -l
total 0
[root@localhost lun0]#

Файлов устройств нет :-(((
А были :-(((((

Очень прошу помочь, так как неполучается разобраться самостоятельно

С уважением,

Александр

[-- Attachment #2: devices --]
[-- Type: application/x-zerosize, Size: 1001 bytes --]

[-- Attachment #3: scsi --]
[-- Type: application/x-zerosize, Size: 177 bytes --]

[-- Attachment #4: 0 --]
[-- Type: application/x-zerosize, Size: 279 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 11:50         ` Sergey Vlasov
@ 2003-05-21  0:06           ` Alexander Mayorov
  2003-05-20 12:20             ` Sergey Vlasov
  0 siblings, 1 reply; 23+ messages in thread
From: Alexander Mayorov @ 2003-05-21  0:06 UTC (permalink / raw)
  To: community

> > Файлов устройств нет :-(((
> > А были :-(((((
>
> А если сделать modprobe sd_mod - лучше не становится?
КУДЕСНИК!!!
СДЕЛАЛ И ПОЯВИЛОСЬ!!!
ЧУДО!!!
УРА!!!!
Но, как мне сделать modprobe sd_mod автоматом, при каждой вставке флешки?

С уважением,

Александр


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 12:20             ` Sergey Vlasov
@ 2003-05-21  1:19               ` Alexander Mayorov
  2003-05-20 13:29                 ` Valery V. Inozemtsev
  2003-05-20 13:33                 ` Maxim Tyurin
  0 siblings, 2 replies; 23+ messages in thread
From: Alexander Mayorov @ 2003-05-21  1:19 UTC (permalink / raw)
  To: community

Совсем зашел ум за разум с этой флешкой :-)
теперь ее видно (наконец-то) как /devsda1, монтируется без проблем, но только 
рутом :-(
как сделать монтирование обычным пользователем?
понимаю, что вопрос дурацкий, но...

C уважением,

Александр


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 13:33                 ` Maxim Tyurin
  2003-05-20 18:33                   ` Anton Chivchalov
@ 2003-05-21  1:49                   ` Alexander Mayorov
  2003-05-20 14:25                     ` Maxim Tyurin
  1 sibling, 1 reply; 23+ messages in thread
From: Alexander Mayorov @ 2003-05-21  1:49 UTC (permalink / raw)
  To: community

On Tuesday 20 May 2003 19:33, Maxim Tyurin wrote:
> 1) прописать в /etc/fstab (указать опцию user)
в fstab все так и прописано :-) только опций чуть больше - тем кодовая 
страница и проч :-)
> 2) прописать в autofs (мне так больше нравится :)
как?

Александр


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 11:06     ` Valery V. Inozemtsev
@ 2003-05-21  7:07       ` Alexander Mayorov
  0 siblings, 0 replies; 23+ messages in thread
From: Alexander Mayorov @ 2003-05-21  7:07 UTC (permalink / raw)
  To: community

Всем спасибо, у меня все заработало :-)

С уважением,

Александр


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 18:33                   ` Anton Chivchalov
@ 2003-06-04  8:52                     ` Maxim Tyurin
  2003-06-05  6:48                     ` Борис Ревякин
  1 sibling, 0 replies; 23+ messages in thread
From: Maxim Tyurin @ 2003-06-04  8:52 UTC (permalink / raw)
  To: community

On Tue, May 20, 2003 at 10:33:37PM +0400, Anton Chivchalov wrote:
> On Tuesday 20 May 2003 19:33, Maxim Tyurin wrote:
> >1) прописать в /etc/fstab (указать опцию user)
> в fstab все так и прописано :-) только опций чуть больше - тем 
> кодовая
> страница и проч :-)
> >2) прописать в autofs (мне так больше нравится :)
> как?
man autofs
man 5 autofs

Там все подробненько расписывается 

-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
			


^ permalink raw reply	[flat|nested] 23+ messages in thread

* Re: [Comm] Mount flash
  2003-05-20 18:33                   ` Anton Chivchalov
  2003-06-04  8:52                     ` Maxim Tyurin
@ 2003-06-05  6:48                     ` Борис Ревякин
  1 sibling, 0 replies; 23+ messages in thread
From: Борис Ревякин @ 2003-06-05  6:48 UTC (permalink / raw)
  To: community

On Tue, 20 May 2003 22:33:37 +0400
Anton Chivchalov <chivchalov@mail.ru> wrote:

> > 2) прописать в autofs (мне так больше нравится :)
> как?

Дописать auto.tab gо образу и подобию уже имеющихся в нем записей.

-- 
С уважением,
  нач.ОАСУ ЗАО "Урупский ГОК"
  Борис Ревякин			mailto:br@gin.ru
  
  
  


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2003-06-05  6:48 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-20  8:07 [Comm] Mount flash Andrey Golovin
2003-05-20  8:26 ` Valery V. Inozemtsev
2003-05-20 10:56   ` Andrey Golovin
2003-05-20 11:06     ` Valery V. Inozemtsev
2003-05-21  7:07       ` Alexander Mayorov
2003-05-20 20:35     ` Andrey Golovin
2003-05-20 21:40   ` Alexander Mayorov
2003-05-20 10:11     ` Anatoly A. Yakushin
2003-05-20 10:55       ` Valery V. Inozemtsev
2003-05-20 10:37     ` Andrey Golovin
2003-05-20 23:41       ` Alexander Mayorov
2003-05-20 11:50         ` Sergey Vlasov
2003-05-21  0:06           ` Alexander Mayorov
2003-05-20 12:20             ` Sergey Vlasov
2003-05-21  1:19               ` Alexander Mayorov
2003-05-20 13:29                 ` Valery V. Inozemtsev
2003-05-20 13:33                 ` Maxim Tyurin
2003-05-20 18:33                   ` Anton Chivchalov
2003-06-04  8:52                     ` Maxim Tyurin
2003-06-05  6:48                     ` Борис Ревякин
2003-05-21  1:49                   ` Alexander Mayorov
2003-05-20 14:25                     ` Maxim Tyurin
2003-05-20 12:14         ` [Comm] Для всех потерявших флешки и другие устройства Valery V. Inozemtsev

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