Re: [Cooker] ISO images

2003-03-24 Thread John Allen
On Friday 21 March 2003 23:27, Francisco Alcaraz Ariza wrote:
 If not the iso images, why not repair the buggy cooker that avoid the
 creation of runing isos?


I don't know what problems people have been having making .iso's but I have 
been making DVD sized .iso's for absolutely ages; made on last Friday, works 
perfect.

-- 
John Allen,  Email:  mailto:[EMAIL PROTECTED]
MandrakeClub Silver Member.




Re: [Cooker] ISO Images [was: Re: When??]

2003-03-22 Thread Duncan
On Sat 22 Mar 2003 03:19, Thomas Backlund posted as excerpted below:
 Now this is way off ...

 IIRC Warly (or another MDK employee) posted a message after 9.0 release how
 the official ISOs gets delivered ...

 They don't get posted on the mirrors after a automated iso build,
 instead they get built under strict control by Warly, then they get
 distributed among the MDK employees that test the final ISOs,
 and if they are all happy, the ISOs will be posted on the MDK master
 server where the primary mirrors can pick them up, and after that
 all other mirrors that rsyncs of the primary mirrors...

Cool.  I guess they are testing them now, then?  Maybe something came up and 
they are NOT all happy with them?

Thanks for the info!  All I had was speculation, b4.

-- 
Duncan
They that can give up essential liberty to obtain a little
temporary safety, deserve neither liberty nor safety. --
Benjamin Franklin




Re: [Cooker] ISO Images [was: Re: When??]

2003-03-22 Thread Sir Pingus
 On Sat 22 Mar 2003 03:19, Thomas Backlund posted as excerpted below:
  Now this is way off ...
 
  IIRC Warly (or another MDK employee) posted a message after 9.0 release how
  the official ISOs gets delivered ...
 
  They don't get posted on the mirrors after a automated iso build,
  instead they get built under strict control by Warly, then they get
  distributed among the MDK employees that test the final ISOs,
  and if they are all happy, the ISOs will be posted on the MDK master
  server where the primary mirrors can pick them up, and after that
  all other mirrors that rsyncs of the primary mirrors...
 
 Cool.  I guess they are testing them now, then?  Maybe something came up and 
 they are NOT all happy with them?

you know, in France we do not work on saturday and sunday. So don't believe that any
iso appear on mirror this week end.

