Ufsrestore expects input in solaris 2.3

Ufsrestore expects input in solaris 2.3

Post by guthrie,i » Fri, 24 Mar 1995 06:39:47



In solaris 1.1, the command:

        ufsdump 0f - /dev/rdsk/c0t0d0s0 | (cd /broot;ufsrestore xf - )

executes without requesting any input. However, in solaris 2.3,
after the "DUMP: DUMP IS DONE" message, the following question
is asked:

        set owner/mode for '.'? [yn]

When I type 'y', another question is asked:

        Directories already exist, set modes anyway? [yn]

Is there a way to do the dump/restore without been prompted
for input as in solaris 1.1?

Thanks in advance for any help.

Ian
--

 
 
 

Ufsrestore expects input in solaris 2.3

Post by Casper H.S. D » Sat, 25 Mar 1995 02:02:56



>In solaris 1.1, the command:
>    ufsdump 0f - /dev/rdsk/c0t0d0s0 | (cd /broot;ufsrestore xf - )
>executes without requesting any input. However, in solaris 2.3,
>after the "DUMP: DUMP IS DONE" message, the following question
>is asked:
>    set owner/mode for '.'? [yn]

I remember it doing so under Solaris 1.x^H^H^H^H^H^H^H^H^HSunOS 4.1.x
as well.  Try using restore rf -.

Casper

 
 
 

Ufsrestore expects input in solaris 2.3

Post by Erik Trimb » Fri, 24 Mar 1995 09:08:41


|> In solaris 1.1, the command:
|>
|>   ufsdump 0f - /dev/rdsk/c0t0d0s0 | (cd /broot;ufsrestore xf - )
|>
|> executes without requesting any input. However, in solaris 2.3,
|> after the "DUMP: DUMP IS DONE" message, the following question
|> is asked:
|>
|>   set owner/mode for '.'? [yn]
|>
|> When I type 'y', another question is asked:
|>
|>   Directories already exist, set modes anyway? [yn]
|>
|> Is there a way to do the dump/restore without been prompted
|> for input as in solaris 1.1?
|>
|> Thanks in advance for any help.
|>
|> Ian
|> --

Try substituting an "r" for the "x" - it does a complete restore without
requiring input.

The only thing is, it seems to leave a file called "restoredsymtable" at
the top level of the restored filesystem. Anyone know why?

Removing it does no harm and all permissions/links, etc are set properly.

-Erik

--
#include <disclaimer.h>
 _______________________________________________________________________
|                       |Overheard:                                     |
| Erik Trimble          | P1:  "I'm hungry. Let's go eat."            |
| SysAdmin and          | P2:  "How 'bout Mary Chungs?"                       |
|   General Magician    | P1:  "Isn't that a nerds' hangout?"         |
| Houghton Mifflin Co.  | P2:  "Exactly."                             |

|_______________________|_______________________________________________|

 
 
 

1. need input on kernel jumbo patch for Solaris 2.3 (101318-70)

Is the latest version of the kernel jumbo patch (101318-70) stable?
What are people's experiences with it?  We only need the lockd fix
mentioned in BugID 117609, but no patch is available for just that.
Since this is our mail host we would like to be sure it's fairly stable
before we install it.

I will summarize any email replies to this group if desired.

Thanks in advance.

Jeff Smith
Purdue University Computing Center                      phone: 317-494-1787
222 Math-Science West Lafayette IN 47907-1408           fax: 317-494-0566

2. Can't install further software on slackware 2.1.0 - help!

3. HELP: Solaris 2.3 <---> Solaris 2.3 PPP link problems

4. Can't Chmod under /proc

5. HELP: Solaris 2.3 <---> Solaris 2.3 PPP link Problems

6. XF86 Config settings for GTI WinBoost card (MACH64)

7. Help with Pageview under 2.3 (Re: Display Postscript X Solaris 2.3)

8. firewall properties in traceroute

9. 2.3 keyboard input BUGGY

10. SLIP for Solaris 2.3: slip-solaris-3

11. Solaris 2.4 vs. Solaris 2.3

12. Solaris 2.3, Sparc 5 to Solaris 2.5, Ultra 170E upgrade

13. Solaris 2.3 prog exiting on kvm_open call on solaris 2.5