Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > uk.comp.sys.mac > #119646

Re: df

From richard@cogsci.ed.ac.uk (Richard Tobin)
Newsgroups uk.comp.sys.mac
Subject Re: df
Date 2017-09-29 23:48 +0000
Organization Language Technology Group, University of Edinburgh
Message-ID <oqmm48$1uu3$1@macpro.inf.ed.ac.uk> (permalink)
References <oqgene$1kfs$1@macpro.inf.ed.ac.uk> <oqj5c9$1hj$1@macpro.inf.ed.ac.uk> <nn6tsc9fuql7la13h27kvtvgfejhh40395@4ax.com> <flctsc9j2gncp66d5bft3i9opo25fttd7u@4ax.com>

Show all headers | View raw


In article <flctsc9j2gncp66d5bft3i9opo25fttd7u@4ax.com>,
Jaimie Vandenbergh  <jaimie@sometimes.sessile.org> wrote:

>>>Is there a way to ask what snapshots exist?

>>Not one that I've found. 

>Found one!
>
>tmutil listlocalsnapshots /
>tmutil snapshot
>tmutil deletesnapshot {datestring}
>
>and various other tmutil verbs.

I'm confused now.  Are these snapshots in the APFS sense?  Time
Machine already called local backups snapshots and had "tumtil
snapshot".  I was expecting there to be a generic APFS snapshot
listing program, unrelated to Time Machine.

Is it that Time Machine local snapshots are either APFS snapshots or
conventional backups, depending on whether the filesystem is APFS?

I notice that the snapshot names only contain the date, not an
indication of the backup disk they correspond to.  Presumably TM looks
for one matching the time of the last backup present on the backup
disk.

I see there are several programs in

  /System/Library/Filesystems/apfs.fs/Contents/Resources/

and the apfs.util program there has this option:

  -R SNAPSHOT : set the volume to revert to the snapshot named by SNAPSHOT on next mount.

Diskutil has an "ap" verb for various APFS functions, but not listing
snapshots.  But there is a function called fs_snapshot_list in

  /System/Library/PrivateFrameworks/DiskManagement.framework/Versions/A/DiskManagement

-- Richard

Back to uk.comp.sys.mac | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

df richard@cogsci.ed.ac.uk (Richard Tobin) - 2017-09-27 15:05 +0000
  Re: df dempson@actrix.gen.nz (David Empson) - 2017-09-28 13:59 +1300
    Re: df nmassello@yahoo.com (Neill Massello) - 2017-09-28 04:29 -0600
      Re: df dempson@actrix.gen.nz (David Empson) - 2017-09-29 00:40 +1300
    Re: df richard@cogsci.ed.ac.uk (Richard Tobin) - 2017-09-28 10:39 +0000
      Re: df dempson@actrix.gen.nz (David Empson) - 2017-09-29 00:40 +1300
        Re: df richard@cogsci.ed.ac.uk (Richard Tobin) - 2017-09-28 15:44 +0000
          Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-09-29 20:13 +0100
            Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-09-29 21:54 +0100
              Re: df richard@cogsci.ed.ac.uk (Richard Tobin) - 2017-09-29 23:48 +0000
                Re: df dempson@actrix.gen.nz (David Empson) - 2017-09-30 15:23 +1300
                Re: df Theo <theom+news@chiark.greenend.org.uk> - 2017-10-02 21:01 +0100
                Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-10-02 21:24 +0100
                Re: df dempson@actrix.gen.nz (David Empson) - 2017-10-03 12:07 +1300
                Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-09-30 09:54 +0100
                Re: df Paul Sture <nospam@sture.ch> - 2017-09-30 22:33 +0200
                Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-09-30 22:12 +0100
            Re: df Paul Sture <nospam@sture.ch> - 2017-09-30 22:24 +0200
              Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-09-30 22:14 +0100
    Re: df me32@privacy.net (R) - 2017-09-30 11:32 +0100

csiph-web