From owner-freebsd-questions@FreeBSD.ORG Sat Nov 13 19:08:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFFFD16A4D2 for ; Sat, 13 Nov 2004 19:08:56 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1765343D1F for ; Sat, 13 Nov 2004 19:08:56 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) iADJ8ocb097761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 13 Nov 2004 19:08:50 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)iADJ8oo1097760; Sat, 13 Nov 2004 19:08:50 GMT (envelope-from matthew) Date: Sat, 13 Nov 2004 19:08:50 +0000 From: Matthew Seaman To: Francisco Reyes Message-ID: <20041113190850.GE96895@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Francisco Reyes , FreeBSD Questions List References: <20041113110938.Q85262@zoraida.natserv.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VUDLurXRWRKrGuMn" Content-Disposition: inline In-Reply-To: <20041113110938.Q85262@zoraida.natserv.net> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 13 Nov 2004 19:08:50 +0000 (GMT) X-Virus-Scanned: ClamAV 0.80/575/Sat Nov 6 01:03:53 2004 clamav-milter version 0.80j on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,AWL,RAZOR2_CHECK autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on happy-idiot-talk.infracaninophile.co.uk cc: FreeBSD Questions List Subject: Re: A couple of 5.3 questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2004 19:08:57 -0000 --VUDLurXRWRKrGuMn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 13, 2004 at 11:19:18AM -0500, Francisco Reyes wrote: > Plan to soon move to 5.3 through a backup, fresh install proces.. >=20 > One of the main reasons I am moving is for the snapshot capability. > Reading the man for MKSNAP_FFS(8) I see > mksnap_ffs mountpoint snapshot_name >=20 > Question: Does mountpoint has to be a filesystem or can it be a directory? > For example if I have: > / > /usr > /var >=20 > Can I make a snapshot of /usr/home? Or I can only do /usr? >=20 > Then I went on to look at how to mount snapshopts, and although found the= =20 > info, got a little more confused. >=20 > The mount command has in the man page: > snapshot > This option allows a snapshot of the specified > file system to be taken. >=20 > So is mount or mksnap_ffs that makes the snapshot? >=20 > The only reason I am trying to get this info is to know if to make a=20 > separate filesystem for files I would like to snapshot. The snapshot capability is a filesystem wide thing: ie. you can snapshot a whole partition, not just small parts of it. mount(8) will call mksnap_ffs(8) to create the snapshot -- that's typical of the way mount is designed. When you say 'mount -t foo', you actually end up trying to run a command 'mount_foo' (of which there are about 17 variants available on this 4.10-STABLE system) -- that lets arbitrary new filesystem types be added to the system very easily. Once you've made your snapshot, you can do things like backing up just selected parts of it, no problem. So long as there aren't massive changes going on in that partition, the snapshot shouldn't take up too many system resources. I think what you want would be a very similar concept: file versioning. That's something which is available in eg. Windows Server, but that hasn't been implemented on FreeBSD -- or, as far as I know, on any Unixoid system. =20 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --VUDLurXRWRKrGuMn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBllvCiD657aJF7eIRAuS2AJ9Y5vOcSsLZJsnPY8omUf6DhzfPOQCffrwr lhIBKi1qGtKGExuz/43LUaU= =9l0o -----END PGP SIGNATURE----- --VUDLurXRWRKrGuMn--