CentOS逆引きリファレンス


TOP > CentOS逆引きリファレンス > デバイス管理

■デバイス管理

デバイスの一覧を確認する

デバイスの一覧を確認するには、ディレクトリ /dev のデバイスファイルを確認します。

# ls /dev
MAKEDEV          network_throughput  ram9     tty13  tty39  tty7
X0R              null                ramdisk  tty14  tty4   tty8
autofs           nvram               random   tty15  tty40  tty9
bus              oldmem              rawctl   tty16  tty41  ttyS0
console          parport0            root     tty17  tty42  ttyS1
core             parport1            rtc      tty18  tty43  ttyS2
cpu_dma_latency  parport2            sda      tty19  tty44  ttyS3
disk             parport3            sda1     tty2   tty45  urandom
fd               port                sda2     tty20  tty46  usbdev1.1_ep81
full             ppp                 sda3     tty21  tty47  usbdev2.1_ep00
hpet             ptmx                sdb      tty22  tty48  usbdev2.1_ep81
initctl          pts                 sdb1     tty23  tty49  usbdev3.1_ep00
input            ram                 sdc      tty24  tty5   usbdev3.1_ep81
kmsg             ram0                sdc1     tty25  tty50  usbdev4.1_ep00
log              ram1                sg0      tty26  tty51  usbdev4.1_ep81
loop0            ram10               sg1      tty27  tty52  usbdev5.1_ep00
loop1            ram11               sg2      tty28  tty53  usbdev5.1_ep81
loop2            ram12               shm      tty29  tty54  usbdev6.1_ep00
loop3            ram13               stderr   tty3   tty55  usbdev6.1_ep81
loop4            ram14               stdin    tty30  tty56  vcs
loop5            ram15               stdout   tty31  tty57  vcs2
loop6            ram2                systty   tty32  tty58  vcs7
loop7            ram3                tty      tty33  tty59  vcs8
mapper           ram4                tty0     tty34  tty6   vcsa
md0              ram5                tty1     tty35  tty60  vcsa2
mem              ram6                tty10    tty36  tty61  vcsa7
net              ram7                tty11    tty37  tty62  vcsa8
network_latency  ram8                tty12    tty38  tty63  zero

なお、デバイスというのはコンピューターに接続されている物理的な機械という意味です。
ハードディスクやメモリ、フロッピーディスクドライブ、CD/DVDドライブなどがデバイスにあたります。

[対象]
CentOS 5.x
CentOS 6.x

CD-ROM をマウント、アンマウントする

CD-ROM は、mount コマンドでマウントします。なお、この形式の mount コマンドは、root ユーザで実行してください。

# mount /dev/cdrom /mnt/cdrom

使用後は、以下のコマンドでアンマウントしてください。

# umount /mnt/cdrom
[対象]
CentOS 5.x
CentOS 6.x

作成日:2013年11月26日
最終更新日:2013年11月26日

このページの上へ


スポンサーリンク


お問い合わせは、メールにて受け付けております。
メール:masahiro801[at]hotmail.com ※[at]を@に置き換えてください♪
Copyright (C) 2024CentOS逆引きリファレンス. All Rights Reserved.