C H A P T E R 7 Windows Vista Windows Vista Windows Vista FAT16 FAT32 NTFS NTFS New Technology File System NTFS

Similar documents
Microsoft Word - 第3章.doc

untitled

C/C++ - 字符输入输出和字符确认

Oracle 4

Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10

AL-MX200 Series

概述

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南

untitled

AL-M200 Series

C/C++程序设计 - 字符串与格式化输入/输出

Chapter 2

蒙 恬 科 技 軟 件 用 戶 授 權 協 議 本 許 可 協 議 為 蒙 恬 科 技 股 份 有 限 公 司 ( 以 下 簡 稱 蒙 恬 公 司 ) 授 予 您 合 法 使 用 本 軟 件 程 式 ( 本 軟 件 ) 之 協 議 書, 如 果 您 不 同 意 此 協 議 中 的 任 何 條 款,

... 12

02

Cadence SPB 15.2 VOICE Cadence SPB 15.2 PC Cadence 3 (1) CD1 1of 2 (2) CD2 2of 2 (3) CD3 Concept HDL 1of 1

FY.DOC

Guide to Install SATA Hard Disks

ebook140-8

1 SQL Server 2005 SQL Server Microsoft Windows Server 2003NTFS NTFS SQL Server 2000 Randy Dyess DBA SQL Server SQL Server DBA SQL Server SQL Se

, 7, Windows,,,, : ,,,, ;,, ( CIP) /,,. : ;, ( 21 ) ISBN : -. TP CIP ( 2005) 1

