Patent ID: 8032570

Claim:
A stacked file system comprising: a stack, stored in a memory, having at least a file system stacked on top of an underlying file system; and a stack manager, hosted by an operating system included in the memory, having a logic for managing the stack, wherein the logic comprises an eject operation for ejecting a first file system from the stack, and wherein the eject operation comprises executing an algorithm comprising: obtaining a first mount point of the first file system; and ejecting the first file system at the identified first mount point by passing information handled by the first file system being ejected to the underlying file system, wherein ejecting the first file system at the identified first mount point by passing information comprises passing vnodes handled by the first file system being ejected to the underlying file system, and wherein the eject operation is completed upon removal of the vnodes handled by the first file system from a virtual file system (VFS) mounted list.