McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2025
→
Computer Science Engineering (CSE)
→
Operating System Architecture
→
The root node in the file system is writ...
Q.
The root node in the file system is write as
A.
/
B.
\\
C.
/..
D.
../
Answer» A. /
2.9k
0
Do you find this helpful?
23
View all MCQs in
Operating System Architecture
Discussion
No comments yet
Login to comment
Related MCQs
Below is the codeint main() { int fd1, fd2; struct stat buff1, buff2; fd1 = open(“1.txt”, O_RDWR); fd2 = open(“2.txt”, O_RDWR | O_APPEND); lseek(fd1, 10000, SEEK_SET); write(fd1, “abcdefghij”, 10); write(fd2, “abcdefghij”, 10); fstat(fd1, &buff1); fstat(fd2, &buff2); printf(“ %d %d”, buff1.st_size, buff2.st_size); return 0; } Before running the program, the file 1.txt and 2.txt size is 20 each. What is the output?
If are does not want anyone else to read or write to a file named datfile,except through a program in a file filex,then he may use
If one doesn't want anyone else to read or write to a file named datfile, except through a program in a file filex , then he may use
Non leaf node of the file system structure is …………..
ode snippets str1=”45678\n” str2=”123\n” f1 = fopen(file1,RDWR,RWX) f2 = fopen(file1,RDWR,RWX) write(f1,str1,len_str1) write(f2,str2,len_str2) o/p:
If you are a root user, how can you grand execute permission only for the owner of the file project1?
The kernel itself is a program that usually lives in the root partition of the UNIX filesystem. Most Linux distributions call it and it often a symbolic link to the real kernel file which lives in “/boot”.
If a file has read and write permissions for the owner, then the octal representation of the permissions will be
Which of these commands will set the permissions on file textfile to read and write for the owner, read for the group, and nothing for everyone else?
Which of the following time stamps need not exist for a file on traditional unix file system