Вы находитесь на странице: 1из 28

( 1)

1.
1.1.


1.1.1.
1.1.2.
1.1.3.
1.1.4.

1.2.


1.2.1.
1.2.2.
1.2.3.
1.2.4.
1.2.5.
1.2.6.

1.3.
1.4.


1. ,
2. ,

3. ,

4. ()

(
)


(, )



/



(
)



,

.



open /
close
read / write , (
/ )
delete
seek /
rename
read / write _attributes ,



,

. .

NAME1

NAME2

NAME3

USR1

1
1

N N

1
2

USR2

1
k

2
1

N N N

2
2

...

1
l

USRM

M
1

N N

M
2

M
l

/
A

C
F
B

MBR Master
Boot Record

:
1, 1
2, 2


(, )

HDD HDD

Name1 Name2 Name3

Name4

Name5

Name6


,
Name:
1

{i} ,
Name.

(
)

()

( 2-
)

(File Allocation Table FAT)

0
1
2
3
4
5
6
7
8

k1

Name: 3 1 - 5

1
0



(
)

()
Name 0
1
2
3

()
,


.

FAT
, ,

(
).
:


Name1

Name2

Name1

Name2

Name1

Name2


,

.


.

.

:

1.

Name

A
C

B
D

E
G

F
H

:
?
2.
.
2.1
Name1


NameCount = 2

Name2

2.2
Name1

Name2



.
:


( )
:


.

01101...............10
1001011...........11

, 1,
0.
1001011...........11


,

.

.
,


.
> 0,

,
= 0,
.





():
(
)
( )
,

(
- / )
(
, , ..)

(
)

(
), .

(
, ,
..)

:

1. :


(
)
.
2. .
1

3. . ,
,
1
4.

0 1 2 3 4 5

1.

1 1 0 1 0 1


.
0 0 1 0 1 0

0 1 2 3 4 5

2.

1 0 0 1 0 1

0 0 1 0 1 0

,
.

0 1 2 3 4 5

3.

1 0 0 1 0 1

0 1 2 0 1 0

0 1 2 3 4 5

4.

1 2 0 1 0 1

0 0 1 0 1 0


,
.

1.
2.
3.
4.
5.

Name1 Name12
Name2 Name22
Name1, Name2


Name1
Name2
Name3


NameCount=M

...
NameL
:
1. L = M
2. L > M
NameCount = L
3. L < M

Оценить