source: client/nfsexport/bin/testing/partclone.create @ 71825d1

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 71825d1 was 71825d1, checked in by adv <adv@…>, 15 years ago

bin/testing: envoltorio temporal para partclone.xxx en partclone.create

git-svn-id: https://opengnsys.es/svn/trunk@772 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 372 bytes
Line 
1#!/bin/bash
2OGAPI=/opt/opengnsys/lib/engine/bin/
3source $OGAPI/System.lib
4source $OGAPI/Disk.lib
5source $OGAPI/FileSystem.lib
6
7while getopts "c:F:s:" flags
8do
9   case "$flags" in
10   s)
11        PART=`echo $OPTARG`
12        FS=$(ogGetFsType `ogDevToDisk $PART` | tr [:upper:] [:lower:])
13        PARAM1="partclone.$FS --clone --force --source $PART"
14        echo $PARAM1   
15   ;;
16   esac
17done   
18
19
20
Note: See TracBrowser for help on using the repository browser.