From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111240,919ba9eacd417a21 X-Google-Attributes: gid111240,public X-Google-Thread: f678f,919ba9eacd417a21 X-Google-Attributes: gidf678f,public From: scamper@ruby.trisk.com (Garen Erdoisa) Subject: Re: ufs filesystem on a ZIP disk? (DU4.0 + linux) Date: 1997/10/02 Message-ID: #1/1 X-Deja-AN: 277364647 References: <610dse$11lk$1@nntp6.u.washington.edu> Organization: Individual Reply-To: gerdoisa-no-spam@micron.net Newsgroups: linux.redhat.misc,comp.unix.osf.misc On 2 Oct 1997 15:16:30 GMT, Ethan A Merritt wrote: >I'd like to carry large chunks of data between home and >work using ZIP cartridges (100 MB removable drive by Iomega). >The lab machines are DEC alphas running Digital Unix. >The home machine is running Redhat 4.2. >The only filesystem type they both claim to support is ufs >but hey, it only takes one right? > >I can create/write/read a ufs file system with normal >directories and files on the DU machine just fine, >using the ZIP_disklabel utility >(ftp://ftp.eece.maine.edu/pub/src/alpha/util/ZIP_disklabel_1.0.tar.gz) >but when I slot the disk into a drive on the linux box it >doesn't seem to be recognized. > >fdisk gives a message to the effect > "corrupt block will be corrected by -w" >and no list of partitions > >So I shrug and try to mount the disk anyway > mount -t ufs /dev/sdc4 /mnt/zip >Gee, it accepts the command and "df /mnt/zip" actually >gives a total/used/available block count that seems reasonable. > >BUT: "ls -asl /mnt/zip" just shows an empty directory! >Where'd all my files go? And how did df know they were >there if ls doesn't? >Furthermore, if I umount the disk again it's now totally >trashed - neither the DU nor the unix machine will accept it. >Ugh. > >So what's the deal? > >Is there more than one "ufs" filesystem type? > >Is there some trick to creating the filesystem in the first place? > >The Redhat distribution doesn't seem to come with a mkfs.ufs >tool, so I haven't been able to try initializing the disk+filesystem >on the linux end. > >Anyone know how to make this work? > >Anyone know (fat chance) how to make a DU system recognize a >linux native or DOS filesystem? > >Anyone have an example of a ufs filesystem acceptable to >Redhat and willing to make a binary dump of the partition >header block[s]? > > thanks for any clues, > > Ethan A Merritt > merritt@u.washington.edu Just a thought: On the unix side I'd try this: tar -cvf /dev/zipdisk /somedirectory/with/my/files On the linux side I'd try this: cd /somedirectory tar -xvf /dev/zipdisk And reverse the process for the other direction. By the way, doing this *will* destroy any filesystem you had on such a zip disk if any, so please use a blank zip disk that is well and truely marked for this purpose. Regards Garen -- ------------------------------------------------------------------------ | scamper@trisk.com | Any sufficiently advanced virtual| | gerdoisa@micron.net | reality is indistinguishable | | ! ! ! My opinions are mine ! ! ! | from reality. --==*> Me | ------------------------------------------------------------------------