bye Pingus ;-)

 
 Thanks for the info!  All I had was speculation, b4.
 
 -- 
 Duncan
 They that can give up essential liberty to obtain a little
 temporary safety, deserve neither liberty nor safety. --
 Benjamin Franklin
 
 
 _
 GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot IF au 61321
 (prix d'un SMS + 0.35 euro). Un SMS vous dira si vous avez gagné.
 Règlement : http://www.ifrance.com/_reloc/sign.sms
_
GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot IF au 61321
(prix d'un SMS + 0.35 euro). Un SMS vous dira si vous avez gagné.
Règlement : http://www.ifrance.com/_reloc/sign.sms




Re: [Cooker] ISO Images [was: Re: When??]

2003-03-22 Thread James Sparenberg
On Sat, 2003-03-22 at 14:39, Sir Pingus wrote:
  On Sat 22 Mar 2003 03:19, Thomas Backlund posted as excerpted below:
   Now this is way off ...
  
   IIRC Warly (or another MDK employee) posted a message after 9.0 release how
   the official ISOs gets delivered ...
  
   They don't get posted on the mirrors after a automated iso build,
   instead they get built under strict control by Warly, then they get
   distributed among the MDK employees that test the final ISOs,
   and if they are all happy, the ISOs will be posted on the MDK master
   server where the primary mirrors can pick them up, and after that
   all other mirrors that rsyncs of the primary mirrors...
  
  Cool.  I guess they are testing them now, then?  Maybe something came up and 
  they are NOT all happy with them?
 
 you know, in France we do not work on saturday and sunday. So don't believe that any
 iso appear on mirror this week end.
 
 bye Pingus ;-)
 
  
  Thanks for the info!  All I had was speculation, b4.
  
  -- 


Personally I'm perfectly happy to wait till Warly says go.  I used to
work for a company that over road the build engineer all the time.. for
that matter this is true of all of us ... we used to work for that
company Therefore... I'll be patient.  

James





Re: [Cooker] ISO images

2003-03-21 Thread Francisco Alcaraz Ariza
If not the iso images, why not repair the buggy cooker that avoid the creation 
of runing isos?


El Sábado, 22 de Marzo de 2003 00:18, Phazeman escribió:
 Can someone from Mandrake please update the users and testers about the
 state of the ISO images ? The people are very excited about it and it's
 not nice to let them wait so much time without knowing whats going on.

 Many thanks in advance.
 Phazeman

-- 
Francisco Alcaraz Ariza
Departamento de Biología Vegetal
Universidad de Murcia
E-30100 Murcia
España (Spain)



Re: [Cooker] ISO images

2003-03-21 Thread Duncan
On Fri 21 Mar 2003 16:18, Phazeman posted as excerpted below:
 Can someone from Mandrake please update the users and testers about the
 state of the ISO images ? The people are very excited about it and it's
 not nice to let them wait so much time without knowing whats going on.

See my post to the When? thread, for what I think may be going on, FWIW from 
my admittedly gallery viewpoint, anyway.

-- 
Duncan
They that can give up essential liberty to obtain a little
temporary safety, deserve neither liberty nor safety. --
Benjamin Franklin




Re: [Cooker] iso images

2001-08-21 Thread Randy Kramer

Borsenkow Andrej wrote:
 It is unpacked in many places and you can install via ftp - but, for
 those having slow connection, how do you imagine ftp install? (Just a
 bit of math, how long do you need to transfer 150MB over 56Kb modem.
 Even if it 56Kb?)

Well, on my 33.6 kb modem, I would expect about 15 hours.  I can do an
iso in about 65 hours, about 10 MB per hour, which is OK (not nice, but
OK), if you can stop and restart the transmission.  (I used to do them
at night, until my ISP started cutting me off after 12 hours of connect
time.)

But, if you are doing an *install* via ftp (or NFS) can you stop and
restart the install, or must you start over after each interruption. 
Really a hypothetical question -- my best bet would be to download the
iso(s), burn the CD(s), and install from them, but I'm curious about how
an install over ftp or NFS might work.

Thanks,
Randy Kramer




Re: [Cooker] iso images

2001-08-21 Thread andre

 
 Borsenkow Andrej wrote:
  It is unpacked in many places and you can install via ftp - but, for
  those having slow connection, how do you imagine ftp install? (Just a
  bit of math, how long do you need to transfer 150MB over 56Kb modem.
  Even if it 56Kb?)
 
 Well, on my 33.6 kb modem, I would expect about 15 hours.  I can do an
 iso in about 65 hours, about 10 MB per hour, which is OK (not nice, but
 OK), if you can stop and restart the transmission.  (I used to do them
 at night, until my ISP started cutting me off after 12 hours of connect
 time.)
 
 But, if you are doing an *install* via ftp (or NFS) can you stop and
 restart the install, or must you start over after each interruption. 
 Really a hypothetical question -- my best bet would be to download the
 iso(s), burn the CD(s), and install from them, but I'm curious about how
 an install over ftp or NFS might work.
 
 Thanks,
 Randy Kramer
 
I don't see any problem with it, except that you have to wait 2 hours
before the second part of the installation is downloaded before you
readly can start.




Re: [Cooker] iso images

2001-08-21 Thread Wim Horst

Op maandag 20 augustus 2001 15:20, schreef u:
 On 20 Aug 2001 20:53:08 -0400, Wim Horst wrote:
  Is it possible to install directly from a iso image file,
  thus without first burning a cd. I don't have a cdwriter.

 yes, using hd.img.  You will be prompted.  This is a question for the
 newbie (or expert if newbie is unsuccessful) list.  It is highly
 unappreciated on this, the cooker development list.

Thanks a lot. Maybe newbie, but look at the answers.




Re: [Cooker] iso images

2001-08-21 Thread Gary Lawrence Murphy


If someone can point me at HTTP-accessible ISO images, I'd be happy
to register them with www.swarmcast.com -- it doesn't really matter
if the site has limited  bandwidth since swarmcasting uses less
bandwidth as the demand rises.

-- 
Gary Lawrence Murphy [EMAIL PROTECTED]: office voice/fax: 01 519 4222723
T(C)Inc Business Innovations through Open Source http://www.teledyn.com
what I need is a job that doesn't interfere with my work -gary murphy





Re: [Cooker] iso images

2001-08-21 Thread Gary Lawrence Murphy

 B == Borsenkow Andrej [EMAIL PROTECTED] writes:

  I don't think you could install from the ISO image unless you
 have a second machine (you can mount an ISO image as a file
 system on that machine and then export it under NFS, FTP or
 HTTP)
 

B Of course you can. Using either ext2 or fat partition

Do you mean by unpacking the ISO on to an ext2/fat partition?  I thought
they wanted to mount the ISO image as a filesystem and didn't think you'd
have the tools for that in the miniroot.  Thanks for the clarification.

B but, for those having slow connection, how do you imagine ftp
B install? (Just a bit of math, how long do you need to transfer
B 150MB over 56Kb modem.  Even if it 56Kb?)

About 1/10th as long as grabbing two complete CDs? :)

