The Gateway to Computer Science Excellence
+24 votes

The root directory of a disk should be placed

  1. at a fixed address in main memory
  2. at a fixed location on the disk
  3. anywhere on the disk
  4. at a fixed location on the system disk
  5. anywhere on the system disk
in Operating System by Veteran (52.3k points)
edited by | 4.5k views
@Arjun sir can you please explain this in combination of B and B+ trees which are used for faster access. B and B+ structures are stored in memory and input to those algorithm is root directory which is stored on disk. Is this how it works?
System disk: Another name for a bootable diskette, a floppy disk (or CD-ROM) that a computer can use to boot the operating system (OS) if the hard drive fails to boot the OS.

2 Answers

+30 votes
Best answer
File system uses directories which are the files containing the name and location of other file in the file system. Unlike other file,directory does not store the user data. Directories are the file that can point to other directories. Root directory point to various user directory. So they will be stored in such a  way that user cannot easily  modify them. They should be placed at fixed location on the disk.

Correct Answer: $B$
by Active (4.1k points)
edited by
But what is system disk?
Yes. So, if root directory is placed on system disk, then the disk cannot work without system disk right? But system disks are usually used only for recovering OS.
ok...then can we place that root directory at a fixed location in disk.
Yes. That's the correct way :)
ok..thank you sir :)
@Arjun, this answer needs to be modified it seems !  Please check it !
Because in comments you are saying it should be "root directory at a fixed location in disk." in answer it says "at fixed location in system disk"
Okay root directory is present at the fixed location on the disk. Root directory also has a special name. What about other directories, They can be present at anywhere in the disk?
+8 votes

directory tree

The top directory in a file system. The root directory is provided by the operating system and has a special name; for example, in DOS systems the root directory is called \. The root directory is sometimes referred to simply as the root.

reference -

so Option B is right option

by Boss (11.8k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,833 questions
57,730 answers
107,869 users