Bugzilla – Bug 158955
'mount' man page does not describe 'mtpt' option required for XFS+DMAPI
Last modified: 2006-04-24 12:34:07 UTC
Mounting a DMAPI-enabled XFS filesystem requires mount options 'dmapi' and 'mtpt=<xxx>', where <xxx> is the location at which the filesystem is mounted. For example: mount ./xfs.img /mnt -o loop,dmapi,mtpt=/mnt The mount will fail if only 'dmapi' is specified. The man page for mount(8) describes the 'dmapi' option for XFS: dmapi / xdsm Enable the DMAPI (Data Management API) event callouts. but does not mention the "mtpt" option. This page comes from the util-linux-2.12r-13 package.
This is not a documentatioj bug but has to be fixed in the package. Reassigning to maintainer.
Mike could you come up with a description that we could put in the man page? Or even better a patch. You obviously know what should be in there...
These descriptions are taken from the kernel "Documentation/filesystems/xfs.txt" file, except that I added the " / xdsm" string that was in the original manpage. I checked that "xdsm" is accepted as a synonym for "dmapi" when mounting a filesystem. dmapi / xdsm Enable the DMAPI (Data Management API) event callouts. Use with the "mtpt" option. mtpt=mountpoint Use with the "dmapi" option. The value specified here will be included in the DMAPI mount event, and should be the path of the actual mountpoint that is used. Note that there are several other mount options described in "xfs.txt" that are not mentioned in the mount manpage, e.g. "ikeep". It might be best to update the whole "Mount options for XFS" section of the manpage from this file. Any technical questions about these options would be best answered by the XFS developers at linux-xfs@oss.sgi.com.
SGI, can you help with a text proposal perhaps?
hi Gerald, The text from comment #3 is fine - recommend using that, its straight from xfs kernel docs as Mike said. Wouldn't worry about auditing the rest, any other remaining options are very specific, or on by default, etc (ikeep is default in sles for example). cheers.
Thanks for the quick response, Nathan! Mads, Henne, is this sufficient?
sure. Now reads: Mount options for xfs dmapi / xdsm Enable the DMAPI (Data Management API) event callouts. Use with the "mtpt" option. mtpt=mountpoint Use with the "dmapi" option. The value specified here will be included in the DMAPI mount event, and should be the path of the actual mountpoint that is used. submitted for next beta.