Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: scamper@ruby.trisk.com (Garen Erdoisa)
Subject: Re: ufs filesystem on a ZIP disk?  (DU4.0 + linux)
Date: 1997/10/02	[thread overview]
Message-ID: <slrn637rue.ii.scamper@ruby.trisk.com> (raw)
In-Reply-To: 610dse$11lk$1@nntp6.u.washington.edu


On 2 Oct 1997 15:16:30 GMT, Ethan A Merritt <merritt@u.washington.edu> 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

-- 
------------------------------------------------------------------------
|<Garen Erdoisa> scamper@trisk.com  | Any sufficiently advanced virtual| 
|               gerdoisa@micron.net | reality is indistinguishable     |
| ! ! ! My opinions are mine ! ! !  | from reality. --==*> Me          |
------------------------------------------------------------------------



  reply	other threads:[~1997-10-02  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-02  4:00 ufs filesystem on a ZIP disk? (DU4.0 + linux) Ethan A Merritt
1997-10-02  4:00 ` Garen Erdoisa [this message]
1997-10-03  4:00 ` Alan Cox
1997-10-03  4:00 ` Mark Gelinas
1997-10-09  4:00 ` Nikola Milutinovic
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox