Services and User Management

An administrator runs umount /mnt/data and receives "target is busy". Which command lists the processes that have files open on that filesystem?

Show the answer

Correct answerA. lsof /mnt/data

Giving lsof a mount point lists every open file on that filesystem and the processes holding them. lsof -i is tempting, but it selects network connections by address, not by filesystem path.