History log of /freebsd-10.0-release/sbin/mksnap_ffs/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


218700 15-Feb-2011 keramida

Note that a UFS filesystem can have up to 20 active snapshots.

PR: docs/151104
Submitted by: Aldis Berjoza <aldis@bsdroot.lv>
MFC after: 3 days


213668 10-Oct-2010 jh

- Print the nmount(2) provided error message only when it is set.
- Ensure that the error message is NUL-terminated before printing it.

PR: bin/147482
MFC after: 2 weeks


208027 13-May-2010 uqs

mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the
bottom of the manpages and order them consistently.

GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.

Found by: mdocml lint run
Reviewed by: ru


198236 19-Oct-2009 ru

Switch the default WARNS level for sbin/ to 6.

Submitted by: Ulrich Spörlein


197275 17-Sep-2009 brueffer

Fix an xref.

PR: 138833
Submitted by: Alex Keda <admin@lissyara.su>
MFC after: 3 days


193333 02-Jun-2009 pjd

Initialize iov and iovlen before use.

Reported by: Lucius Windschuh <lwindschuh@googlemail.com>


193051 29-May-2009 pjd

- Move from mount(2) to nmount(2). This should allow to convert MNT_SNAPSHOT
flag from a mount flag to FS-specific flag.
- Simplify usage. Instead of 'mksnap_ffs /mnt/foo /mnt/foo/snap' allow to
give only one argument: 'mksnap_ffs /mnt/foo/snap'. Old usage is also
accepted for now.
- Add an example of how to mount a snapshot.


180822 26-Jul-2008 kib

Note that snapshots may cause a panic on the full UFS filesystem.

Submitted by: pho
MFC after: 3 days


138559 08-Dec-2004 phk

Make sure we don't pass garbage to the kernel.

The filesystem is named "ufs" not "ffs".


125107 27-Jan-2004 des

Style nit in previous commit.


125103 27-Jan-2004 mckusick

Preserve acls option on mounts when taking a snapshot.

Submitted by: Wiktor Niesiobedzki <freebsd-lists@w.evip.pl>


122035 04-Nov-2003 mckusick

Check that the user running mksnap_ffs has permission to create and
remove a snapshot file from the directory in which they have requested
to have it made. If they do not have write permission in the directory
or the directory is sticky and not owned by the user, then they
will not be able to remove the snapshot when they are done with it.


121707 29-Oct-2003 trhodes

style(9): sort functions.


121706 29-Oct-2003 trhodes

Properly prototype C function usage().
Sync usage() with the manual page: s/file/snapshot_name/g.


119845 07-Sep-2003 charnier

Replace a reference to non existant mount_ffs(8) by a reference to mount(8).


115288 24-May-2003 ru

mdoc(7) fixes.

Approved by: re (blanket)


111725 02-Mar-2003 mckusick

Close out a possible race where anybody in group operator could
chown an arbitrary file to operator.

Reported by: Ian Dowse <iedowse@maths.tcd.ie>
Sponsored by: DARPA & NAI Labs.


111716 02-Mar-2003 mckusick

Add the mksnap_ffs command to the sbin directory. This setuid root
program allows users in the operator group to take filesystem
snapshots. Its first use will be in support of `dump -L'.

Approved by: Technical Review Board <trb@FreeBSD.org>
Sponsored by: DARPA & NAI Labs.