Or as Confucius said, It does not matter how slow you go, so long as
you do not stop.

-- 
Gary Lawrence Murphy [EMAIL PROTECTED]: office voice/fax: 01 519 4222723
T(C)Inc Business Innovations through Open Source http://www.teledyn.com
what I need is a job that doesn't interfere with my work -gary murphy





Re: [Cooker] iso images

2001-08-20 Thread Blue Lizard

On 20 Aug 2001 20:53:08 -0400, Wim Horst wrote:
 Is it possible to install directly from a iso image file,
 thus without first burning a cd. I don't have a cdwriter.
 

yes, using hd.img.  You will be prompted.  This is a question for the
newbie (or expert if newbie is unsuccessful) list.  It is highly
unappreciated on this, the cooker development list.




Re: [Cooker] iso images

2001-08-20 Thread Gary Lawrence Murphy

I don't think you could install from the ISO image unless you have a
second machine (you can mount an ISO image as a file system on that
machine and then export it under NFS, FTP or HTTP)

For those of us on slow connections, and especially for those of us
who do not use even a small percent of the full 1.5Gb of files, if
the Beta image could be unpacked somewhere, it might be feasible for
us to install from the beta via HTTP

-- 
Gary Lawrence Murphy [EMAIL PROTECTED]: office voice/fax: 01 519 4222723
T(C)Inc Business Innovations through Open Source http://www.teledyn.com
We must become something we have never been - H.I.M. Haile Selassie I






RE: [Cooker] iso images

2001-08-20 Thread Borsenkow Andrej

 
 I don't think you could install from the ISO image unless you have a
 second machine (you can mount an ISO image as a file system on that
 machine and then export it under NFS, FTP or HTTP)
 

I do not think or I have tried and it failed?

Of course you can. Using either ext2 or fat partition

 For those of us on slow connections, and especially for those of us
 who do not use even a small percent of the full 1.5Gb of files, if
 the Beta image could be unpacked somewhere, it might be feasible for
 us to install from the beta via HTTP
 

It is unpacked in many places and you can install via ftp - but, for
those having slow connection, how do you imagine ftp install? (Just a
bit of math, how long do you need to transfer 150MB over 56Kb modem.
Even if it 56Kb?)

-andrej




RE: [Cooker] iso images Beta 8.0

2001-02-23 Thread José Luiz Barci Neves

Hey man, where i can find iso images ?
i can't dowload the "normal" version

