mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Documentation updates
Minor Linux specific documentation updates to the comments and man pages.
This commit is contained in:
@@ -1600,7 +1600,7 @@ zfs_unset_recvd_props_mode(zfs_handle_t *zhp, uint64_t *cookie)
|
||||
* zfs_prop_get_int() are built using this interface.
|
||||
*
|
||||
* Certain properties can be overridden using 'mount -o'. In this case, scan
|
||||
* the contents of the /etc/mnttab entry, searching for the appropriate options.
|
||||
* the contents of the /etc/mtab entry, searching for the appropriate options.
|
||||
* If they differ from the on-disk values, report the current values and mark
|
||||
* the source "temporary".
|
||||
*/
|
||||
@@ -1658,7 +1658,7 @@ get_numeric_property(zfs_handle_t *zhp, zfs_prop_t prop, zprop_source_t *src,
|
||||
|
||||
/*
|
||||
* Because looking up the mount options is potentially expensive
|
||||
* (iterating over all of /etc/mnttab), we defer its calculation until
|
||||
* (iterating over all of /etc/mtab), we defer its calculation until
|
||||
* we're looking up a property which requires its presence.
|
||||
*/
|
||||
if (!zhp->zfs_mntcheck &&
|
||||
|
||||
@@ -1212,7 +1212,7 @@ mountpoint_compare(const void *a, const void *b)
|
||||
* Unshare and unmount all datasets within the given pool. We don't want to
|
||||
* rely on traversing the DSL to discover the filesystems within the pool,
|
||||
* because this may be expensive (if not all of them are mounted), and can fail
|
||||
* arbitrarily (on I/O error, for example). Instead, we walk /etc/mnttab and
|
||||
* arbitrarily (on I/O error, for example). Instead, we walk /etc/mtab and
|
||||
* gather all the filesystems that are currently mounted.
|
||||
*/
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user