리눅스 개 왕 핵 초보
작성자 정보
- 이할 작성
- 작성일
컨텐츠 정보
- 2,485 조회
- 0 추천
- 목록
본문
1. Make a local file named as “backup_disk.img” and initialize an “ext4” filesystem in the file whose capacity is about 50MB with 512 Byte block size. The filesystem in the “backup_disk.img” file is mounted on the local directory “backup_disk”.
- List the required commands
- Evaluate your operation by using “ls –hl backup_disk.img”, “df –T backup_disk”, and “ls –hl backup_disk”
2. Make a local file named as “backup_disk_2.img” under the directory “backup_disk” where the filesystem of “backup_disk.img” is mounted. And Initialize an “ext3” filesystem in the “backup_disk_2.img” file whose capacity is about 1MB with 1024 Byte block size. This filesystem is mounted on the local directory “backup_disk_2.
- List the required commands
-Evaluate your operation by using “ls –hl backup_disk/backup_disk_2.img”, “df –T backup_disk_2”, and “ls –hl
backup_disk_2”
3. Let’s assume that a file “a” locates under “backup_disk”, a file “b” locates under “backup_disk_2” and a file “c” locates in the local directory. Evaluate whether the following operations correctly works or not. (Assumption: the local directory is the parent directory of “backup_disk” and “backup_disk_2”. The following commands are executed on the local directory.)
1) ln c c_h
2) ln –s c_s
3) ln backup_disk/a a_h
4) ln –s backup_disk/a a_s
5) ln backup_disk/a backup_disk/a_h
6) ln –s backup_disk/a backup_disk/a_s
7) ln backup_disk_2/b backup_disk/b_h
8) ln backup_disk_2/b backup_disk_2/b_h
9) ln –s backup_disk_2/b backup_disk/b_s
요
관련자료
-
이전
-
다음