thanks a lot.

 --
 From: marco goerlach[SMTP:[EMAIL PROTECTED]]
 Reply To: [EMAIL PROTECTED]
 Sent: sexta-feira, 23 de fevereiro de 2001 07:18
 To:   [EMAIL PROTECTED]
 Subject:  [Cooker] iso images Beta 8.0
 
 Hello folks,
 
 Who can help me?
 Here the situiation.
 
 I have downloaded the cooker iso images 1-Cooker-i586-20010213.iso and
 2-Cooker-i586-20010213.iso in the directory cooker.
 
 I get a menu:
 .
 Please choose the partition where is copied the Linux-Mandrake
 Distribution.
 .
 (0) cancel
 (1)hda1 (size: 406 Mbytes)
 (2) hda3 (size: 132 Mbytes)
 (3) hda4 (size: 2347 Mbytes)
 (4) hda5 (size: 2000 Mbytes) -- selected
 
  Please enter the directory (or ISO image file) containing the
 Linux-Mandrake Distribution.
 (a) Directory or ISO image
 (a) ? /cooker/1-Cooker-i586-20010213.iso
 .
 The graphical installer comes up and I can select the filesets which I
 want to install. It begins to install but I get a error if the installer
 requested filesets from iso image 2-Cooker-i586-20010213.iso.
 Cannot install filesets 
 .
 Who can help me to install mandrake with iso images? What must I do
 therewith the installation is succesfully?
 .
 Thanks and regards,
 Marco
 
 
 
 
 
 
 
 
 
 




Re: [Cooker] iso images Beta 8.0

2001-02-23 Thread marco goerlach

Jos Luiz Barci Neves wrote:

 Hey man, where i can find iso images ?
 i can't dowload the "normal" version

 thanks a lot.

  --
  From: marco goerlach[SMTP:[EMAIL PROTECTED]]
  Reply To: [EMAIL PROTECTED]
  Sent: sexta-feira, 23 de fevereiro de 2001 07:18
  To:   [EMAIL PROTECTED]
  Subject:  [Cooker] iso images Beta 8.0
 
  Hello folks,
 
  Who can help me?
  Here the situiation.
 
  I have downloaded the cooker iso images 1-Cooker-i586-20010213.iso and
  2-Cooker-i586-20010213.iso in the directory cooker.
 
  I get a menu:
  .
  Please choose the partition where is copied the Linux-Mandrake
  Distribution.
  .
  (0) cancel
  (1)hda1 (size: 406 Mbytes)
  (2) hda3 (size: 132 Mbytes)
  (3) hda4 (size: 2347 Mbytes)
  (4) hda5 (size: 2000 Mbytes) -- selected
 
   Please enter the directory (or ISO image file) containing the
  Linux-Mandrake Distribution.
  (a) Directory or ISO image
  (a) ? /cooker/1-Cooker-i586-20010213.iso
  .
  The graphical installer comes up and I can select the filesets which I
  want to install. It begins to install but I get a error if the installer
  requested filesets from iso image 2-Cooker-i586-20010213.iso.
  Cannot install filesets 
  .
  Who can help me to install mandrake with iso images? What must I do
  therewith the installation is succesfully?
  .
  Thanks and regards,
  Marco
 

Hello Jos Luiz Barci Neves

You can find the iso images Beta verion 8.0 on following side:

sunsite.uio.no:/pub/unix/Linux/Mandrake-iso
.
The iso images seems to be ok because I can mount both iso images and they're
readable.
.
with kind regards,
Marco





Re: [Cooker] iso images Beta 8.0

2001-02-23 Thread Armisis Aieoln

Can we boot from floppy, and Install from an ISO stored on the root partition?

dave

On Friday 23 February 2001 13:31, you wrote:
 Josi Luiz Barci Neves wrote:
 

  Hey man, where i can find iso images ?
  i can't dowload the "normal" version
 
  thanks a lot.
 
 
   --
   From: marco goerlach[SMTP:[EMAIL PROTECTED]]
   Reply To: [EMAIL PROTECTED]
   Sent: sexta-feira, 23 de fevereiro de 2001 07:18
   To:   [EMAIL PROTECTED]
   Subject:  [Cooker] iso images Beta 8.0
  
   Hello folks,
  
   Who can help me?
   Here the situiation.
  
   I have downloaded the cooker iso images 1-Cooker-i586-20010213.iso and
   2-Cooker-i586-20010213.iso in the directory cooker.
  
   I get a menu:
   .
   Please choose the partition where is copied the Linux-Mandrake
   Distribution.
   .
   (0) cancel
   (1)hda1 (size: 406 Mbytes)
   (2) hda3 (size: 132 Mbytes)
   (3) hda4 (size: 2347 Mbytes)
   (4) hda5 (size: 2000 Mbytes) -- selected
  
  
