Unix Technical Forum

Re: dump/restore timestamp problems, -current

This is a discussion on Re: dump/restore timestamp problems, -current within the mailing.openbsd.tech forums, part of the OpenBSD category; --> On Sun, 10 Jun 2007, Stuart Henderson wrote: > I just tried "dump -0uf -|restore rf -" on -current ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:26 AM
Otto Moerbeek
 
Posts: n/a
Default Re: dump/restore timestamp problems, -current

On Sun, 10 Jun 2007, Stuart Henderson wrote:

> I just tried "dump -0uf -|restore rf -" on -current (Jun 9, #270),
> plain FFS1, and noticed that file creation times of the restored files
> were all set to the epoch.


I can reproduce that...

> If I restore a dump created by older dump using a newer restore,
> I'm seeing the file creation time restored as the current time


But that not. A new restore reading an old dump restores my timestamps
ok. Both for dirs and files.

>
> If I restore a dump created by newer dump using an older restore,
> I'm seeing the file creation time restored as the epoch


Have to try that one.

-Otto

>
>
> OpenBSD 4.1-current (GENERIC) #270: Sat Jun 9 16:06:33 MDT 2007
> deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: AMD Opteron(tm) Processor 148 ("AuthenticAMD" 686-class, 1024KB L2 cache) 2.22 GHz
> cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE 3
> cpu0: AMD erratum 89 present, BIOS upgrade may be required
> real mem = 1072103424 (1022MB)
> avail mem = 1025265664 (977MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 03/19/07, BIOS32 rev. 0 @ 0xfa780, SMBIOS rev. 2.3 @ 0xf0000 (41 entries)
> bios0: Sun Microsystems Sun Fire(TM) X2100
> apm0 at bios0: Power Management spec V1.2
> apm0: AC on, battery charge unknown
> apm0: flags 70102 dobusy 1 doidle 1
> pcibios0 at bios0: rev 3.0 @ 0xf0000/0xcc54
> pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfcb30/288 (16 entries)
> pcibios0: bad IRQ table checksum
> pcibios0: PCI BIOS has 16 Interrupt Routing table entries
> pcibios0: PCI Exclusive IRQs: 3 5 7 10 11
> pcibios0: no compatible PCI ICU found
> pcibios0: Warning, unable to fix up PCI interrupt routing
> pcibios0: PCI bus #5 is the last bus
> bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000! 0xcc000/0x1600 0xce000/0x1800
> ipmi0 at mainbus0: reserve send fails
> cpu0 at mainbus0
> cpu0: Cool'n'Quiet K8 2212 MHz: speeds: 2200 2000 1800 1000 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> "NVIDIA nForce4 DDR" rev 0xa3 at pci0 dev 0 function 0 not configured
> pcib0 at pci0 dev 1 function 0 "NVIDIA nForce4 ISA" rev 0xa3
> nviic0 at pci0 dev 1 function 1 "NVIDIA nForce4 SMBus" rev 0xa2
> iic0 at nviic0
> adt0 at iic0 addr 0x2e: sch5017 rev 0x89
> iic1 at nviic0
> adt1 at iic1 addr 0x2e: sch5017 rev 0x89
> ohci0 at pci0 dev 2 function 0 "NVIDIA nForce4 USB" rev 0xa2: irq 10, version 1.0, legacy support
> ehci0 at pci0 dev 2 function 1 "NVIDIA nForce4 USB" rev 0xa3: irq 11
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
> pciide0 at pci0 dev 6 function 0 "NVIDIA nForce4 IDE" rev 0xf2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
> pciide0: channel 0 disabled (no drives)
> pciide0: channel 1 disabled (no drives)
> pciide1 at pci0 dev 7 function 0 "NVIDIA nForce4 SATA" rev 0xf3: DMA
> pciide1: using irq 11 for native-PCI interrupt
> wd0 at pciide1 channel 0 drive 0: <ST3320620AS>
> wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
> wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
> wd1 at pciide1 channel 1 drive 0: <ST3320620AS>
> wd1: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
> wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
> pciide2 at pci0 dev 8 function 0 "NVIDIA nForce4 SATA" rev 0xf3: DMA
> pciide2: using irq 10 for native-PCI interrupt
> ppb0 at pci0 dev 9 function 0 "NVIDIA nForce4 PCI-PCI" rev 0xa2
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 5 function 0 "ATI Rage XL" rev 0x27
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> nfe0 at pci0 dev 10 function 0 "NVIDIA CK804 LAN" rev 0xa3: irq 3, address 00:e0:81:5e:98:b2
> eephy0 at nfe0 phy 1: Marvell 88E1111 Gigabit PHY, rev. 2
> ppb1 at pci0 dev 11 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 12 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
> pci3 at ppb2 bus 3
> ppb3 at pci0 dev 13 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
> pci4 at ppb3 bus 4
> bge0 at pci4 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1 (0x4101): irq 5, address 00:e0:81:5e:98:b3
> brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
> ppb4 at pci0 dev 14 function 0 "NVIDIA nForce4 PCIE" rev 0xa3
> pci5 at ppb4 bus 5
> pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
> pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
> pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
> pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> pccom0: console
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
> biomask ffc5 netmask ffed ttymask ffef
> pctr: user-level cycle counter enabled
> mtrr: Pentium Pro MTRR support
> softraid0 at root
> scsibus0 at softraid0: 1 targets
> sd0 at scsibus0 targ 0 lun 0: <OPENBSD, SR RAID 1, 001> SCSI2 0/direct fixed
> sd0: 300967MB, 38367 cyl, 255 head, 63 sec, 512 bytes/sec, 616381873 sec total
> dkcsum: wd0 matches BIOS drive 0x80
> dkcsum: wd1 matches BIOS drive 0x81
> root on wd0a swap on wd0b dump on wd0b


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:55 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com