파일시스템
2011.03.17 13:31

NTFS 기초

조회 수 1087 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제

NTFS 파일시스템은 FAT파일시스템에 비해 보다 나은 퍼포먼스, 신뢰성, 및 호환성을 제공합니다.

NTFS 파일시스템은 빠른 검색, 읽기, 쓰기을 제공하기 위해 설계된 파일시스템입니다. 또한 대용량 하드디스크에 대한 파일시세틈 복구기능을 제공합니다.

NTFS 파일시스템으로 포맷하는 경우 여러 메타데이타파일(MFT - Master File Table, $Bitmap, $LogFile )들이 생성됩니다. 이러한 메타데이타파일은 NTFS 볼륨의 파일이나 폴더들에 대한 정보가 저장됩니다.

The first information on an NTFS 볼륨의 첫번째 정보는 파티션 부트섹터 ($Boot metadata file) 입니다.

파티션 부트섹터는 sector 0 에 위치하며 16 sectors 의 크기로 확장될수 있습니다.

부트섹터는 기본 NTFS 볼륨정보 및 $MFT의 위치 정보가 저장됩니다.

 

다음은 디스크를 NTFS 볼륨으로 포맷했을 때 레이아웃입니다.

 

※ 포맷된 NTFS 볼륨

?

조회 수 1171 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
Dir (for FAT16 and FAT32)



Catalog consists of 32 bytes records. These records describe files and catalogs inside catalog.

First two records in catalog (except root) describe this catalog and catalog located on upper level.

Shift Size Descryption
0-0 1 - The first symbol of file name имени (deleted - E5)
1-10 10 - Other 2-11 symbols of file name
11-11 1 - Attributes of file
12-12 1 - Reserved
13-13 1 - Time creation (tenth parts of second)
14-15 2 - Time creation (hours, minutes, seconds)
16-17 2 - Date creation
18-19 2 - Date of last usage
20-21 2 - MSB cluster
22-23 2 - Date of last modification (hours, minutes, seconds)
24-25 2 - Date of last record
26-27 2 - LSB cluster
28-31 4 - File size (0 for catalogs)

?

파일시스템
2011.03.16 14:06

FAT 파일시스템 FAT32 테이블 살펴보기

조회 수 17446 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
FAT32 table



FAT table is used for determination of condition of clusters and for searching next cluster of file or catalog.

One record about condition of cluster uses 4 bytes (32 bits) in FAT32.
The first sector of FAT32 table starts with signature F8 FF FF.
Free space is marked with signature 00 00 00 00. The end of the file is marked with signature FF FF FF F8 - FF FF FF FF. The damaged cluster is marked with signature FF FF FF F7 .

There is the special view of the first three sectors of FAT32 table on the picture above.
?

파일시스템
2011.03.16 14:05

FAT 파일시스템의 FAT 테이블 살펴보기

조회 수 1209 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
FAT16 table



FAT table is used for determination of condition of clusters and for searching next cluster of file or catalog.

One record about condition of cluster uses 2 bytes (16 bits) in FAT16.
The first sector of FAT16 table starts with signature F8 FF.
Free space is marked with signature 00 00. The end of the file is marked with signature FF F8 - FF FF. The damaged cluster is marked with signature FF F7

There is the special view of the first three sectors of FAT16 table on the picture above.
?

파일시스템
2011.03.16 14:03

FAT 파일시스템의 부트섹터 살펴보기

조회 수 1393 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
Boot (boot sector)



Boot sector는 partition의 첫번째 섹터에 위치하며 마지막 2 byte 는 55 AA 로 끝납니다.

Boot sector 에는 파일시스템 FAT, FAT16 혹은 FAT32 가 표시되나 꼭 필요한것은 아닙니다.

FAT boot 파라미터: 

FAT 16 boot sector 의 주요필드

 

FAT 32 boot sector 의 주요필드 



Sector
Bytes per sector. (512, 1024, 2048 or 4096)
Generally 0x200 = 512

Cluster
Sectors per cluster

Reserved
Reserved sector count. The number of sectors before the first FAT.

N
Number of file allocation tables.
Almost always 2 for flash.

Root Size
The size of root catalog
Size = Root_Size * 32
Root_Size is not used for FAT32 system

Total Sectors
The number of sectors is used in file system.

Table Size
The size of one copy of FAT - the number of sectors in one copy of FAT
?

파일시스템
2011.03.16 14:02

FAT32 파일시스템의 MBR 살펴보기

조회 수 1766 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
MBR (Master Boot Record)



MBR - Master Boot Record. MBR은 디스크의 첫번째 섹터에 있습니다. 


플래시메모리에는 MBR이 없습니다. 대신 Boot sector가 있습니다.

MBR 에는 해당드라이브의 파티션에 관한 정보가 저장됩니다.4개의 파티션생성이 가능하나 일반적으로 플래시메모리에는 1파티션으로만 관리하는 경우가 많습니다.

boot sector 의 마직막에는 2-byte 의 signature word 또는 sector marker  55 AA가 있습니다.

MBR:
  shift   size   Description
446-461 16 - partition record 1
462-477 16 - partition record 2
478-493 16 - partition record 3
494-509 16 - partition record 4
510-511 2 - signature 55АА




Flag
Flag of boot partition
80 - boot
00 - no

Type 
파티션구분
FAT16 - 04, 06, 0E
FAT32 - 0B, 0C
NTFS - 07 
확장파티션 - 0f 
확장 DOS 파티션 - 05

Start 
파티션의 시작주소 

Size
파티션의 섹터수
?

파일시스템
2011.03.16 13:55

FAT 파일시스템

조회 수 1159 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 수정 삭제

저용량 저장매체의 경우 일반적으로 FAT 파일시스템을 적용하는 경우가 많습니다.

 

FAT 파일시스템의 구조를 살펴보면 아래그림과 같습니다.

 

 MBR - Master boot record
- Boot - boot record
- FAT16 table
- FAT32 table
- Dir (for FAT16 and FAT32)

?

Board Pagination Prev 1 2 Next
/ 2