Carl, How about sudo /opt/drbl/sbin/ocs-sr -or/home/holla/cz/images/ -g auto -e1 auto -c -j3 -p true -p true restoredisk "Atom-2009-02-12-04-img" "sdc"
Does it work ? Steven. Carl Karsten wrote: > I currently do: > > sudo ln -s /home/holla/cz/images/ partimag > sudo /opt/drbl/sbin/ocs-sr -g auto -e1 auto -c -j3 -p true -p > true restoredisk "Atom-2009-02-12-04-img" "sdc" > > I am trying to figure out how to use ocs-sr such that I just give it the path > to > an image, > > like /home/holla/cz/images/Atom-2009-02-12-04-img > > I did fine this: > > -or, --ocsroot DIR Specify DIR (absolute path) as directory ocsroot > (i.e. overwrite the ocsroot assigned in drbl.conf) > > -or|--ocsroot) > # overwrite the ocsroot in drbl.conf > shift; n_shift=$((n_shift+1)); > if [ -z "$(echo $1 |grep ^-.)" ]; then > # skip the -xx option, in case > ocsroot="$1" > shift; n_shift=$((n_shift+1)) > fi > [ -z "$ocsroot" ] && USAGE && exit 1 > ;; > > and got lost trying to follow it to the mount command. > > Carl K > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Clonezilla-live mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/clonezilla-live > -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Clonezilla-live mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clonezilla-live
