[3] Development/Ubuntu
Ubuntu server 9.10 CD mount 하기
코볼
2009. 12. 22. 14:55
728x90
반응형
SMALL
1. 장치목록 보기 (fstab 라는 텍스트 파일의 내용을 화면에 출력)
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=3882bc7a-61c9-4b70-b9d7-5bfa6d897212 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=78eba67d-4e29-4831-9d32-6d1c5b942287 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
2. /dev/scd0 이 CD-ROM 드라이브 임.
mount /dev/scd0
mount: block device /dev/sr0 is write-protected, mounting read-only
읽지 전용으로 마운팅했다는 뜻임.
3. 언마운트
umount /dev/scd0 또는 umount /media/cdrom0
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=3882bc7a-61c9-4b70-b9d7-5bfa6d897212 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=78eba67d-4e29-4831-9d32-6d1c5b942287 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
2. /dev/scd0 이 CD-ROM 드라이브 임.
mount /dev/scd0
mount: block device /dev/sr0 is write-protected, mounting read-only
읽지 전용으로 마운팅했다는 뜻임.
3. 언마운트
umount /dev/scd0 또는 umount /media/cdrom0
728x90
반응형
LIST