SlideShare uma empresa Scribd logo
1 de 17
Definition

•   A directory is a file which contains information
    about other files in the system




                      http://raj-os.blogspot.in/       1
Contents of a Directory Entry

Directory                       Information about each file


      Entry1                         File name
                                     File type
      Entry2                         File size
                                     Owner
      Entry3                         Protection information
                                     Usage count
                                     Creation time
      Entry4
                                     Time of last modification
                                     List of disk blocks used

            Fig : A directory having an entry for each file

                           http://raj-os.blogspot.in/            2
File System Organization

•   File systems on a computer system need organization

•   Organization done in two parts

      1.     Partition file system

      2.     Create directory




                       http://raj-os.blogspot.in/         3
Minidisks and Volumes



Partitions are known as

• Minidisks in IBM world

• Volumes in PC and Macinthosh arenas




                      http://raj-os.blogspot.in/   4
File System Organization
1. Partition file system
•    Each disk on a system contains at least one partition
•    A partition is a low level structure
•    Each partition contains files and directories
•    A single disk can have multiple partitions
•    Each partition is treated as a separate storage device
    i..e. each partition is a virtual disk
•    Some systems group different physical disks into a single
     partition

                             http://raj-os.blogspot.in/          5
File System Organization
2. Create directory

•   Each partition contains a directory

•   A directory is also known as a device directory or volume

    table of contents ( VTOC )

•   The directory records information about all files on that

    partition




                         http://raj-os.blogspot.in/             6
File System Organization
                        directory

 Partition A
                             files


                        directory                    Disk 1

 Partition B                 files




Fig : File system organization – Single disk – Multiple partitions



                        http://raj-os.blogspot.in/                   7
File System Organization

                              Directory
                                                      Disk 2

Partition C                       Files


                                                     Disk 3




Fig : File System organization – Single Partition – Multiple Disks



                       http://raj-os.blogspot.in/                    8
Quiz




http://raj-os.blogspot.in/   9
1.        In sequential access method


     a) Records are accessed randomly

     b) Every alternate record is accessed

     c)    Records are accessed one after the other

     d) None of the above




                            http://raj-os.blogspot.in/   10
2. Direct access is suitable for


   a)   Payroll application

   b)   Compilation of a source program file

   c)   Airline reservation

   d)   All of the above




                              http://raj-os.blogspot.in/   11
3. An index file


a)   Increases speed of accessing data

b)   Decreases speed of accessing data

c)   Occupies space in addition to data file

d)   Both a & c




                            http://raj-os.blogspot.in/   12
4. The access method to be used for processing student
       results

a)   Direct access

b)   Indexed access

c)   Sequential Access

d)   None of the above




                         http://raj-os.blogspot.in/      13
5. A directory is


   a)   A file

   b)   A storage device

   c)   A system program

   d)   None of the above




                           http://raj-os.blogspot.in/   14
6. Each entry in a directory stores information such as

  a)   Name of the file

  b)   Size of the file

  c)   Location of the file

  d)   All of the above




                              http://raj-os.blogspot.in/   15
7. Which of the following is not a directory operation


  a)   Deleting a file

  b)   Creating a file

  c)   Rename a file

  d)   None




                          http://raj-os.blogspot.in/     16
8. The most common backup device is


  a)   Keyboard

  b)   Printer

  c)   Magnetic tape

  d)   All of the above




                          http://raj-os.blogspot.in/   17

Mais conteúdo relacionado

Mais procurados

file system in operating system
file system in operating systemfile system in operating system
file system in operating systemtittuajay
 
Operating Systems - File Management
Operating Systems -  File ManagementOperating Systems -  File Management
Operating Systems - File ManagementDamian T. Gordon
 
ITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemSneh Prabha
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating SystemJanki Shah
 
The unix file system
The unix file systemThe unix file system
The unix file systemgsandeepmenon
 
Op Sy 03 Ch 41
Op Sy 03 Ch 41Op Sy 03 Ch 41
Op Sy 03 Ch 41 Google
 
File System Interface
File System InterfaceFile System Interface
File System Interfacechandinisanz
 
File management
File managementFile management
File managementMohd Arif
 
File Management
File ManagementFile Management
File Managementspickul
 
File system of windows xp
File system of windows xpFile system of windows xp
File system of windows xpashubhardwaj03
 

Mais procurados (19)

Operating System
Operating SystemOperating System
Operating System
 
Files
FilesFiles
Files
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Operating Systems - File Management
Operating Systems -  File ManagementOperating Systems -  File Management
Operating Systems - File Management
 
ITFT_File system interface in Operating System
ITFT_File system interface in Operating SystemITFT_File system interface in Operating System
ITFT_File system interface in Operating System
 
