On Fri, Oct 19, 2007 at 11:16:45AM +0100, Darren J Moffat wrote:
> What is the behaviour of zpool import with -c if the file doesn't exist 
> or isn't a valid cache file (eg zpool import -c /dev/zero)

It returns an error.  I will clarify that in the manpages.

> I think the man page should actually say what the default cachefile 
> location actually is, it isn't any old file in the root filesystem but a 
> very specific one.

We have avoided doing this because we do not want the actual location
(/etc/zfs/zpool.cache) to become a supported interface.  That being
said, it may be worth documenting it with the caveat that the location
is unstable.

- Eric

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock

Reply via email to