FreeBSD Bugzilla – Attachment 23814 Details for
Bug 40862
[PATCH] corrections for snapshot section
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.78 KB, created by
Martin Heinen
on 2002-07-21 23:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Martin Heinen
Created:
2002-07-21 23:40:01 UTC
Size:
2.78 KB
patch
obsolete
>Index: chapter.sgml >=================================================================== >RCS file: /u/cvs/doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml,v >retrieving revision 1.90 >diff -u -r1.90 chapter.sgml >--- chapter.sgml 15 Jul 2002 20:37:51 -0000 1.90 >+++ chapter.sgml 21 Jul 2002 21:54:32 -0000 >@@ -437,12 +437,11 @@ > <secondary>Snapshots</secondary> > </indexterm> > >- <para>FreeBSD 5.0 offers a new feature in conjunction with the >- <option>softupdates</option> option. File system snapshots.</para> >+ <para>FreeBSD 5.0 offers a new feature in conjunction with >+ <link linkend="soft-updates">Soft Updates</link>: File system snapshots.</para> > > <para>Snapshots allow a user to create an image of specified file >- systems and treat this image as a file. The -u (or update) flag >- in &man.mount.8; is required with this option. >+ systems and treat this image as a file. > Snapshot files must be created in the file system that the > action is performed on, and a user may create no more than 20 > snapshots per file system. Active snapshots are recorded >@@ -453,12 +452,19 @@ > however all the used space may not be acquired as another snapshot will > possibly claim some of the blocks that were released.</para> > >- <para>During initial creation, the schg flag (see &man.chflags.1; manual page) >- is set on to ensure that not even root can write to the snapshot. >+ <para>During initial creation, the <option>schg</option> flag (see &man.chflags.1; manual page) >+ is set on to ensure that not even <username>root</username> can write to the snapshot. > The &man.unlink.1; command makes an exception for snapshot files, > however, in which it allows them to be removed even >- though they have the schg flag set, so it is not necessary to >- clear the schg flag before removing a snapshot file.</para> >+ though they have the <option>schg</option> flag set, so it is not necessary to >+ clear the <option>schg</option> flag before removing a snapshot file.</para> >+ >+ <para>Snapshots are created with the &man.mount.8; command. To place >+ a snapshot of <filename>/var</filename> in the file >+ <filename>/var/snapshot/snap</filename> use the following >+ command:</para> >+ >+<screen>&prompt.root; <userinput>mount -u -o snapshot /var/snapshot/snap /var</userinput></screen> > > <para>Once a snapshot has been created, there are several interesting > things that an administrator can do with them:</para> >@@ -483,7 +489,7 @@ > file system as the timestamp of the snapshot.</para> > > <warning><para>As of this writing &man.dump.8; has not yet >- been changed to set the dumpdates file correctly, so >+ been changed to set the <filename>dumpdates</filename> file correctly, so > do not use this feature in production until that fix > is made.</para></warning> > </listitem>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40862
: 23814