History log of /freebsd-10.0-release/usr.sbin/snapinfo/
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


241015 27-Sep-2012 mdf

Fix usr.bin/ and usr.sbin/ build with a 64-bit ino_t.

Original code by: Gleb Kurtsou


227260 06-Nov-2011 ed

Mark global functions and/or variables in snapinfo(8) static where possible.

This allows compilers and static analyzers to do more thorough analysis.


208291 19-May-2010 uqs

mdoc: consistently spell our email addresses <foo@FreeBSD.org>

Reviewed by: ru


201388 02-Jan-2010 ed

Mark ftwv as __unused. This compare function does not need it.


167633 16-Mar-2007 pjd

Imagine a situation where:

# ls -ld /mnt/{foo,bar}
drwxr-xr-x 3 root wheel 512 Mar 16 06:56 /mnt/bar
lrwxr-xr-x 1 root wheel 3 Mar 16 12:10 /mnt/foo -> bar

# grep /mnt/foo /etc/fstab
/dev/da1 /mnt/foo ufs rw 0 0

Which means, we give symbolic link as a mount point to mount(8), but mount(8)
use realpath(3) before mounting the file systems, so we get:

# mount | grep /dev/da1
/dev/da1 on /mnt/bar (ufs, local)

Before the commit:

# snapinfo /mnt/foo
usage: snapinfo [-v] -a
snapinfo [-v] mountpoint
# snapinfo /mnt/bar
/mnt/bar/snap

This commit makes snapinfo(8) to first realpath(3) the given mount point and
now we have:

# snapinfo /mnt/foo
/mnt/bar/snap
# snapinfo /mnt/bar
/mnt/bar/snap


167626 16-Mar-2007 pjd

Pass special device to the ufs_disk_fillout() function, instead of mount
point path. This way we properly handle the case when file system listed
in /etc/fstab was unmounted and another file system was mounted on the
same mount point.


157036 23-Mar-2006 hrs

Fix version number when the feature was added.

Spotted by: ceri
MFC after: 1 day


148197 20-Jul-2005 marks

snapinfo -- show snapshot location on UFS file systems

Glanced over by: kan
Review by: ru (snapshot.8)
MFC: TBD