Subject: Re: Problems with "fss" (file system snapshot) device
To: None <tech-kern@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 12/11/2003 12:08:31
On Thu, Dec 11, 2003 at 08:58:16AM -0800, Jason Thorpe wrote:
>
> I.e. it is currently impossible to recover a snapshot after a reboot
> without a little dance:
>
> mount -o ro ... /usr
> fssconfig fss0 /usr /tmp/back
> mount -u -o rw /usr
>
> Does creating a snapshot automatically frob the start-up procedure so
> that when the system reboots, the right thing happens?
I am... disturbed... that fss attaches to a mounted filesystem rather
than to the underlying block device. If it did the latter, it would be
easy to arrange for TRT to happen in /etc/rc.d/*, no? Since it doesn't,
it looks to me like magic parsing of fstab would be required; ugh. You
are right about this.
Thor