06-File-Management Directory File Directory Directory๋ ์ผ์ข
์ ํ์ผ์ด๋ค ํด๋น ํ์ผ FCB์ ์๋ณ์๋ง ์ ์ฅํ๋ค inode (index node) Unix์์๋ FCB์ inode๊ฐ ๊ฐ๋ค ๋ชจ๋ ํ์ผ, ํด๋๊ฐ Uniqueํ ๊ฐ์ ๊ฐ์ง๋ค. (root๋ 2๋ก ๊ณ ์ ) File Systems ํํฐ์
์ ๊ตฌ์กฐ boot block, super block, FCB list, data blocks Partition Control block (Super block) blocks ๊ฐ์, free data blocks ๊ฐ์, free data blocks list ์ ์ฅ inode table, free inode ๊ฐ์, free inode list ์ ์ฅ File Control Block (FCB) UNIX์์ 128byte์ ํฌ๊ธฐ๋ฅผ ๊ฐ์ง๋ค ํ์ผ ์ด๋ฆ, ํ์ผ ํฌ๊ธฐ, uid, gid, ํ์ผ ์ฃผ์ ๋ฑ๋ฑ ์ ์ฅ Management of Data Blocks Contiguous Allocation ๊ฐ๊ฐ์ ํ์ผ์ ์ฐ์์ ์ผ๋ก ์ ์ฅ Direct Access File grow problem ์กด์ฌ External fragmentation, Internal fragmentation ๋ฐ์ Chained Allocation Direct acess File grow problem X External fragmentation X Poor data safety (์ ๋ธ๋ก์ ๋ฌธ์ ๊ฐ ์๊ธฐ๋ฉด ๋ค ๋ธ๋ก๋ ์ฌ์ฉ ๋ถ๊ฐ๋ฅ) Indexed Allocation (ํ๋์ ์ฌ์ฉ) Direct access File grow problem X External fragmentation X Medium level data safety (index block๋ง ๊ด์ฐฎ์ผ๋ฉด ๋๋ค) Index block์ด ์ถ๊ฐ๋ก ํ์ํ๋ค Free-Space Management Counting N-M… N๋ฒ๋ถํฐ M๊ฐ์ ๋ธ๋ก์ด ๋น์ด์๋ค.
Maven coordinates groupId : ํ์ฌ๋ ๋จ์ฒด๋ช
ex) org.springframework, org.prgms artifactId : ํ๋ก์ ํธ ๋ช
ex) spring-context, order-api version : ํ๋ก์ ํธ ๋ฒ์ ex) 5.2.15-RELEASE, 1.0-SNAPSHOT Build lifecycle validate, compile, test, package, verify, install, deploy Trnsitive Dependencies 1A 2โโโ B 3โ โโ C 4โโโ D C๋ A์ transitive ์์กด์ฑ Dependency Scope (<scope>) compile(default) : ์ปดํ์ผ, ํ
์คํธ, ์คํ์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๊ฐ ํ์ํ ๋ provided : JDK ๋๋ ์ปจํ
์ด๋๊ฐ ํด๋น ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ ๊ณตํ ๋ (JSP, servlet) runtime : ์คํ๊ณผ ํ
์คํธ์๋ง ์ฌ์ฉ๋ ๋ (JDBC driver) test : ํ
์คํธ ์ปดํ์ผ ๋ฐ ์คํ์๋ง ํ์ํ ๋ (easymock, junit) system: provided์ ๋น์ทํ์ง๋ง, ์ฌ์ฉ์๊ฐ jarํ์ผ์ ์์น๋ฅผ ์ง์ example 1<project xmlns="http://maven.