SUMMARY:ufsrestore file timestamp question

From: Terry Snyder (tss@breacad.beckman.com)
Date: Thu Mar 12 1998 - 15:42:14 CST


Thanks for all your responses.

Ian MacPhedran was good enough to send me a location that
had a program to do EXACLTY what I needed. This program takes
the dump tape and outputs all data needed to determine if you
have not only the right file, but the right time stamp on the
file.

KUDOS IAN!!!!!

You can get lldump from.....

ftp://ftp.cs.mcgill.ca/pub/unix/lldump/lldump-1.1.tar.Z

The command I use in my script is:

dd if=/dev/nrst12 ibs=126b | /backup/lldump > $out

using the lldump compiled code to output something that looks PERFECT!!:

# Level 0 dump of sys6:/dev/sd0a (an unlisted file system).
# Dump tape started at Mon Mar 9 07:16:40 1998
# Dumped from Wed Dec 31 16:00:00 1969
# Volume 1.
#
# Format: inode links mode owner group size mtime [atime ctime] file-name.
# or
# inode links mode owner group major# minor# mtime [atime ctime] file-name.
#
   57019 4 drwxr-xr-x 0 0 512 Tue Dec 30 11:07:02 1997 ./var/sadm/pkg/SUNWdthed
   57020 2 drwxr-xr-x 0 0 512 Tue Dec 30 11:09:05 1997 ./var/sadm/pkg/SUNWdtim/save
       2 68 drwxr-xr-x 0 0 1536 Wed Feb 25 08:15:36 1998 .
   57021 1 -rw-r--r-- 0 0 535 Tue Dec 30 11:06:56 1997 ./var/sadm/pkg/SUNWdthed/pkginfo
       3 2 drwx------ 0 0 8192 Tue Dec 30 10:48:39 1997 ./lost+found
   57022 2 drwxr-xr-x 0 0 512 Tue Dec 30 11:09:34 1997 ./var/sadm/pkg/SUNWdtrme/install
       4 2 drwxr-xr-x 0 0 512 Tue Dec 30 10:50:42 1997 ./var/sadm/pkg/SUNWuxlcf/install
   57023 1 -rw-r--r-- 0 0 59 Thu Jun 26 18:39:45 1997 ./var/sadm/pkg/SUNWdtrme/install/copyright

........Thanks to all who took the time to respond.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:33 CDT