Microsoft Word - 正文.doc

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1)* ( /2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( )

ebook140-9

Microsoft Word - template.doc

CC213

els0xu_zh_nf_v8.book Page Wednesday, June, 009 9:5 AM ELS-0/0C.8

Panaboard Overlayer help

CHAPTER VC#

WinMDI 28

附录J:Eclipse教程

User’s Manual

2782_OME_KM_Cover.qxd

untitled

C/C++语言 - C/C++数据

SA-DK2-U3Rユーザーズマニュアル

Windows 2000 Server for T100

Ác Åé å Serial ATA ( Sil3132) S A T A (1) SATA (2) BIOS SATA (3)* RAID BIOS RAID (4) SATA (5) SATA (a) S A T A ( S A T A R A I D ) (b) (c) Windows XP

<4D F736F F D D342DA57CA7DEA447B14D2DA475B57BBB50BADEB27AC3FEB14DA447B8D5C344>

典型自编教材

HP SimpleSave Portable Hard Drive User Manual

1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F

C/C++ - 文件IO

安全防范

T1028_Manual_KO_V3 0.pdf

先生別耍我

Windows XP

Microsoft Office SharePoint Server MOSS Web SharePoint Web SharePoint 22 Web SharePoint Web Web SharePoint Web Web f Lists.asmx Web Web CAML f

Microsoft Word htm

Microsoft Word doc

epub 61-2

1 Windows Windows Vista Windows Server 2008 ImageX Windows Windows Deployment Services virtual machines Windows activation infrastructure o Win

PTS7_Manual.PDF

HP StorageWorks Automated Storage Manager 用户指南

1.ai

CHAPTER 1

untitled

CHN_p000A_Cover.ai

Seagate_Dashboard_UG.book


untitled

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING

ansoft_setup21.doc

Microsoft Word - InoTouch Editor编程软件手册 doc

09 Linux Linux Linux Linux 009.indd /9/4 下午 12:11:10

IC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG

愛 的 進 行 式 慈 濟 義 診 關 懷 四 川 行 慈 濟 義 診 關 懷 四 川 行 愛 的 進 行 式 資 料 來 源 圖 片 提 供 / 慈 濟 基 金 會 宗 教 處 五 月 應 該 是 充 滿 鮮 花 與 愛 的 溫 馨 月 份, 大 家 歡 喜 迎 接 著 佛 誕 節 母 親 節 與

Bus Hound 5

Java 1 Java String Date

C/C++ - 字符串与字符串函数

untitled

audiogram3 Owners Manual

穨control.PDF

Abstract arm linux tool-chain root NET-Start! 2

《大话设计模式》第一章

untitled

新・解きながら学ぶJava

ebook 102-3

untitled

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.06.doc

V A. 1 Hyper-V R2 V C. A. Hyper-V B. Microsoft SCOM 20 V C. MAP D. Microsoft SCVMM 2008 V B. V D. 2. IT IT 2

LSI U320 SCSI卡用户手册.doc

A Preliminary Implementation of Linux Kernel Virus and Process Hiding

ebook 132-2

C10_ppt.PDF

Microsoft Word - ch04三校.doc

Norton Ghost 15.0 安裝操作指南

Serial ATA ( nvidia nforce4 Ultra/SLI)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A (6) Micro

Acronis True Image 2014

会计9

untitled

27 :OPC 45 [4] (Automation Interface Standard), (Costom Interface Standard), OPC 2,,, VB Delphi OPC, OPC C++, OPC OPC OPC, [1] 1 OPC 1.1 OPC OPC(OLE f

Windows Server2003終端機服務 (M )

untitled

epub83-1

C/C++语言 - 运算符、表达式和语句

新版 明解C++入門編

EK-STM32F

Transcription:

C H P T E R 7 Windows Vista Windows Vista Windows VistaFT16 FT32NTFS NTFSNew Technology File System NTFS

247 6 7-1 Windows VistaTransactional NTFS TxFTxF Windows Vista MicrosoftTxF CIDatomicity - Consistency - Isolation - Durability - CID C#TxF using System; using System.Runtime.InteropServices; using System.IO; namespace TxF { class Program { [DllImport("Kernel32.dll")] static extern bool

DeleteFileTransactedW([Marshals(UnmanagedType.LPWStr)]string file, IntPtr transaction); 6 [DllImport("Kernel32.dll")] static extern bool CloseHandle(IntPtr handle); [DllImport("Ktmw32.dll")] static extern bool CommitTransaction (IntPtr transaction); [DllImport("Ktmw32.dll")] static extern bool RollbackTransaction (IntPtr transaction); [DllImport("Ktmw32.dll")] s t a t i c e x t e r n I n t P t r C r e a t e T r a n s a c t i o n(i n t P t r s e c u r i t y t t r i b u t e s, I n t P t r g u i d, i n t o p t i o n s, i n t isolationlevel, int isolationflags, int milliseconds, string description); static void Main(string[] args) { // // Demo setup. // string file1 = "c:\\temp\\txf1.txt"; string file2 = "c:\\temp\\txf2.txt"; using (StreamWriter sw = File.CreateText(file1)) sw.writeline("hello World"); using (StreamWriter sw = File.CreateText(file2)) sw.writeline("hello World"); // // Start the demo. // 257.1

267 6 Console.WriteLine("Press <ENTER> to start the transaction."); Console.ReadLine(); // // Create a kernel transaction. // IntPtr tx = CreateTransaction(IntPtr.Zero, IntPtr.Zero, 0, 0, 0, 0, null); // // Delete the files (transacted). // bool rollback = false; if (!DeleteFileTransactedW(file1, tx)) rollback = true; if (!DeleteFileTransactedW(file2, tx)) rollback = true; // // Commit or rollback? // if (!rollback) { char c; do { Console.WriteLine("{0} {1}.", file1, File.Exists(file1)? "still exists" : "has vanished"); Console.WriteLine("{0} {1}.", file2, File.Exists(file2)? "still exists" : "has vanished"); Console.Write("Commit transaction (Y/N)? "); c = (char)console.read(); }

while (c!= 'Y' && c!= 'y' && c!= 'N' && c!= 'n'); 6 if (c == 'Y' c == 'y') CommitTransaction(tx); else RollbackTransaction(tx); } else { Console.WriteLine("Forced rollback!"); RollbackTransaction(tx); } // // Close kernel mode transaction handle. // CloseHandle(tx); } } } C:\Temptxf1. txttxf2.txt rollback 277.1

27 6 TxF1 Step1 TxF.exe Step2 Dir c:\temptxf1.txttxf2.txt Step3 TxF.exeENTER Step4 Dir c:\temptxf1.txttxf2.txt Step5TxF.exe Y Step6c:\temptxf1.txttxf2.txt Step1~5 Step1~5 TxF2 Step1 TxF.exe Step2 Dir c:\temptxf1.txttxf2.txt Step3 TxF.exeENTER Step4 Dir c:\temptxf1.txttxf2.txt Step5 TxF.exeNrollback Step6 c:\temptxf1.txttxf2.txt TxFWindows Vista Windows Vista

7-2 6 Windows VistaFT16FT32 NTFSCDFSUDF FT16 PCFT32Windows Windows Me FT WindowsNTFS FT 7-1FT16FT32NTFS Criteria NTFS5 NTFS FT32 FT16 FT12 Windows Windows DOS v7 DOS DOS 2000 NT and higher Windows XP Windows 2000 Windows ll versions of Microsoft Windows ll versions of Microsoft Windows Windows Windows Windows Server XP ME 2003 Windows Windows Windows Vista Server 2003 2000 Windows Vista Windows XP 7-1FT16FT32NTFS 27.2

3007 6 Criteria NTFS5 NTFS FT32 FT16 FT12 :16EB SIZE Max Clusters Number w/ 64KB 32GB for 2GB for all Clusters all OS. OS. / 16TB w/ 4KB Clusters 2TB 16MB : 2TB/ 2TB for 4GB for 256TB some OS some OS (>2TB ) Nearly Nearly 414304 65536 Unlimited Unlimited Limit Only Limit Only 2GB 16MB by by 4GB minus (Limit Only (Limit Only 2 Bytes by Volume by Volume Volume Volume Size) Size) Size Size Nearly Nearly Unlimited Unlimited 41771 65520 400 Standard -.3 Up to 255 Up to 255 Up to 255 Up to 254 Extended - up to 255 7-1FT16FT32NTFS

Criteria NTFS5 NTFS FT32 FT16 FT12 Unicode Unicode Character Set Unicode Character Set System Character Set System Character Set System Character Set System Records Mirror MFT Mirror File MFT Mirror File Second Copy of FT Second Copy of FT Second Copy of FT First First First Sector First First and Last and Last and Copy Sector Sector Sectors Sectors in Sector #6 Standard and Standard and Standard Set Standard Set Standard Set Custom Custom Yes Yes No No No Yes Yes No No No Yes No No No No DESX Yes No No No No 3DES Yes No No No No ES Yes No No No No Yes Yes No No No Yes No No No No Sparse Files Yes No No No No Reparse Points Yes No No No No Volume Mount Yes No No No No Points Volume Shadow Yes No No No No Services POSIX Yes Yes No No No 7-1FT16FT32NTFS 6 3017.2

3027 6 Criteria NTFS5 NTFS FT32 FT16 FT12 Yes Yes No No No Yes Yes No No No Low on small volumes Low on small volumes High on small volumes Highest on small volumes High High on Large High on Large Low on large Low on large Disk Space Economy Max Max verage Minimal on large Max volumes Max Max Minimal verage verage 7-1FT16FT32NTFS 7-1 NTFS CDFSUDFCD-ROMDVDWindows Vista UDF Read and Write V2.50V2.01V1.50V1.02 Read-only V2.6 Default to UDF 2.01 for DVD/CDR/RW Default to UDF 2.50 for HD DVD/BD

7-2-1 NTFS NTFNew Technology File SystemWindows Vista MicrosoftWindows NT Windows VistaWindows XPNTFS NTFS 5.0Windows Vista NTFS File & Local security c c e s s C o n t ro l List Volume Volume Extended NTFS Compression Transaction Logging Bad-cluster Remapping R e c o v e r a b i l i t y Reliability POSIX case-sensitive Hard LinksPOSIX 16TB B-Tree EFS Disk Quotas Disk Defragmentation Fragmentation 7-2Windows Vista NTFS 6 3037.2

3047 6 7-2-2 FTNTFS Windows VistaNTFSWindows VistaCONVERT.EXEFT NTFSFT16FT32NTFS FTFT32 CONVERT.EXENTFS FTFT32CONVERT.EXE C o n v e r t v o l u m e: /F S:N T F S [/V] [/C v t r e a:f i l e n a m e] [/ NoSecurity] [/X] volume NTFS /FS:NTFS /V /Cvtrea:filename NTFS /NoSecurity /X Convert c: /fs:ntfsc NTFS 7-3 NTFS NTFS Windows Vista Windows

Vista Windows Vista NTFS NTFSStandard Permission Special Permission 7-3-1 7-3 7-4 NTFS 1 Read Write List Folder Contents Transverse Directory Read & Execute Modify Full Control 1Read-OnlyHiddenrchive System 2 7-3NTFS 6 7.3 NTFS305

3067 6 NTFS NTFS Read Write Read & Execute Modify Full Control 7-4NTFS 7-3-2 NTFS Windows VistaNTFS NTFS NTFS Step1 Step2 (C:)C:\ Report1 Step3 C : \ R e p o r t 1 Report17-1

3076 7-1NTFS Step4 Report1 Step5 7-2 7-3 jackmelvinleu 7-2 7.3 NTFS

307 6 7-3 Step6 C:\Report1 Step5 R e p o r t1

306 7-4 7-3-3 Windows Vista NTFS NTFS Windows Vista 13 7.3 NTFS

3107 6 / // 13 Everyone NTFS 7-513

311 NTFS // // dministrators 7-513 7-6 6 7.3 NTFS

3127 6 Traverse Folder/Execute File / List Folder/Read Data Read ttributes Read Extended ttributes / Create Files/Write Data / Create Folders/ppend Data Write ttributes Write Extended ttributes Delete Subfolders and Files Delete Read Permissions Change Permissions Take Ownership 1[] 2 7-6 /

7-3-4 NTFS Step1 Step2 (C:)C:\ Report1 Step3 C:\Report1Report1 Report1 7-5 6 7.3 NTFS313

3147 6 NTFS Step1 jack Report1 Step2 R e p o r t1 NTFS 7-6jackNTFS ndyntfs3 Report1 ndy Report1 ndy ndyntfs ndyntfs

7-7NTFS 7-7NTFS 7-3-5 NTFS Windows VistaNTFS NTFS NTFS NTFS NTFS CNTFS C:\Report1 GroupX GroupY GroupZ 6 7.3 NTFS315

3167 6 jackgroupxgroupygroupz jackc:\report1 Windows Vista Step1 Step2 (C:)C:\ Report1 Step3 C:\Report1Report1 Report1

6 7-7 Step4 jack Step5 Report1 jackjack C:\Report17-7- 7.3 NTFS317

317 6 Override jackc:\report1 jackc:\report1\ch4.doc jackc:\report1\ch4.doc helendenyc:\report1 C:\Report1\ReadME.txt helenc:\report1\readme.txt helenc:\report1 C:\Report1helen ReadME.txt notepad C:\Report1\ ReadME.txtReadME.txt jackc:\report1

jack GroupX 6 GroupY GroupZ jackc:\report1 jack NTFS Windows Vista NTFS ndy C:\Report1 ndyc:\report1 7-7-CH4.doc C:\Report1 7.3 NTFS31

3207 6 () () 7-7- 7-

7- Windows Vista Step1 Step2 C:\Report1C:\ Report1 Step3 Report1 7-10 6 7.3 NTFS321

3227 6 7-10 Step4 Windows7-11 7-11