Sponsored Content
Top Forums Shell Programming and Scripting Automating partitioning setup of /dev/sda on /dev/sdc Post 302944755 by Corona688 on Thursday 21st of May 2015 03:05:44 PM
Old 05-21-2015
Please don't bump posts.

It would take a great deal of trial and error to get what you want. I'm not sure sgdisk -p is printing all the info you really need, and there's often more to it than just plugging in the right numbers.

I take it your goal is to reorganize partitions into some known-good configuration? have you considered dd?

What exactly is your "crashed disk recovery project"?
 

9 More Discussions You Might Find Interesting

1. Solaris

URGENT - setup port and dump all output to /dev/null or a file

Please help urgently. I need to setup up some sort of service on a solaris server on a port. I dont need it do anything special, anything that is sent to this port from an external server should be dump to /dev/null or a flat file.. Can you help urgently? (1 Reply)
Discussion started by: frustrated1
1 Replies

2. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

3. UNIX for Dummies Questions & Answers

Sending alt-n to /dev/pts/1 from process bound to /dev/pts/2

Hello, i am using finch (unix commandline instant messaging client using libgnt) which is running connected to /dev/pts/1 Now I would like to "remote control" the program by sending the key combinations normally typed on the keyboard from a programm in another shell. So I tried:... (0 Replies)
Discussion started by: mentos
0 Replies

4. Slackware

CUPS setup / dev/lp0 perms. ... Slow printing.

Hello, Ive got an HP LaserJet 2100 / parallel interface. I had some troubles getting going due to non-working cups drivers. Updated cups and also used a .ppd.gz file from something HP provided. found the files here... www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_2100 Anyways.... (1 Reply)
Discussion started by: agentrnge
1 Replies

5. Solaris

Lun remove, stuck in /dev/dsk and /dev/rdsk

So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following: devfsadm -Cv powermt -q luxadm -e offline <drive path> luxadm probe All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies

6. AIX

Difference between /dev/hdisk and /dev/rhdisk

Hi, How can i check that i am using RAW devices for storage in my AIX machine... Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number eg: dcback1(root):/dev>ls -lrt | grep disk12 crw------- 1 root ... (4 Replies)
Discussion started by: jibujacob
4 Replies

7. AIX

Problem in /dev/hd1 and /dev/hd9var

Hello AIXians, I can't boot my AIX, it hangs and stops at the code error: 0518 After searching google, I knew the problem is due to problems in File Systems. So the solution is booting from any bootable media, then run these commands in maintenance mode: #fsck -y /dev/hd4 #fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies

8. Red Hat

Changing grub from /dev/sda to /dev/sdb

Hi, Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies

9. HP-UX

Dev/urandom and dev/random missing in HP-UX

Hi, In our HP-UX B.11.11. I could not find dev/urandom and dev/random Are all pseudo-devices implemented as device drivers, or in need to run /configure some package to install the package to have dev/urandom. Please help (4 Replies)
Discussion started by: rashi
4 Replies
PERL-REVERSION(1p)					User Contributed Perl Documentation					PERL-REVERSION(1p)

NAME
perl-reversion - Manipulate project version numbers SYNOPSIS
perl-reversion [options] [file ...] Options: -help see this summary -man view man page for perl-reversion -bump make the smallest possible increment -bump-revision increment the specified version component -bump-version -bump-subversion -bump-alpha -set <version> set the project version number -current <version> specify the current version -normal print current version in a specific format OR -numify force versions to be a specific format, -stringify with -set or -bump -dryrun just go through the motions, but don't actually save files DESCRIPTION
A typical distribution of a Perl module has embedded version numbers is a number of places. Typically the version will be mentioned in the README file and in each module's source. For a module the version may appear twice: once in the code and once in the pod. This script makes it possible to update all of these version numbers with a simple command. To update the version numbers of specific files name them on the command line. Any directories will be recursively expanded. If used with no filename arguments perl-reversion will attempt to update README and any files below lib/ in the current project. OPTIONS
"-bump" Attempt to make the smallest possible increment to the version. The least significant part of the version string is incremented. 1 => 2 1.1 => 1.2 1.1.1 => 1.1.2 1.1.1_1 => 1.1.1_2 "-bump-revision" "-bump-version" "-bump-subversion" "-bump-alpha" Increment the specified version component. Like the "inc_*" methods of Perl::Version, incrementing a component sets all components to the right of it to zero. "-set <version>" Set the version to the specified value. Unless the "-normal" option is also specified the format of each individual version string will be preserved. "-current <version>" Specify the current version. Only matching version strings will be updated. "-normal" "-numify" "-stringify" Use a specific formatting, as in "Formatting" in Perl::Version. Alone, these options control how the current (found) version is displayed. With "-bump" or "-set", also update version strings to have the given formatting, regardless of the version format passed to "-set" or the current version (for "-bump"). If none of these options are specified, perl-reversion will preserve the formatting of each individual version string (the same as "-stringify"). "-dryrun" If set, perl-reversion will not save files. Use this to see what gets changed before it actually happens. AUTHOR
Andy Armstrong "<andy@hexten.net>" LICENCE AND COPYRIGHT
Copyright (c) 2007, Andy Armstrong "<andy@hexten.net>". All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. perl v5.10.1 2009-05-29 PERL-REVERSION(1p)
All times are GMT -4. The time now is 12:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy