home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.ubuntu      I preferred Xubuntu, seemed a bit faster      134,474 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 132,506 of 134,474   
   Paul to philo   
   Re: cpio help needed SOLVED   
   09 Jan 20 04:41:41   
   
   From: nospam@needed.invalid   
      
   philo wrote:   
   > On 1/8/20 7:47 PM, Paul wrote:   
   >> philo wrote:   
   >>> On 1/7/20 7:13 PM, philo wrote:   
   >>>> I am still fooling with the SCO Unix server I had mentioned the   
   >>>> other day.   
   >>>>   
   >>>> I was given specific instructions how to create and retrieve a gzip   
   >>>> archive on a separate partition using cpio   
   >>>>   
   >>>> Now I am working on a bare minimum installation that does not have   
   >>>> gzip.   
   >>>>   
   >>>>   
   >>>> Since I an only transferring a small amount of data, I don't need   
   >>>> it. I do need help with exact context   
   >>>>   
   >>>>   
   >>>> I would like to take one folder and use cpio to let's say) copy it   
   >>>> to /dev/hd0   
   >>>>   
   >>>>   
   >>>> I would then put the drive with the archive on it into second   
   >>>> machine and un-archive the files back to a folder   
   >>>>   
   >>>> Could anyone give me an exact example?   
   >>>>   
   >>>> Thanks   
   >>>   
   >>>   
   >>>   
   >>>   
   >>> Appreciate all the help Paul and Grant.   
   >>>   
   >>>   
   >>> Bela, the guy who worked for SCO gave me this advice and it worked.   
   >>>   
   >>> do not have to worry about tar or gzip as it's only a tiny amount of   
   >>> data   
   >>>   
   >>>   
   >>>   
   >>>   
   >>> linux# find games | cpio -ov | compress > /dev/hd04  ### except, the   
   >>> right name for the target partition,   
   >>>  under linux...   
   >>> sco# cd /target/location;   
   >>>  zcat < /dev/hd04 | cpio -ivdm   
   >>>   
   >>>   
   >>>   
   >>> Now I can fool with some of those old text based games on my own   
   >>> workshop machine.   
   >>>   
   >>>   
   >>> May even put it in a virtual machine   
   >>>   
   >>   
   >> You probably didn't need the compress step.   
   >>   
   >> Like, this much would work.   
   >>   
   >> cpio -ov > /dev/hd04   
   >>   
   >> Then, when you pull that off on the other side,   
   >> it's effectively a copy of "archive.cpio" stored   
   >> on the hard drive as if the hard drive is a tape.   
   >>   
   >> And the reason I want to make an intermediate file with   
   >> the "file list" on it, is so I can check and be sure   
   >> I've got the items in the list, that I expect. For   
   >> example, one directory in the tree I tried to process,   
   >> was "access denied" due to permissions. And I could   
   >> discover my error, without waiting for the first run   
   >> of the archive attempt, to finish.   
   >>   
   >> Compression is only necessary, if there's some problem   
   >> with the available space on the hard drive used. Like   
   >> trying to stick 16GB of files on an 8GB drive. As   
   >> the source computer may not be able to deal with   
   >> really large drives (depending on what era the   
   >> OS is from).   
   >>   
   >>     Paul   
   >   
   >   
   > It was a lot of fun.   
   > I even have it running in a virtual machine now   
   >   
      
   Which means you must have solved the storage emulation problem.   
      
       Paul   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca