From: "Michael Bannij" <michael.bannij@infopulse.com.ua>
To: <hardware@lists.altlinux.org>
Subject: Re: [Hardware] Несколько разделов на флэш-картах
Date: Fri, 4 May 2007 13:40:16 +0300
Message-ID: <EXCHANGEJsaJbqJGNzs000002c3@exchange.home> (raw)
In-Reply-To: <f1f1pm$fgd$1@sea.gmane.org>
Получается я ошибся - похоже в данном случае это "фича" самого контроллера
флешки и сидиром идёт не как простой раздел а как отдельный юсб-девайс.
Как-бы сидиром с юсб-подключением, только читающий данные с флешки...
> -----Original Message-----
> From: hardware-bounces@lists.altlinux.org
>
> Как интересно.
>
> Занимательно - у них флешка прикидывается и диском и СDROM'омом.
>
> Интересно, это на аппаратном уровне реализуется или какими-то
> извращениями с разделами ?
>
> А если просто dd снять /dev/sda - там этот CDROM видно ?
>
>
> Dmytro Kovalskyy wrote:
> > Там еще такая фича, когда вставляешь флешу в системе
> появляется новое
> > устройство СДРОМ.
> > Альт выдает следующее в логах
> > May 4 13:37:31 violet kernel: usb 1-2: new high speed USB device
> > using ehci_hcd and address 7 May 4 13:37:31 violet kernel: scsi5 :
> > SCSI emulation for USB Mass Storage devices
> > May 4 13:37:36 violet kernel: Vendor: SanDisk Model:
> U3 Cruzer Micro
> > Rev: 2.17
> > May 4 13:37:36 violet kernel: Type: Direct-Access
>
> > ANSI SCSI revision: 02
> > May 4 13:37:36 violet kernel: SCSI device sda: 4001425
> 512-byte hdwr
> > sectors
> > (2049 MB)
> > May 4 13:37:36 violet kernel: sda: Write Protect is off May 4
> > 13:37:36 violet kernel: sda: assuming drive cache: write
> through May
> > 4 13:37:36 violet kernel: SCSI device sda: 4001425 512-byte hdwr
> > sectors
> > (2049 MB)
> > May 4 13:37:36 violet kernel: sda: Write Protect is off May 4
> > 13:37:36 violet kernel: sda: assuming drive cache: write
> through May
> > 4 13:37:36 violet kernel: sda: sda1 May 4 13:37:36 violet kernel:
> > Attached scsi removable disk sda at scsi5, channel 0, id 0, lun 0
> > May 4 13:37:36 violet kernel: Vendor: SanDisk Model:
> U3 Cruzer Micro
> > Rev: 2.17
> > May 4 13:37:36 violet kernel: Type: CD-ROM
>
> > ANSI SCSI revision: 02
> > May 4 13:37:36 violet scsi.agent[4867]: cdrom at
> >
> /devices/pci0000:00/0000:00:02.2/usb1/1-2/1-2:1.0/host5/target5:0:0/5:
> > 0:0:1 May 4 13:37:36 violet scsi.agent[4858]: disk at
> >
> /devices/pci0000:00/0000:00:02.2/usb1/1-2/1-2:1.0/host5/target5:0:0/5:
> > 0:0:0 May 4 13:37:36 violet kernel: sr0: scsi3-mmc drive: 8x/40x
> > writer xa/form2 cdda tray May 4 13:37:36 violet fstab-sync[4939]:
> > added mount point /media/usbdisk for /dev/sda1 May 4
> 13:37:36 violet
> > kernel: cdrom: This disc doesn't have any tracks I recognize!
> > May 4 13:37:37 violet kernel: cdrom: This disc doesn't have any
> > tracks I recognize!
> >
> > [root@violet root]# l /media/usbdisk/
> > <skip personal>
> > drwxrwxrwx 5 root root 32768 May 24 2006 Documents/
> > drwxrwxrwx 3 root root 32768 May 24 2006 System/
> > -r--r--r-- 1 root root 950272 Apr 18 2006 LaunchU3.exe
> > drwxrwxrwx 17 root root 16384 Jan 1 1970 ./
> >
> > [root@violet root]# l /media/usbdisk/System/Apps/ total 576
> > -rw-rw-rw- 1 root root 2173 Apr 30 17:58 LPGDB.xml
> > drwxrwxrwx 4 root root 32768 Nov 4 20:18
> > 58EA136C-7E57-4416-B59E-394C46DD505B/
> > drwxrwxrwx 4 root root 32768 May 24 2006
> > 285E6953-BF3C-4445-9376-3FE5D7F645B2/
> > drwxrwxrwx 4 root root 32768 May 24 2006
> > EC30627F-0195-44d4-8C24-1B09F3C02C50/
> > drwxrwxrwx 16 root root 32768 May 24 2006 ./
> > drwxrwxrwx 3 root root 32768 May 24 2006 ../
> > drwxrwxrwx 4 root root 32768 May 24 2006
> > 79EB5C19-AB0E-4dd7-BE89-BF96301D35Z8/
next prev parent reply other threads:[~2007-05-04 10:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-28 8:43 Vladimir Karpinsky
2007-04-28 9:02 ` Vladimir Karpinsky
2007-04-28 23:34 ` Dmitry Lebkov
2007-05-03 15:28 ` Andrey Rahmatullin
2007-05-03 17:13 ` Michael Bannij
2007-05-03 20:16 ` Anton Farygin
2007-05-04 10:45 ` Dmytro Kovalskyy
2007-05-04 10:27 ` Anton Farygin
2007-05-04 10:40 ` Michael Bannij [this message]
2007-05-04 10:48 ` Dmytro Kovalskyy
2007-05-04 10:51 ` Dmytro Kovalskyy
2007-05-04 10:31 ` Anton Farygin
2007-05-04 12:21 ` Bogaevskiy Jurij
2007-05-06 12:43 ` Michael Shigorin
2007-05-04 16:18 ` Gennadiy Redko
2007-05-04 17:34 ` Sergey S. Skulachenko
2007-05-07 11:48 ` Gennadiy Redko
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=EXCHANGEJsaJbqJGNzs000002c3@exchange.home \
--to=michael.bannij@infopulse.com.ua \
--cc=hardware@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 hardware support
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
public-inbox-index hardware
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.hardware
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git