Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 1997 15:27:47 -0400
From:      Randall Hopper <rhh@ct.picker.com>
To:        Zoltan Sebestyen <sebesty@cs.elte.hu>
Cc:        FreeBSD questions mailinglist <freebsd-questions@FreeBSD.ORG>
Subject:   Re: BSD fs on SCSI ZIP drive
Message-ID:  <19970713152747.48708@ct.picker.com>
In-Reply-To: <Pine.ULT.3.93.970707172944.8113A-100000@konig>; from Zoltan Sebestyen on Mon, Jul 07, 1997 at 05:38:20PM %2B0200
References:  <Pine.ULT.3.93.970707172944.8113A-100000@konig>

next in thread | previous in thread | raw e-mail | index | archive | help
 | I'd like to format my ZIP disk to BSD fs. My ZIP drive works correctly
 |under FreeBSD-2.1.5-RELEASE(I'll update it soon to 2.2) with my DOS
 |formatted ZIP disks, although it keeps reporting while booting that it has
 |to use fictious geometry, because ZIP doesn't give any. What I'd like to
 |know if I can format it without problems. Under DOS and it's buddies --
 |WinNT and WinTOYEARSAGO -- I have to use Iomega's special formatter
 |utility. And just one more question: Is there any release date for
 |FreeBSD-3.0?

You may want to repost your second question.  The people that know might
not read this message since the Subject only mentions ZIPs.

Regarding UFS on ZIP disks, here's a short script that'll do the trick.
Supports creating sliced (my pref) as well as "dangerously dedicated" UFS
disks.  Note: assumes FreeBSD >= 2.2.  If you want an script that works
with older versions, just mail me.

Also attached are my ZIP fstab entries and setuid mountzip and umountzip
scripts.

Randall Hopper

begin 666 make-ufs-zip.sh.gz
M'XL( ,8IR3,  \U6;6_;-A#^7/V*LQ2@"3#9EI-XB%;!<&RY,YHW6/&&O6&E
M*<H2+(N"2,]UF_WW'4F_Q6E7;#"&"?I 4L?3<\\]=Z13:TRRHB%2R[$<@#F9
M,7>1"/=C5M9%"B[T*D8D@ZOV[36,!Q$\D$IF,N,%X$O@Y^$#]#,Q@ZR 0<78
M==2'5OV#\G7XN# 63$#!EI#$:LN<QT+M:]5;;F\\&H5WCP9%-XK&MV$$RBHG
M$Y:CE9 DSUFL[!M,TH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Q@3)
BPC-TB;>8]6W)+--T6I5Z3=^:S.)B[4>-_P+O"%!E#@L  /!Z
 
end

/dev/sd0s1              /zip            ufs     rw,noauto       0       0
/dev/sd0s4              /doszip         msdos   ro,noauto       0       0


begin 666 mountzip.gz
M'XL( "8KR3,  VW-00N",!0'\/L^Q7-%LT/LGG3H8!A8!$:G+L4F/= I3HG*
MOGMN3DAJA_%X[_][;^+Q1E?\BHKK!D4IJPP6=T*FX?[T8H?U,6)O@!4P$UD.
MV;[0MC(_"QQ(HC"..^$ US<&F(*0*2HI8!0:S':3F!O&,'#OQ]A00(@/GG[H
M6N8^T+QH5 W\B24U9@ZS&905=CUJFF#G4IR5&[<M_/.BT';%R/?-[Q6]%RB!
1[BQ,+YC944 ^.B4P4$8!   5
 
end

begin 666 umountzip.gz
M'XL( "DKR3,  W6044O#,!2%W_LKCE.6#9QM$40V?/!AHB!CH//)E[9)74;;
ME-S4H<[_;I)6Y^9,X";D?N><VQX?A0WI,)552(WDM= %1NL@.)G.GC[8_/KQ
MEGWB"LP1XV^TO9"_N<HF'?]P.[V_WPI"6C+('%SDLA(<.]"WYN[FP2K@- S=
M^J/QT"0(!CBB-S*B'*#7E*JI#,)W6?><:(A^'[66]JWG'K&8>4+PYZH#-IN#
M#ER1-]EQ:!]W3;P#EP*]12O-$UGXUMYLE)'$*+?6XC74Q*.SS-@?2SB/,,K 
MXA11N\?I!5[':=R6B,$6&Q38>3<;^*SI2F2_HC"T8<>8"UTV)C%2581<:9BE
M0)&0@5DK)/J%8!3<((/+(=;2+"TA"<IRVO51>P=KU:V30HF5.\DDV@!)YLRW
M_6CO)*/J4W!5,0/A9RP%ETVY5<0'%.BW\%_?^(>R\:=(&].9&_WFOJ50"?\W
/8D=L,W[#7^>\]@SE @  
 
end



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970713152747.48708>