kinnekoの日記: 500円の USB Flash 2
8M なのだけど。
待ち合わせのソフマップで発見。
3名がわらわらと買いに行く。
MAX さんに1つおごってもらった(^^)。
ちゃんと動作したので、翌日さらに2つ追加。
1つは妻のお土産に。
3箇所で数百個あったのに、翌日はすでに半数以下になっていた。
3月末まで有効な USB Flash 購入割引券 1000 円がついている
ので、容量が大きいものがほしくなったら、モトはとれるのだ。
未使用領域が少しあったけど、フォーマットはいらないよ > Max さめ
FD のない ThinkPad の yak 設定保存先として使用予定。
yak での接続試験結果。
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x693/0xe) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Model: Rev:
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 16000 512-byte hdwr sectors (8 MB)
sda: Write Protect is off
sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
# cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=8000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0693 ProdID=000e Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
USB Viewer で見るとこんな感じ。
usb-storage
Speed: 12Mb/s (full)
USB Version: 1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 0693
Product Id: 000e
Revision Number: 1.00
Config Number: 1
Number of Interfaces: 1
Attributes: 80
MaxPower Needed: 100mA
Interface Number: 0
Name: usb-storage
Alternate Number: 0
Class: 08(stor.)
Sub Class: 6
Protocol: 50
Number of Endpoints: 3
Endpoint Address: 81
Direction: in
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms
Endpoint Address: 02
Direction: out
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms
Endpoint Address: 83
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 8
Interval: 255ms
# mount /dev/sda /mnt/test/
mount: ファイルシステムタイプを指定する必要がありま
# mount -t msdos /dev/sda /mnt/test/
mount: 間違ったファイルシステムタイプ、不正なオプション、
/dev/sda のスーパーブロックが不正、或いはファイルシステムのマウント
が多すぎます
フォーマットしていないようね。
どうやってするのかな?
# cfdisk /dev/sda
cfdisk 2.11n
ディスクドライブ: /dev/sda
サイズ: 8192000 バイト
ヘッド: 2 トラック当たりのセクタ: 32 シリンダ: 250
名前 フラグ 領域タイプ
FSタイプ [ラベル] サイズ (MB
)---------------------------------------------------------------------------
sda1 ブート 基本領域 FAT12 [NO NAME ] 8.16
基本/論理 空き領域 0.04
パーテションが切ってあったのね。fat12 にはなっているみたい。
しかし、空き領域があるのはなぜだ? fat の問題?
# mount /dev/sda1 /mnt/test/
# mount
/dev/sda1 on /mnt/test type vfat (rw)
automount アイコンパラパラにはなっていないのね。
なんでだろ?
/mnt/usb あたりのマウントポイントがあらかじめ必要かも。
# umount /dev/sda1
dmesg の残りはこんな感じ。
FAT: bogus logical sector size 20487
VFS: Can't find a valid FAT filesystem on dev 08:00.
EFS: 1.0a - http://aeschi.ch.eu.org/efs/
FAT: bogus logical sector size 20487
VFS: Can't find a valid FAT filesystem on dev 08:00.
usb.c: USB disconnect on device 2
USB Storage (スコア:1)
うられてた奴なんですね。当時売価2980円。ボクは2個買って、
一つは日頃お世話になっている出先の担当者にプレゼント:-)
http://www.zdnet.co.jp/products/xmind/xmst16.html
http://www.xmind.co.jp/support/usb.html
で、Windows機ではそのままフォーマットせずに使えたのですが、
Linux上ではマウントできませんでした。fatでマウントできると
思ってたんですが。おまけにfdiskかけてみると領域情報不正が
バラバラと出てくる。Windows2kでフォーマットしようとしたら
「フォーマットを完了できませんでした」
とか出てくるし。ちょっと謎でした。
とりあえず、Linux上でパーティション切り直してフォーマット
したら使えたのでオケィです。
しかし、出先でわりと好評だったので4個ぐらい買っておけば
良かったかな。
-- (ま)
Re:USB Storage (スコア:1)
16M 1k 円のものもあったようですが、こっちは弾が少ない
のであまり出回っていないようです。
コンビニでは不評で、企画したもののゴミになっていた物の
ようですね。