Please enter the directory (or ISO image file) containing the
  
   Linux-Mandrake Distribution.
   (a) Directory or ISO image
   (a) ? /cooker/1-Cooker-i586-20010213.iso
   .
   The graphical installer comes up and I can select the filesets which I
   want to install. It begins to install but I get a error if the
   installer
 requested filesets from iso image
   2-Cooker-i586-20010213.iso. Cannot install filesets 
   .
   Who can help me to install mandrake with iso images? What must I do
   therewith the installation is succesfully?
   .
   Thanks and regards,
   Marco
  

 
 Hello Josi Luiz Barci Neves
 
 You can find the iso images Beta verion 8.0 on following side:
 
 sunsite.uio.no:/pub/unix/Linux/Mandrake-iso
 .
 The iso images seems to be ok because I can mount both iso images and
 they're
 readable.
 .
 with kind regards,
 Marco

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Linux - Cause I dont do windows 
or ovens!
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Registered System: 83659





Re: [Cooker] ISO images - questions

2000-10-29 Thread Peter Ruskin

On Sun, 29 Oct 2000, stephen wrote:
 On Sat, Oct 28, 2000 at 01:19:35PM +0100, Peter Ruskin wrote:
  On Sat, 28 Oct 2000, stephen wrote:
   On Sat, Oct 28, 2000 at 10:36:44AM +0100, stephen wrote:
  ... 
  
  I run this from my crontab every 2 hours 20 minutes.
  ##
  #!/bin/bash
  # /usr/local/bin/rsync-iso
  echo ==
  echo rsync-iso - this script will download the latest Mandrake iso.
  echo
 
 puzzle?
 
 suppose i have the rc1 inst image, all 670+Mb of it
 
 i thought the idea was to only pull the differences and still retain the bulk
 of the file, and not after the first 2hr download session to end up the 40Mb
 file?
 
 Any ideas ?
 
As long as your rc1 inst image has the same name and is in the same place
'$LOCALDIR' it should work.  I don't have an earlier iso so I can't test
that - I expect to be downloading most of this week - I'm currently at
26% of Mandrake72-ext.iso
--
--
 Peter Ruskin  [EMAIL PROTECTED]
 Wrexham, UK  KDE - the professionals' choice
--





Re: [Cooker] ISO images - please expand

2000-10-28 Thread Ron Stodden

stephen wrote:
 
 [stephen@zmemw16 stephen]$ rsync -avv 
sunsite.uio.no::/pub/unix/Linux/Mandrake/iso/Mandrake72-inst.iso \
   /home/stephen/Mandrake72-inst.iso  --partial --progress --stats
 
 ERROR: The remote path must start with a module name
 
 I probably got the source path to file wrong, how do you get ls -l out of an
 rsync server

rsync remote.mirror.site::

will list all the site's available modules for you.  The module name
usually coincides with a step in the actual path, the module idea is
only a 'shortcut' to reduce common path lengths.

rsync remote.mirror.site::Mandrake-iso

will get you a list of what is available from that library.

rsync -n --progress --stats \
remote.mirror.site::Mandrake-iso/ \
/localpath/to/iso

sets up a dry run (no downloading) which will give you a list of the
full names of what would otherwise be downloaded.

Or, once you know where the library name points to, use ftp or http
to work out the rest of the path and to see what will be downloaded.

-- 
Regards,

Ron. [AU]




Re: [Cooker] ISO images - questions

2000-10-28 Thread stephen

On Wed, Oct 25, 2000 at 05:18:34PM +0930, Allen Bolderoff wrote:
 
 How about:
 
 rsync -av remote.mirror.site::/path/to/iso
 /localpath/to/iso --partial --progress --stats
 
 
[stephen@zmemw16 stephen]$ rsync -av sunsite.uio.no::Mandrake-iso
receiving file list ... done
drwxr-xr-x8192 2000/10/27 19:53:23 .
-rw-r--r--   579280896 2000/10/27 19:50:56 Mandrake72-ext.iso
-rw-r--r--   680378368 2000/10/27 18:01:20 Mandrake72-inst.iso
-rw-r--r--1398 2000/10/25 21:01:03 README
-rw-r--r-- 107 2000/10/27 19:53:23 md5sums
wrote 81 bytes  read 616 bytes  16.40 bytes/sec
total size is 1259660769  speedup is 1807260.79

