Describe how the mv command moves a file even though it doesn’t touch the data blocks belonging to the file.

What will be an ideal response?


The mv command merely alters the directory information about a particular file. A directory file
contains a pointer to the data blocks for each file in the directory. To move a file from dir1 to dir2,
mv removes the link to the data blocks from dir1 and inserts the pointer in dir2. The data blocks
themselves are never accessed.

Computer Science & Information Technology

You might also like to view...

When invoking a function, the number of arguments should agree with the number of parameters listed in the function's ____.

A. data type B. parameterList C. return type D. return list

Computer Science & Information Technology

What are three ways you can use the square brackets [ ] with an array name?

What will be an ideal response?

Computer Science & Information Technology

Many programming languages can be used for building CGI, but the most common one is ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

With _______, register banks are replicated so that multiple threads can share the use of pipeline resources.

A. SMT B. pipelining C. scalar D. superscalar

Computer Science & Information Technology