Linux files
Linux filesLinux files
Linux files
 
File Management in Operating System
File Management in Operating SystemFile Management in Operating System
File Management in Operating System
 
The unix file system
The unix file systemThe unix file system
The unix file system
 
Op Sy 03 Ch 41
Op Sy 03 Ch 41Op Sy 03 Ch 41
Op Sy 03 Ch 41
 
File Management
File ManagementFile Management
File Management
 
File System Interface
File System InterfaceFile System Interface
File System Interface
 
File management
File managementFile management
File management
 
File Management
File ManagementFile Management
File Management
 
SSM
SSMSSM
SSM
 
File management
File managementFile management
File management
 
File management
File managementFile management
File management
 
File system of windows xp
File system of windows xpFile system of windows xp
File system of windows xp
 
OSCh11
OSCh11OSCh11
OSCh11
 

Destaque

34 single partition allocation
34 single partition allocation34 single partition allocation
34 single partition allocationmyrajendra
 
35. multiplepartitionallocation
35. multiplepartitionallocation35. multiplepartitionallocation
35. multiplepartitionallocationmyrajendra
 
39 virtual memory
39 virtual memory39 virtual memory
39 virtual memorymyrajendra
 
Vtoc, Use Case, Activity Diagram
Vtoc, Use Case, Activity DiagramVtoc, Use Case, Activity Diagram
Vtoc, Use Case, Activity DiagramNew Era University
 
Deleting structure.56
Deleting structure.56Deleting structure.56
Deleting structure.56myrajendra
 
Set model and page fault.44
Set model and page fault.44Set model and page fault.44
Set model and page fault.44myrajendra
 
Sad format
Sad formatSad format
Sad formatcas123
 