[stephen@zmemw16 stephen]$ rsync -av sunsite.uio.no:/Mandrake-iso/Mandrake72-inst.iso \
 /home/stephen/72/Mandrake72-inst.iso --stats --progress --partial

permission denied.
unexpected EOF in read_timeout



does this translate as busy, go away ??




Re: [Cooker] ISO images - questions

2000-10-28 Thread stephen


On Sat, Oct 28, 2000 at 10:36:44AM +0100, stephen wrote:
 On Wed, Oct 25, 2000 at 05:18:34PM +0930, Allen Bolderoff wrote:
  
  /localpath/to/iso --partial --progress --stats
  
 permission denied.
 unexpected EOF in read_timeout
 
 does this translate as busy, go away ??

translates as did not pull my email for upto date info

do in progress

btinternet in their infinite something, drop the line every 2 hrs
and it's dynamic ip, not a problem when i use download 4 x

netscape downloads need stopping and restarting.. pain


what happens with rsync connections, have i really got to wake up
every 2 hrs

i don't suppose anyone has a suitable script for adaption  ?

Stephen R Parkinson




Re: [Cooker] ISO images - questions

2000-10-28 Thread Peter Ruskin

On Sat, 28 Oct 2000, stephen wrote:
 On Sat, Oct 28, 2000 at 10:36:44AM +0100, stephen wrote:
... 
 btinternet in their infinite something, drop the line every 2 hrs
 and it's dynamic ip, not a problem when i use download 4 x
 netscape downloads need stopping and restarting.. pain
 what happens with rsync connections, have i really got to wake up
 every 2 hrs
 i don't suppose anyone has a suitable script for adaption  ?

I run this from my crontab every 2 hours 20 minutes.
##
#!/bin/bash
# /usr/local/bin/rsync-iso
echo ==
echo rsync-iso - this script will download the latest Mandrake iso.
echo

#
# Variables
#
NORWAY="sunsite.uio.no::Mandrake/iso/"
REMOTEDIR=$NORWAY
LOCALPARTITION='/mnt/downloads'
LOCALDIR='/mnt/downloads/Mandrake/iso/'
MYISP='greatXscape'
DIALUPDELAY='20s'
ISTATUS=`netstat -i|grep ppp0`
# TIMEOUT This option allows you to set a maximum IO timeout in seconds. If no
# data is transferred for the specified time then rsync will exit. The default
# is 0, which means no timeout.  
TIMEOUT=7100
H=$[$TIMEOUT/3600]
S=$[$TIMEOUT-$[$H*3600]]
M=$[$S/60]
S=$[$S-$[$M*60]]

# If ppp already running, quit.
if [ "$ISTATUS" != "" ] ; then
echo "ppp already running - I'm leaving it alone! - Goodbye."
exit
fi

echo "Connecting to $MYISP ..."
echo
/sbin/ifup ppp0

# Allow a delay before connect.
while [ "$ISTATUS" == "" ] ; do
sleep 1
ISTATUS=`netstat -i|grep ppp0`
done

# I like this monitor.
echo "Spawning: GKrellM stacked system monitors ..."
echo
[ "$DISPLAY" = ":0" ]  /usr/X11R6/bin/gkrellm 

echo "Ready to start the download"
echo

if [ $H = 0 ] ; then
echo "After $M minutes, rsync will stop if data transfer is interrupted." 
elif [ $H = 1 ] ; then
echo "After 1 hour and $M minutes, rsync will stop if data transfer is 
interrupted."
else
echo "After $H hours and $M minutes, rsync will stop if data transfer is 
interrupted."
fi

# Get the start time
START=`date +%s`

# Get directory size at start
T1=`du -sm $LOCALDIR|gawk '{print $1}'`

# This is the busy stuff ...

rsync -rltvP --stats --timeout=$TIMEOUT \
$REMOTEDIR $LOCALDIR

# Get finish time ...
FIN=`date +%s`
ELAPSED=$[$FIN-$START]
H=$[$ELAPSED/3600]
S=$[$ELAPSED-$[$H*3600]]
M=$[$S/60]
S=$[$S-$[$M*60]]
# ... and report how long it ran at end of script.

