mksnap_ffs.8 (180822) | mksnap_ffs.8 (193051) |
---|---|
1.\" 2.\" Copyright (c) 2003 Networks Associates Technology, Inc. 3.\" All rights reserved. 4.\" 5.\" This software was developed for the FreeBSD Project by Marshall 6.\" Kirk McKusick and Network Associates Laboratories, the Security 7.\" Research Division of Network Associates, Inc. under DARPA/SPAWAR 8.\" contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS --- 18 unchanged lines hidden (view full) --- 27.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" | 1.\" 2.\" Copyright (c) 2003 Networks Associates Technology, Inc. 3.\" All rights reserved. 4.\" 5.\" This software was developed for the FreeBSD Project by Marshall 6.\" Kirk McKusick and Network Associates Laboratories, the Security 7.\" Research Division of Network Associates, Inc. under DARPA/SPAWAR 8.\" contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS --- 18 unchanged lines hidden (view full) --- 27.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" |
35.\" $FreeBSD: head/sbin/mksnap_ffs/mksnap_ffs.8 180822 2008-07-26 13:18:33Z kib $ | 35.\" $FreeBSD: head/sbin/mksnap_ffs/mksnap_ffs.8 193051 2009-05-29 19:18:41Z pjd $ |
36.\" | 36.\" |
37.Dd January 19, 2003 | 37.Dd May 29, 2009 |
38.Dt MKSNAP_FFS 8 39.Os 40.Sh NAME 41.Nm mksnap_ffs 42.Nd take a file system snapshot 43.Sh SYNOPSIS 44.Nm | 38.Dt MKSNAP_FFS 8 39.Os 40.Sh NAME 41.Nm mksnap_ffs 42.Nd take a file system snapshot 43.Sh SYNOPSIS 44.Nm |
45.Ar mountpoint | |
46.Ar snapshot_name 47.Sh DESCRIPTION 48The 49.Nm 50utility creates a snapshot named | 45.Ar snapshot_name 46.Sh DESCRIPTION 47The 48.Nm 49utility creates a snapshot named |
51.Ar snapshot_name 52on the file system mounted at 53.Ar mountpoint . 54The 55.Ar snapshot_name 56argument must be contained within the file system mounted at 57.Ar mountpoint . | 50.Ar snapshot_name . |
58.Pp 59The group ownership of the file is set to 60.Dq Li operator ; 61the owner of the file remains 62.Dq Li root . 63The mode of the snapshot is set to be readable by the owner 64or members of the 65.Dq Li operator 66group. | 51.Pp 52The group ownership of the file is set to 53.Dq Li operator ; 54the owner of the file remains 55.Dq Li root . 56The mode of the snapshot is set to be readable by the owner 57or members of the 58.Dq Li operator 59group. |
60.Sh EXAMPLES 61Create a snapshot of 62.Pa /usr/home 63file system and mount the snapshot elsewhere: 64.Bd -literal -offset indent 65mksnap_ffs /usr/home/snapshot 66mdconfig -a -t vnode -o readonly -f /usr/home/snapshot 67mount -o ro /dev/md0 /mnt/ 68.Ed |
|
67.Sh SEE ALSO 68.Xr chmod 2 , 69.Xr chown 8 , | 69.Sh SEE ALSO 70.Xr chmod 2 , 71.Xr chown 8 , |
72.Xr mdconfig 8, |
|
70.Xr mount 8 71.Sh CAVEATS 72The disk full situation is not handled gracefully and may 73lead to a system panic when no free blocks are found. 74.Sh HISTORY 75The 76.Nm 77utility first appeared in 78.Fx 5.0 . | 73.Xr mount 8 74.Sh CAVEATS 75The disk full situation is not handled gracefully and may 76lead to a system panic when no free blocks are found. 77.Sh HISTORY 78The 79.Nm 80utility first appeared in 81.Fx 5.0 . |