Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2018 11:42:20 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
To:        George Mitchell <george+freebsd@m5p.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Indexing a dump file
Message-ID:  <201805271842.w4RIgKDg056443@pdx.rh.CN85.dnsmgr.net>
In-Reply-To: <182832e1-4968-4a83-02a3-84cfa9def675@m5p.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> I'm drowning in old dump files and I would like to index them.
> "restore -t" gives me a list of all the files in a dump, but I would
> like to get the date of last modification and the size of each as well.
> Is there something short of just doing a "restore" and "ls -lR" that
> would get me the information?                              -- George
> 
> P.S. A hash of each file would be icing on the cake, but I don't
> expect I could do that without doing a full restore.

A hacking of restore(8) sources would not be difficult to add
some of this.  Though you are gong to need to build the symtab
as if you was doing a restore, you would not need to write the
data to disk.


-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805271842.w4RIgKDg056443>