Method to store file system mount options and device information in an extended attribute that is part of the directory being mounted over
Original Publication Date: 2002-Mar-11
Included in the Prior Art Database: 2003-Jun-21
Method to store file system mount options and device information in an extended attribute that is part of the directory being mounted over Disclosed is a new method for enhancing the file system mount command of a UNIX* based OS such that mount information for a file system is stored in an extended attributed associated with the file system mount point or directory. The mount command would be enhanced to query the mount point's extended attribute to determine the mount device as well as any mount options for this file system. Today the mount command supports file system entries in /etc/filesystems and it supports supplying the mount device and all mount options on the command line. The file system to be mounted could either be a local file system or a remote file system such as the Network File System** (NFS). For a local file system all of the local file system mount information such as mount device, journal log device, and other options would be part of the extended attribute associated with the mount dir. For a remote file system such as NFS this mount information would include a list of potential mount host(s) and any NFS mount options associated with this file system. The extended attribute would be opaque data to the file system containing the mount point and only the new enhanced mount command would understand what the format of the attribute. The enhanced mount command would work as long as some type of extended attribute was supported by the physical file system containing the mount point.