Operations on a directory 54(3
Operations on a directory 54(3Operations on a directory 54(3
Operations on a directory 54(3myrajendra
 
Disk scheduling.49
Disk scheduling.49Disk scheduling.49
Disk scheduling.49myrajendra
 
38 paged segmentation
38 paged segmentation38 paged segmentation
38 paged segmentationmyrajendra
 
Issues in acyclic graph directories.57 to 58
Issues in acyclic graph directories.57 to 58Issues in acyclic graph directories.57 to 58
Issues in acyclic graph directories.57 to 58myrajendra
 
41 page replacement fifo
41 page replacement fifo41 page replacement fifo
41 page replacement fifomyrajendra
 
Sad format
Sad formatSad format
Sad formatcas123
 
42 lru optimal
42 lru optimal42 lru optimal
42 lru optimalmyrajendra
 
36 fragmentaio nnd pageconcepts
36 fragmentaio nnd pageconcepts36 fragmentaio nnd pageconcepts
36 fragmentaio nnd pageconceptsmyrajendra
 
Scan scheduling 50 1
Scan scheduling 50 1Scan scheduling 50 1
Scan scheduling 50 1myrajendra
 
C scan scheduling 50 2
C scan scheduling 50 2C scan scheduling 50 2
C scan scheduling 50 2myrajendra
 
Advantages of tree structured directories(56(1)
Advantages of tree structured directories(56(1)Advantages of tree structured directories(56(1)
Advantages of tree structured directories(56(1)myrajendra
 
C look scheduling 51 1
C look scheduling 51 1C look scheduling 51 1
C look scheduling 51 1myrajendra
 

Destaque (20)

34 single partition allocation
34 single partition allocation34 single partition allocation
34 single partition allocation
 
35. multiplepartitionallocation
35. multiplepartitionallocation35. multiplepartitionallocation
35. multiplepartitionallocation
 
39 virtual memory
39 virtual memory39 virtual memory
39 virtual memory
 
Vtoc, Use Case, Activity Diagram
Vtoc, Use Case, Activity DiagramVtoc, Use Case, Activity Diagram
Vtoc, Use Case, Activity Diagram
 
Deleting structure.56
Deleting structure.56Deleting structure.56
Deleting structure.56
 
Set model and page fault.44
Set model and page fault.44Set model and page fault.44
Set model and page fault.44
 
Sad format
Sad formatSad format
Sad format
 
Operations on a directory 54(3
Operations on a directory 54(3Operations on a directory 54(3
Operations on a directory 54(3
 
Disk scheduling.49
Disk scheduling.49Disk scheduling.49
Disk scheduling.49
 
33
3333
33
 
38 paged segmentation
38 paged segmentation38 paged segmentation
38 paged segmentation
 
Issues in acyclic graph directories.57 to 58
Issues in acyclic graph directories.57 to 58Issues in acyclic graph directories.57 to 58
Issues in acyclic graph directories.57 to 58
 
41 page replacement fifo
41 page replacement fifo41 page replacement fifo
41 page replacement fifo
 
Sad format
Sad formatSad format
Sad format
 
42 lru optimal
42 lru optimal42 lru optimal
42 lru optimal
 
36 fragmentaio nnd pageconcepts
36 fragmentaio nnd pageconcepts36 fragmentaio nnd pageconcepts
36 fragmentaio nnd pageconcepts
 
Scan scheduling 50 1
Scan scheduling 50 1Scan scheduling 50 1
Scan scheduling 50 1
 
C scan scheduling 50 2
C scan scheduling 50 2C scan scheduling 50 2
C scan scheduling 50 2
 
Advantages of tree structured directories(56(1)
Advantages of tree structured directories(56(1)Advantages of tree structured directories(56(1)
Advantages of tree structured directories(56(1)
 
C look scheduling 51 1
C look scheduling 51 1C look scheduling 51 1
C look scheduling 51 1
 

Semelhante a File directory definition 54(2)

AdvFS/Advanced File System Ccncepts
AdvFS/Advanced File System CcnceptsAdvFS/Advanced File System Ccncepts
AdvFS/Advanced File System CcnceptsJustin Goldberg
 
File Management & Access Control
File Management & Access Control File Management & Access Control
File Management & Access Control YuvrajWadavale
 
AOS Lab 9: File system -- Of buffers, logs, and blocks
AOS Lab 9: File system -- Of buffers, logs, and blocksAOS Lab 9: File system -- Of buffers, logs, and blocks
AOS Lab 9: File system -- Of buffers, logs, and blocksZubair Nabi
 
CNIT 152 13 Investigating Mac OS X Systems
CNIT 152 13 Investigating Mac OS X SystemsCNIT 152 13 Investigating Mac OS X Systems
CNIT 152 13 Investigating Mac OS X SystemsSam Bowne
 
File system interfacefinal
File system interfacefinalFile system interfacefinal
File system interfacefinalmarangburu42
 
Internal representation of file chapter 4 Sowmya Jyothi
Internal representation of file chapter 4 Sowmya JyothiInternal representation of file chapter 4 Sowmya Jyothi
Internal representation of file chapter 4 Sowmya JyothiSowmya Jyothi
 
filesystem-120405093921-phpapp02 (1).pdf
filesystem-120405093921-phpapp02 (1).pdffilesystem-120405093921-phpapp02 (1).pdf
filesystem-120405093921-phpapp02 (1).pdfTESTFALTU
 
CNIT 121: 13 Investigating Mac OS X Systems
CNIT 121: 13 Investigating Mac OS X SystemsCNIT 121: 13 Investigating Mac OS X Systems
CNIT 121: 13 Investigating Mac OS X SystemsSam Bowne
 

Semelhante a File directory definition 54(2) (20)

AdvFS/Advanced File System Ccncepts
AdvFS/Advanced File System CcnceptsAdvFS/Advanced File System Ccncepts
AdvFS/Advanced File System Ccncepts
 
File Management & Access Control
File Management & Access Control File Management & Access Control
File Management & Access Control
 
Windowsforensics
WindowsforensicsWindowsforensics
Windowsforensics
 
Unix File System
Unix File SystemUnix File System
Unix File System
 
File System operating system operating system
File System  operating system operating systemFile System  operating system operating system
File System operating system operating system
 
AOS Lab 9: File system -- Of buffers, logs, and blocks
AOS Lab 9: File system -- Of buffers, logs, and blocksAOS Lab 9: File system -- Of buffers, logs, and blocks
AOS Lab 9: File system -- Of buffers, logs, and blocks
 
Ch10 file system interface
Ch10   file system interfaceCh10   file system interface
Ch10 file system interface
 
CNIT 152 13 Investigating Mac OS X Systems
CNIT 152 13 Investigating Mac OS X SystemsCNIT 152 13 Investigating Mac OS X Systems
CNIT 152 13 Investigating Mac OS X Systems
 
File Allocation Methods.ppt
File Allocation Methods.pptFile Allocation Methods.ppt
File Allocation Methods.ppt
 
File system interfacefinal
File system interfacefinalFile system interfacefinal
File system interfacefinal
 
File Systems
File SystemsFile Systems
File Systems
 
Os6
Os6Os6
Os6
 
5263802.ppt
5263802.ppt5263802.ppt
5263802.ppt
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
 
File system
File systemFile system
File system
 
File Management.ppt
File Management.pptFile Management.ppt
File Management.ppt
 
Internal representation of file chapter 4 Sowmya Jyothi
Internal representation of file chapter 4 Sowmya JyothiInternal representation of file chapter 4 Sowmya Jyothi
Internal representation of file chapter 4 Sowmya Jyothi
 
filesystem-120405093921-phpapp02 (1).pdf
filesystem-120405093921-phpapp02 (1).pdffilesystem-120405093921-phpapp02 (1).pdf
filesystem-120405093921-phpapp02 (1).pdf
 
Hdfs architecture
Hdfs architectureHdfs architecture
Hdfs architecture
 
CNIT 121: 13 Investigating Mac OS X Systems
CNIT 121: 13 Investigating Mac OS X SystemsCNIT 121: 13 Investigating Mac OS X Systems
CNIT 121: 13 Investigating Mac OS X Systems
 

Mais de myrajendra (20)

Fundamentals
FundamentalsFundamentals
Fundamentals
 
Data type
Data typeData type
Data type
 
Hibernate example1
Hibernate example1Hibernate example1
Hibernate example1
 
Jdbc workflow
Jdbc workflowJdbc workflow
Jdbc workflow
 
2 jdbc drivers
2 jdbc drivers2 jdbc drivers
2 jdbc drivers
 
3 jdbc api
3 jdbc api3 jdbc api
3 jdbc api
 
4 jdbc step1
4 jdbc step14 jdbc step1
4 jdbc step1
 
Dao example
Dao exampleDao example
Dao example
 
Sessionex1
Sessionex1Sessionex1
Sessionex1
 
Internal
InternalInternal
Internal
 
3. elements
3. elements3. elements
3. elements
 
2. attributes
2. attributes2. attributes
2. attributes
 
1 introduction to html
1 introduction to html1 introduction to html
1 introduction to html
 
Headings
HeadingsHeadings
Headings
 
Forms
FormsForms
Forms
 
Css
CssCss
Css
 
Views
ViewsViews
Views
 
Views
ViewsViews
Views
 
Views
ViewsViews
Views
 
Starting jdbc
Starting jdbcStarting jdbc
Starting jdbc
 

File directory definition 54(2)

  • 1. Definition • A directory is a file which contains information about other files in the system http://raj-os.blogspot.in/ 1
  • 2. Contents of a Directory Entry Directory Information about each file Entry1 File name File type Entry2 File size Owner Entry3 Protection information Usage count Creation time Entry4 Time of last modification List of disk blocks used Fig : A directory having an entry for each file http://raj-os.blogspot.in/ 2
  • 3. File System Organization • File systems on a computer system need organization • Organization done in two parts 1. Partition file system 2. Create directory http://raj-os.blogspot.in/ 3
  • 4. Minidisks and Volumes Partitions are known as • Minidisks in IBM world • Volumes in PC and Macinthosh arenas http://raj-os.blogspot.in/ 4
  • 5. File System Organization 1. Partition file system • Each disk on a system contains at least one partition • A partition is a low level structure • Each partition contains files and directories • A single disk can have multiple partitions • Each partition is treated as a separate storage device i..e. each partition is a virtual disk • Some systems group different physical disks into a single partition http://raj-os.blogspot.in/ 5
  • 6. File System Organization 2. Create directory • Each partition contains a directory • A directory is also known as a device directory or volume table of contents ( VTOC ) • The directory records information about all files on that partition http://raj-os.blogspot.in/ 6
  • 7. File System Organization directory Partition A files directory Disk 1 Partition B files Fig : File system organization – Single disk – Multiple partitions http://raj-os.blogspot.in/ 7
  • 8. File System Organization Directory Disk 2 Partition C Files Disk 3 Fig : File System organization – Single Partition – Multiple Disks http://raj-os.blogspot.in/ 8
  • 10. 1. In sequential access method a) Records are accessed randomly b) Every alternate record is accessed c) Records are accessed one after the other d) None of the above http://raj-os.blogspot.in/ 10
  • 11. 2. Direct access is suitable for a) Payroll application b) Compilation of a source program file c) Airline reservation d) All of the above http://raj-os.blogspot.in/ 11
  • 12. 3. An index file a) Increases speed of accessing data b) Decreases speed of accessing data c) Occupies space in addition to data file d) Both a & c http://raj-os.blogspot.in/ 12
  • 13. 4. The access method to be used for processing student results a) Direct access b) Indexed access c) Sequential Access d) None of the above http://raj-os.blogspot.in/ 13
  • 14. 5. A directory is a) A file b) A storage device c) A system program d) None of the above http://raj-os.blogspot.in/ 14
  • 15. 6. Each entry in a directory stores information such as a) Name of the file b) Size of the file c) Location of the file d) All of the above http://raj-os.blogspot.in/ 15
  • 16. 7. Which of the following is not a directory operation a) Deleting a file b) Creating a file c) Rename a file d) None http://raj-os.blogspot.in/ 16
  • 17. 8. The most common backup device is a) Keyboard b) Printer c) Magnetic tape d) All of the above http://raj-os.blogspot.in/ 17