2011. 4. 21. 15:52
Linux
Windows는 PnP(Plug & Play)가 가능해서 꼽자마자 (드라이버가 있으면) 인식하고 바로 사용이 가능하다.
Linux..더군다나 Server에서도 PnP가..없는건 아니지만 CUI환경에서는 마운트 후에 사용이 가능하다.
먼저 외장하드를 연결하면 Kernel에서 인식을 하고 메세지를 뿌려준다.
usb 1-1: new high speed USB device using ehci_hcd and address 2
위 메세지에서 장치명이 sda1이라는걸 알았다.
그럼 이제 마운트 후에 사용만 하면 되는것.
[root@localhost]# mount /dev/sda1 /data
Linux..더군다나 Server에서도 PnP가..없는건 아니지만 CUI환경에서는 마운트 후에 사용이 가능하다.
먼저 외장하드를 연결하면 Kernel에서 인식을 하고 메세지를 뿌려준다.
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: ST350032 Model: 0AS Rev:
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 38 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
sda: Mode Sense: 38 00 00 00
sda: assuming drive cache: write through
sda: sda1
sd 3:0:0:0: Attached scsi disk sda
usb-storage: device scan complete
sd 3:0:0:0: Attached scsi generic sg0 type 0
위 메세지에서 장치명이 sda1이라는걸 알았다.
그럼 이제 마운트 후에 사용만 하면 되는것.
[root@localhost]# mount /dev/sda1 /data
반응형
'Linux' 카테고리의 다른 글
Device 정보 알아내기 (0) | 2011.04.27 |
---|---|
TMOUT 설정 (0) | 2011.04.22 |
PHP 버전업으로 인한 ZendOptimizer 연동 시키기 (0) | 2011.04.12 |
FTP 상위디렉토리 접근차단 (0) | 2011.04.06 |
crontab (0) | 2011.04.05 |