ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 10 . File System
    CS/OS 2022. 8. 8. 15:04

    File System


    file system or filesystem (often abbreviated to fs) is a method and data structure that the operating system uses to control how data is stored and retrieved

     

    1. Space managements

    File system fragmentation occurs when unused space or single files are not contiguous.

    As a file system is used, files are created, modified and deleted. When a file is created, the file system allocates space for the data

    File create and delete

    2. File Name

    filename (or file name) is used to identify a storage location in the file system.

     

    3. Directories

    File systems typically have directories (also called folders) which allow the user to group files into separate collections.

    This may be implemented by associating the file name with an index in a table of contents or an inode in a Unix-like file system.

     

    4. Metadata

    Other bookkeeping information is typically associated with each file within a file system.

    1. Data length ( the number of blocks allocated for the file or as a byte count )

    2. Time ( last modified may be stored as the file's timestamp / last accessed / creation time / the file's metadata was changed)

    3. file's device type ( block , socket .. )

    4. the length of the contents of a file

    5. the file name

    6. the location of the file

    'CS > OS' 카테고리의 다른 글

    11. Cache&Block  (0) 2022.08.08
    9. Virtual Memory advantages and paging algorithm  (0) 2022.06.23
    8. Vitrual Memory  (0) 2022.06.23
    xv6 Test code  (0) 2022.06.02
    xv6 (linux Init)  (0) 2022.06.02

    댓글

Designed by Tistory.