For most
file systems, a program initializes access to a
file in a filesystem using the
open system call. This allocates resources associated to the file (the
file descriptor), and returns a handle that the process will use to refer to that file. In some cases the open is performed by the first access.