~colin-king/ubuntu/wily/mountall/zfs-support

Viewing all changes in revision 464.

  • Committer: Colin King
  • Date: 2015-08-06 14:00:44 UTC
  • Revision ID: colin.king@canonical.com-20150806140044-0r26t9ackrfbubsx
* Disregard the 'mounted' dataset property.
  If `/etc/mtab` is not a symlink to `/proc/mounts`, and if it contains stale
  records, then `zfs list` returns incorrect 'mounted' values that cause
  corresponding datasets to be ignored.
  
  The mounted check is unnecessary (and the problem), since mountall checks if
  the mountpoints are already mounted before it spawns a mount job - but zfs list
  checks mtab before it's been written by mountall (and any stale mountpoints get
  misrepresented). Removing that check, everything seems to work fine (mounts
  correctly on startup, doesn't overmount things when run from the command line
  in a running session).
  Will Rouesnel <w.rouesnel@gmail.com>, Thu, 27 Dec 2012 05:59:37 -0600

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: