From: Alexey Morsov <samurai@ricom.ru>
To: community@altlinux.ru
Subject: Re: [Comm] flash usb-drive
Date: Fri, 07 May 2004 16:14:37 +0400
Message-ID: <409B7DAD.9080704@ricom.ru> (raw)
In-Reply-To: <200405071350.27151.ru_classic@gts.lg.ua>
Alexander Kuprin wrote:
>
> Тогда проверьте следующее -- сервис usb запущен?
>
> service usb status
Есть иной вариант проверки?
потому что в dmesg
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 00:07.2-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: USB Model: Flash Drive Rev: 1.12
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 253949 512-byte hdwr sectors (130 MB)
sda: Write Protect is off
sda: sda1 sda2 sda3 sda4
inserting floppy driver for 2.4.22-1.2115.nptl
Floppy drive(s): fd0 is 1.44M
было когда я сделал modprobe usb-storage
>
> Кстати, один из способов проверить обнаружено ли (и подсоединено)
> SCSI-устройство -- это запустить утилиту cdrecord с ключом -scanbus (возможно
> существует другая утилита, более правильная для этих целей :) Вот, что
> показывает cdrecord на моей машине:
>
> [root@p4 init.d]# cdrecord -scanbus
> Cdrecord 2.0 (i586-alt-linux-gnu) Copyright (C) 1995-2002 JЖrg Schilling
> Linux sg driver version: 3.1.25
> Using libscg version 'schily-0.7'
> scsibus0:
> 0,0,0 0) 'SONY ' 'DVD-ROM DDU1621 ' 'S2.9' Removable CD-ROM
> 0,1,0 1) 'LITE-ON ' 'LTR-52246S ' '6S0D' Removable CD-ROM
> scsibus1:
> 1,0,0 100) 'Memorex ' 'ThumbDrive ' '1.11' Removable Disk
>
> И если Вы обнаружили флешку и знаете имя устройства, то чтобы выяснить список
> разделов, воспользуйтесь утилитой fdisk:
>
> [root@p4 init.d]# fdisk -l /dev/sda
>
> Disk /dev/sda: 132 MB, 132120576 bytes
> 16 heads, 32 sectors/track, 504 cylinders
> Units = cylinders of 512 * 512 = 262144 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 1 504 129008 83 Linux
>
А вот мой
Disk /dev/sda: 130 MB, 130021888 bytes
4 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 248 * 512 = 126976 bytes
Device Boot Start End Blocks Id System
/dev/sda1 ? 911530 911530 5 6e Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(357, 119, 40) logical=(911529, 2, 46)
Partition 1 has different physical/logical endings:
phys=(357, 32, 50) logical=(911529, 2, 55)
Partition 1 does not end on cylinder boundary.
/dev/sda2 5363646 7536938 269488144 0 Empty
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 0) logical=(5363645, 3, 47)
Partition 2 has different physical/logical endings:
phys=(0, 0, 0) logical=(7536937, 1, 42)
Partition 2 does not end on cylinder boundary.
/dev/sda3 ? 2173345 7811905 699181456 53 OnTrack DM6 Aux3
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(345, 32, 19) logical=(2173344, 1, 18)
Partition 3 has different physical/logical endings:
phys=(324, 77, 19) logical=(7811904, 1, 49)
Partition 3 does not end on cylinder boundary.
/dev/sda4 1 8679028 1076199424 0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 0) logical=(0, 0, 1)
Partition 4 has different physical/logical endings:
phys=(0, 0, 0) logical=(8679027, 2, 28)
Partition 4 does not end on cylinder boundary.
> Хм.. Правда свою флешку я переразметил -- вместо раздела FAT создал Linux
> Native.
>
> --
> WBR, Alexander Kuprin
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://lists.altlinux.ru/mailman/listinfo/community
--
Всего наилучшего,
Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ"
Алексей Морсов
http://www.ricom.ru
http://www.fondmarket.ru
next prev parent reply other threads:[~2004-05-07 12:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-07 7:42 Alexey Morsov
2004-05-07 7:38 ` Nizamov Shavkat
2004-05-07 8:34 ` Alexander Kuprin
2004-05-07 9:43 ` Alexey Morsov
2004-05-07 10:50 ` Alexander Kuprin
2004-05-07 12:14 ` Alexey Morsov [this message]
2004-05-07 12:59 ` Alexander Kuprin
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=409B7DAD.9080704@ricom.ru \
--to=samurai@ricom.ru \
--cc=community@altlinux.ru \
/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