Sponsored Content
Full Discussion: doh! please help.
Top Forums UNIX for Dummies Questions & Answers doh! please help. Post 20958 by boris888 on Wednesday 8th of May 2002 10:18:43 AM
Old 05-08-2002
Quote:
Originally posted by thehoghunter
Halt the system - boot -s cdrom (bootable Solaris cd )
You will be logged in as root. Mount your /usr device onto /a and
your /export/home device onto /mnt.
Example - your slice may be different:
# mount /dev/dsk/c0t0d0s3 /a
# mount /dev/dsk/c0t0d0s6 /mnt

Move the directory from /mnt to /a.
Unmount both /mnt and /a
fsck both partitions
halt the system
boot -s
Check to see if things are working now
Post back
I was thinking the same thing. perhapse you could boot from a floppy and use a primitive
kernel as a restoration method. if you can use this to move your files back, you should be
fine.
boris888
 

We Also Found This Discussion For You

1. Shell Programming and Scripting

modify ls -l (long listing format output) strictly using SED only straightforward goalhard 4 me doh

Below is a sample out of ls -l which I would like to rearrange or modify by field numbers for example I successfully managed to disect using simple paragraph however for ls -l I can't divide the rows or fields by field number. Successful modification by fields using SED sample: $ sed -e... (1 Reply)
Discussion started by: wolf@=NK
1 Replies
fitset(8)						      System Manager's Manual							 fitset(8)

Name
       fitset - determine if subset fits on a system

Syntax
       fitset [ -d ] [ root-path ]

Description
       The utility is used to determine if the files in a software subset will fit on a system.

       Subset inventory records are read from the standard input. For each record, the space required to install the file described in that record
       is deducted from the available free space on the file system to which it would be installed.  Only currently mounted UFS file  systems  are
       used  in  the computations. Space requirements for files already on the disk will be modified to account for the size of the resident copy.
       After all records have been read, the free space computed for all file systems is checked. If the space required to install the files would
       cause any file system to be more than 90% full, returns an exit status of -1.

       The  utility  uses  to size all subsets before attempting to install them.  The root-path argument is the pathname of the top directory for
       the hierarchy into which the files are going to be installed. If no root-path is specified, the directory '/' is assumed.

Options
       -d     Enable debugging. This will make print voluminous status information on standard output. This information is the initial file system
	      statistics,  the	file  system  location	of  the file from each input record and the statistics for the file system after the space
	      required to install the file has been deducted.

Restrictions
       NFS mounts are ignored. If software would be installed to an NFS mounted directory, it is sized against the file system containing the  NFS
       mount point.

       The  program  does  not	detect the use of symbolic links in paths to root-path or any of the mount points. This can cause to size a subset
       incorrectly if root-path is a symbolic link or a symbolic link exists in the path of any of the pathnames used with the	command  to  mount
       local file systems.

Examples
       To determine if a particular subset will fit on the system, redirect the contents of the subset inventory file into For example:
	   fitset < /usr/etc/subsets/ULTUUCP400.inv

       To determine if the same subset will fit in a hierarchy rooted at the command would be:
	   fitset /var/tmp/root < /usr/etc/subsets/ULTUUCP400.inv

Diagnostics
       fitset: root path must be absolute
       A relative pathname was specified for root-path.  This path must be absolute.

       fitset: cannot stat root-path (error message)
       The root-path cannot be accessed. The error message provides more information.

       fitset: root-path is not a directory.
       Either root-path is not a directory or it is a symbolic link to something which is not a directory.

Files
       Subset inventory files

See Also
       stl_inv(5), setld(8)
       Guide to Preparing Software for Distribution on ULTRIX Systems

																	 fitset(8)
All times are GMT -4. The time now is 07:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy