Final Year Project:
Using Linux Filesystems Under Windows
Chris Bryden
BEng. Electronics and Software Engineering
School of Computer Science
University of Birmingham
28
to copy the file with this inode number to the destination path on the DOS
filesystem.
If the destination file exists an error is returned to the calling application,
but an overwrite can be forced by changing the value of a flag passed to the cp
function.
4.4.6 The get inode command
This command returns the inode of the specified file or directory to the
calling application. It simply calls the get inode function of layer 1 and passes the
inode to the calling application. This function is included as this gives the calling
application a method of retrieving detailed information about a specific file or
directory.