勝手な 抜粋です それでも長いのですが 参考迄に。
挿入したときと考えています。
# cat messages Nov 18 21:30:09 sv kernel: hub.c: new USB device 00:07.2-2, assigned address 2 Nov 18 21:30:09 sv murasaki.usb[375]: usb device is added Nov 18 21:30:09 sv murasaki.usb[375]: vendor:0x718 product:0x672 \ Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x50 Nov 18 21:30:09 sv murasaki.usb[375]: MATCH(alias-sd) -> \ match_flags:0x180 vendor:0x0 product:0x0 Dclass:0x0 \ Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x0 Nov 18 21:30:09 sv murasaki.usb[375]: MATCH(usb-storage) -> \ match_flags:0x380 vendor:0x0 product:0x0 Dclass:0x0 \ Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x50 Nov 18 21:30:09 sv murasaki.usb[375]: Dependence(usb-storage) was found Nov 18 21:30:09 sv murasaki.usb[375]: Dependence(sd_mod) was found Nov 18 21:30:09 sv murasaki.usb[375]: Dependence(scsi_mod) was found Nov 18 21:30:09 sv murasaki.usb[375]: Loading usb-storage Nov 18 21:30:09 sv murasaki.usb[375]: Loading sd_mod Nov 18 21:30:09 sv murasaki.usb[375]: Loading scsi_mod Nov 18 21:30:10 sv kernel: Initializing USB Mass Storage driver... Nov 18 21:30:10 sv kernel: usb.c: registered new driver usb-storage Nov 18 21:30:10 sv kernel: scsi0 : SCSI emulation for USB Mass Storage devices Nov 18 21:30:10 sv kernel: sda:<7>usb-storage: queuecommand() called Nov 18 21:30:10 sv kernel: USB Mass Storage support registered.
挿入したときと考えています。
# cat syslog Nov 18 21:30:09 sv kernel: usb.c: USB device 2 (vend/prod 0x718/0x672) is not claimed by any active driver. Nov 18 21:30:10 sv kernel: Vendor: TDKMedia Model: Transit Rev: PMAP Nov 18 21:30:10 sv kernel: Type: Direct-Access ANSI SCSI revision: 02 Nov 18 21:30:10 sv kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Nov 18 21:30:10 sv kernel: SCSI device sda: 15622144 512-byte hdwr sectors (7999 MB) Nov 18 21:30:10 sv kernel: sda: Write Protect is off Nov 18 21:30:10 sv kernel: sda1
# mount /dev/sda1 /mnt/ # df | sed 2,3d Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda1 7802912 8000 7794912 1% /mnt # umount /mnt/
抜いたときと考えています。
# cat messages Nov 18 21:46:23 sv kernel: usb.c: USB disconnect on device 00:07.2-2 address 2 Nov 18 21:46:23 sv murasaki.usb[426]: usb device is removed Nov 18 21:46:23 sv murasaki.usb[426]: vendor:0x718 product:0x672 \ Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x50 Nov 18 21:46:23 sv murasaki.usb[426]: mousedev was skipped in usbmap Nov 18 21:46:23 sv murasaki.usb[426]: mousedev was skipped in usbmap Nov 18 21:46:23 sv murasaki.usb[426]: MATCH(alias-sd) -> \ match_flags:0x180 vendor:0x0 product:0x0 Dclass:0x0 \ Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x0 Nov 18 21:46:23 sv murasaki.usb[426]: hid was skipped in usbmap Nov 18 21:46:23 sv murasaki.usb[426]: MATCH(usb-storage) -> \ match_flags:0x380 vendor:0x0 product:0x0 Dclass:0x0 \ Dsubclass:0x0 Dprotocol:0x0 Iclass:0x8 Isubclass:0x6 Iprotocol:0x50 Nov 18 21:46:23 sv murasaki.usb[426]: Dependence(usb-storage) was found Nov 18 21:46:23 sv murasaki.usb[426]: Dependence(sd_mod) was found Nov 18 21:46:23 sv murasaki.usb[426]: Dependence(scsi_mod) was found Nov 18 21:46:23 sv murasaki.usb[426]: Unloading usb-storage Nov 18 21:46:23 sv murasaki.usb[426]: Unloading sd_mod Nov 18 21:46:23 sv murasaki.usb[426]: Unloading scsi_mod Nov 18 21:46:23 sv kernel: usb.c: deregistering driver usb-storage Nov 18 21:46:23 sv kernel: scsi : 0 hosts left.
”# cat syslog” を しましたが 追加は 無いようです つまり 同じ 変化無し、 以下は 別 の計算機の 一部分です。
Nov 18 22:28:21 emac71 kernel: [ 403.862842] sda: sda1
にゃんたろう 拝!
2011年12月 3日 (土) 21:02:15 JST 作成