# Get directory size at finish and report download size (at end of script).
T2=`du -sm $LOCALDIR|gawk '{print $1}'`
F=`df | grep $LOCALPARTITION|gawk '{print $5}'`
T=$(($T2-$T1))

# All done!
echo "quitting ppp ..."
/sbin/ifdown ppp0
echo

echo "terminating GKrellM ..."
echo
killall gkrellm  /dev/null

# Report how long it ran.
echo
if (( $H == 0 )) ; then
echo "rsync was running for $M minutes until `date`." 
elif (( $H == 1 )) ; then
echo "rsync was running for 1 hour and $M minutes until `date`." 
else
echo "rsync was running for $H hours and $M minutes until `date`." 
fi  

# Report download size.
if (( $T != 0 )); then
if (( $T = 0 )) ; then
echo
echo "After rsync, $LOCALPARTITION is now $T MB bigger at $T2 MB ( $F 
used )."
echo
else
echo
echo "After rsync, $LOCALPARTITION is now $((-$T)) MB smaller at $T2 
MB ( $F used )."
echo
fi
fi
exit 0
-- 
--
 Peter Ruskin  [EMAIL PROTECTED]
 Wrexham, UK  KDE - the professionals' choice
--





Re: [Cooker] ISO images - questions

2000-10-28 Thread stephen

On Sat, Oct 28, 2000 at 01:19:35PM +0100, Peter Ruskin wrote:
 On Sat, 28 Oct 2000, stephen wrote:
  On Sat, Oct 28, 2000 at 10:36:44AM +0100, stephen wrote:
 ... 
  btinternet in their infinite something, drop the line every 2 hrs
  and it's dynamic ip, not a problem when i use download 4 x
  netscape downloads need stopping and restarting.. pain
  what happens with rsync connections, have i really got to wake up
  every 2 hrs
  i don't suppose anyone has a suitable script for adaption  ?
 
 I run this from my crontab every 2 hours 20 minutes.
 ##
 #!/bin/bash
 # /usr/local/bin/rsync-iso
 echo ==
 echo rsync-iso - this script will download the latest Mandrake iso.
 echo

puzzle?

suppose i have the rc1 inst image, all 670+Mb of it

i thought the idea was to only pull the differences and still retain the bulk
of the file, and not after the first 2hr download session to end up the 40Mb
file?

Any ideas ?

Stephen R Parkinson 




Re: [Cooker] ISO images - please expand

2000-10-27 Thread stephen

On Wed, Oct 25, 2000 at 05:18:34PM +0930, Allen Bolderoff wrote:
 
  howabout
 
 How about:
 
 rsync -av remote.mirror.site::/path/to/iso
 /localpath/to/iso --partial --progress --stats
 
[stephen@zmemw16 stephen]$ rsync -avv 
sunsite.uio.no::/pub/unix/Linux/Mandrake/iso/Mandrake72-inst.iso \
  /home/stephen/Mandrake72-inst.iso  --partial --progress --stats

ERROR: The remote path must start with a module name 

I probably got the source path to file wrong, how do you get ls -l out of an
rsync server

Stephen R Parkinson





Re: [Cooker] ISO images - please expand

2000-10-27 Thread Ben Reser

On Sat, Oct 28, 2000 at 06:56:33AM +0100, stephen wrote:
 [stephen@zmemw16 stephen]$ rsync -avv 
sunsite.uio.no::/pub/unix/Linux/Mandrake/iso/Mandrake72-inst.iso \
   /home/stephen/Mandrake72-inst.iso  --partial --progress --stats
 
 ERROR: The remote path must start with a module name 

You want:
rsync -avv --partial --progress --stats \
sunsite.uio.no::Mandrake/iso/Mandrake72-inst.iso \
/home/stephen/Mandrake72-inst.iso

 I probably got the source path to file wrong, how do you get ls -l out of an
 rsync server

To find out the modules just do:
rsync sunsite.uio.no::

To find out the files say in the iso dir do:
rsync -a sunsite.uio.no::Mandrake/iso/

-- 
Ben Reser [EMAIL PROTECTED]
http://ben.reser.org

Maslow's Maxim:  If the only tool you have is a hammer,
you treat everything like a nail.




Re: [Cooker] ISO images - is a binary diff file possible ??

