From 3f8338001e3f89c72dbd23afb302b8365f91a8b9 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 9 Dec 1996 07:04:46 +0000 Subject: [PATCH] readonly mount of msdos fs --- distrib/amiga/floppies/inst-common/dot.commonutils | 4 ++-- distrib/arc/floppies/inst-common/dot.commonutils | 4 ++-- distrib/i386/floppies/inst-common/dot.commonutils | 4 ++-- distrib/pc532/floppies/inst-common/dot.commonutils | 4 ++-- distrib/sparc/floppies/inst-common/dot.commonutils | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/distrib/amiga/floppies/inst-common/dot.commonutils b/distrib/amiga/floppies/inst-common/dot.commonutils index 2e0b25a7fec..04d7f24e19b 100644 --- a/distrib/amiga/floppies/inst-common/dot.commonutils +++ b/distrib/amiga/floppies/inst-common/dot.commonutils @@ -27,7 +27,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# $OpenBSD: dot.commonutils,v 1.6 1996/10/13 17:33:07 niklas Exp $ +# $OpenBSD: dot.commonutils,v 1.7 1996/12/09 07:04:46 deraadt Exp $ # Installation utilites (functions), to get OpenBSD installed on # the hard disk. These are meant to be invoked from the shell prompt, @@ -83,7 +83,7 @@ Load_fd() done while echo -n "Insert floppy (hit ^C to terminate, enter to load): " do - mount -t msdos /dev/fd0$which /mnt2 + mount -r -t msdos /dev/fd0$which /mnt2 cp -rp /mnt2/* . umount /mnt2 done diff --git a/distrib/arc/floppies/inst-common/dot.commonutils b/distrib/arc/floppies/inst-common/dot.commonutils index 0d53a66edc9..4cad5754406 100644 --- a/distrib/arc/floppies/inst-common/dot.commonutils +++ b/distrib/arc/floppies/inst-common/dot.commonutils @@ -1,4 +1,4 @@ -# $OpenBSD: dot.commonutils,v 1.1 1996/10/10 10:06:06 deraadt Exp $ +# $OpenBSD: dot.commonutils,v 1.2 1996/12/09 07:04:52 deraadt Exp $ # # Copyright (c) 1994 Christopher G. Demetriou # All rights reserved. @@ -92,7 +92,7 @@ Load_fd() "Insert floppy (hit Control-C to terminate, enter to load): " do read foo - mount -t msdos /dev/fd${which}a /mnt2 + mount -r -t msdos /dev/fd${which}a /mnt2 cp -rp /mnt2/* . umount /mnt2 done diff --git a/distrib/i386/floppies/inst-common/dot.commonutils b/distrib/i386/floppies/inst-common/dot.commonutils index 3e125907afe..c7b605bc16a 100644 --- a/distrib/i386/floppies/inst-common/dot.commonutils +++ b/distrib/i386/floppies/inst-common/dot.commonutils @@ -1,4 +1,4 @@ -# $OpenBSD: dot.commonutils,v 1.6 1996/10/09 09:34:53 deraadt Exp $ +# $OpenBSD: dot.commonutils,v 1.7 1996/12/09 07:05:02 deraadt Exp $ # # Copyright (c) 1994 Christopher G. Demetriou # All rights reserved. @@ -92,7 +92,7 @@ Load_fd() "Insert floppy (hit Control-C to terminate, enter to load): " do read foo - mount -t msdos /dev/fd${which}a /mnt2 + mount -r -t msdos /dev/fd${which}a /mnt2 cp -rp /mnt2/* . umount /mnt2 done diff --git a/distrib/pc532/floppies/inst-common/dot.commonutils b/distrib/pc532/floppies/inst-common/dot.commonutils index 6ec69a41cd6..1e9fa4be390 100644 --- a/distrib/pc532/floppies/inst-common/dot.commonutils +++ b/distrib/pc532/floppies/inst-common/dot.commonutils @@ -27,7 +27,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# $Id: dot.commonutils,v 1.6 1996/09/05 21:26:51 deraadt Exp $ +# $Id: dot.commonutils,v 1.7 1996/12/09 07:05:12 deraadt Exp $ # Installation utilites (functions), to get NetBSD installed on # the hard disk. These are meant to be invoked from the shell prompt, @@ -93,7 +93,7 @@ Load_fd() "Insert floppy (hit Control-C to terminate, enter to load): " do read foo - mount -t msdos /dev/fd${which}a /mnt2 + mount -r -t msdos /dev/fd${which}a /mnt2 cp -rp /mnt2/* . umount /mnt2 done diff --git a/distrib/sparc/floppies/inst-common/dot.commonutils b/distrib/sparc/floppies/inst-common/dot.commonutils index 6513923f4a9..efe4fe919ed 100644 --- a/distrib/sparc/floppies/inst-common/dot.commonutils +++ b/distrib/sparc/floppies/inst-common/dot.commonutils @@ -1,4 +1,4 @@ -# $OpenBSD: dot.commonutils,v 1.4 1996/10/10 10:10:31 deraadt Exp $ +# $OpenBSD: dot.commonutils,v 1.5 1996/12/09 07:05:19 deraadt Exp $ # # Copyright (c) 1994 Christopher G. Demetriou # All rights reserved. @@ -92,7 +92,7 @@ Load_fd() "Insert floppy (hit Control-C to terminate, enter to load): " do read foo - mount -t msdos /dev/fd${which}a /mnt2 + mount -r -t msdos /dev/fd${which}a /mnt2 cp -rp /mnt2/* . umount /mnt2 done -- 2.20.1