]> granicus.if.org Git - zfs/commit
Add error message for missing /etc/mtab
authorAaron Fineman <abyxcos@gmail.com>
Thu, 27 Jun 2013 19:19:25 +0000 (15:19 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 27 Jun 2013 21:43:37 +0000 (14:43 -0700)
commitbbb75c11908d1009b6749b797b3a763558bbaaaf
tree2e5a2c3a2e121335ad50963adc88f3e0ad3d9c24
parentc12936b141e7479a1402561e9e528731d763747e
Add error message for missing /etc/mtab

The zpool command should not silently fail when the /etc/mtab
file does not exist.  This can occur in an initramfs environment
when the /etc/mtab file hasn't yet been generated.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1541
lib/libzfs/libzfs_util.c