2000-10-25 Thread Allen Bolderoff


 howabout

 xdelta delta -9 beta3.iso rc1.iso beta_2_rc1_upgrade.gz


How about:

rsync -av remote.mirror.site::/path/to/iso
/localpath/to/iso --partial --progress --stats

this will do effectively what diff does, and only brings down what is
required. ie if the file is the same in many places, this will only bring
down the differences, and give you an identical copy of the remote file.

it usually saves me 500MB on a 600 MB iso (one version to the next) some
times even more, sometimes less.






Re: [Cooker] ISO images - is a binary diff file possible ??

2000-10-24 Thread stephen


Is it relevant as to how the two data streams are compressed, we are
interested in compressing the difference stream.

might be to a pure maths type person, bit beyond mine

howabout

xdelta delta -9 beta3.iso rc1.iso beta_2_rc1_upgrade.gz

assuming xdelta can handle 640M files ;-)

it's been trundling along upstairs for about 10hrs, but its
a p2-233 128M so it could take awhile.

perhaps someone else could take a crack at it as well

i tried it yesterday with 100M off the front of each iso, but
can't remember the size of the result file. i stopped it in order
to go for delta'ing the lot.

i wouldn't have done that if the size wasn't quite small,
maybe 30M

if you were tracking mandrake, had pulled the first beta,
and had the choice of another 640M or 150M download and 'patching' ??


Stephen R Parkinson




Re: [Cooker] ISO images - is a binary diff file possible ??

2000-10-11 Thread Thierry Vignaud

Ron Stodden [EMAIL PROTECTED] writes:
 2a  all RPMs come already compressed

RPMs are cpio archive + a rpm header (requirements, what is providing,
description, date, version, changelog and the like).
They're not compressed.
most SRPMs content is compressed.





Re: [Cooker] ISO images - is a binary diff file possible ??

2000-10-10 Thread Giuseppe Ghibo'

stephen wrote:
 
 Having only just finished downloading Beta3, the air became
 slightly colourful when as browsing email I saw RC1 mentioned,
 closely followed by a 'here we go again' feeling, my computer
 is definitely moving out of my bedroom.
 
 I should perhaps mention my modem, that's why I waited for
 a slightly longer lasting beta than 1  2 ;-)
 
 Questions::
 1. Would a binary difference file be possible ?

yes, through xdelta, using

xdelta delta RC1.iso RC3.iso RC3.xd

and then rebuild

xdelta patch RC3.xd RC1.iso RC3.iso

 2. Would it necessaryily be significantly smaller ?

it's not said, but could be. We don't know unless we try, but depends
on how many RPM packages are changed and how they are placed in the ISO image.
Generally if you do an xdelta between two RPMs (whose files differs only in a few 
bytes)
the size of the "delta" file is near the size of the original file (because the gzipped
stream is totally different). I never did that on two "almost" near .ISO image files.

 2a. How would it compress ?

xdelta files are already gzipped. Note also that 99% of the ISO image contents
contains RPM files, which can't be furthermore packed.

 3. If it was say 20-50%, would you produce one for the mirrors ?
 4. Would it be similar for 'Extension' cdroms ?

Bye.
Giuseppe.






Re: [Cooker] ISO images - is a binary diff file possible ??

2000-10-09 Thread Ron Stodden

stephen wrote:
 
 I should perhaps mention my modem, that's why I waited for
 a slightly longer lasting beta than 1  2 ;-)
 
 Questions::
 1. Would a binary difference file be possible ?
 2. Would it necessaryily be significantly smaller ?
 2a. How would it compress ?
 3. If it was say 20-50%, would you produce one for the mirrors ?
 4. Would it be similar for 'Extension' cdroms ?

1   yes
2   yes
2a  all RPMs come already compressed
3   Visit my web page:

http://members.optushome.com.au/ronst/

and download the fast rsync downloader (no_sync.pl and rsync_exclude)
that does all this.

4   The above is based on tree downloading and hd.img install and
does not waste time and money with iso images or CDROM installs.  As
downloaded, it is tailored for English English and US international
keyboard only - the hundreds of megabytes of other locale stuff is
not downloaded.

-- 
Regards,

Ron. [AU]