4k views

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

edited | 4k views
0
@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?
+2
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.

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
+3
But what is system disk?
+2
+10
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.
+3
ok...then can we place that root directory at a fixed location in disk.
+1
Yes. That's the correct way :)
+1
ok..thank you sir :)
0
@Arjun, this answer needs to be modified it seems !  Please check it !
0
why?
+1
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"
+2
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?

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.

so Option B is right option

by Boss (11.2k points)