From owner-freebsd-questions Fri Dec 1 11: 4:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ertpg14e1.nortelnetworks.com (ertpg14e1.nortelnetworks.com [47.234.0.35]) by hub.freebsd.org (Postfix) with ESMTP id 086A337B402 for ; Fri, 1 Dec 2000 11:04:24 -0800 (PST) Received: from zrtpd004.us.nortel.com (actually zrtpd004) by ertpg14e1.nortelnetworks.com; Fri, 1 Dec 2000 13:56:18 -0500 Received: by zrtpd004.us.nortel.com with Internet Mail Service (5.5.2652.35) id ; Fri, 1 Dec 2000 13:56:02 -0500 Message-ID: From: "Samuel Chow" To: "'questions@freebsd.org'" Subject: Bug found when mounting MFS overlaying Readonly partition Date: Fri, 1 Dec 2000 13:55:54 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2652.35) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C05BC8.5516AC70" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C05BC8.5516AC70 Content-Type: text/plain; charset="iso-8859-1" Hi there, I am running 3-STABLE on a 8 MB 486 acting as a firewall. I think I found a bug, but I just want to run thru' you guys first. And, unless 4-STABLE runs in 8 MB, I can't really upgrade. I have the following in /etc/fstab: # Device Mountpoint FStype Options ... /dev/wd0s2a / ufs ro ... /dev/wd0s2f /usr ufs ro ... Please note the readonly options. Partition /var is created on the fly during initialization. Then I execuate the following as part of the initialization. Basically, I am trying to get a read-write /etc on top of the readonly / partitition. tar cf /var/tmp/etcfile /etc 2>/dev/null mount_mfs -s 1536 -T minimum dummy /etc (cd /; tar xf /var/tmp/etcfile) This works most of the time. However, once in a while, tar will come back and complain about trying to write a few (around 5) files to a read-only file system. It seems under certain conditions, the system cannot see the MFS and write directly on the readonly / partition. Any ideas? --- Samuel Chow This message is displayed using recycled electrons. Segmentation Fault (core dumped) ------_=_NextPart_001_01C05BC8.5516AC70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Bug found when mounting MFS overlaying Readonly = partition

Hi there,

        I am = running 3-STABLE on a 8 MB 486 acting
        as a = firewall.  I think I found a bug, but
        I just = want to run thru' you guys first.  And,
        unless = 4-STABLE runs in 8 MB, I can't really
        upgrade.

        I have the = following in /etc/fstab:
        # = Device     Mountpoint  FStype  Options = ...
        /dev/wd0s2a  = /           = ufs     ro      ...
        /dev/wd0s2f  = /usr        = ufs     ro      ...
        Please = note the readonly options.  Partition
        /var is = created on the fly during initialization.
        =        =20
        Then I = execuate the following as part of
        the = initialization.  Basically, I am trying
        to get a = read-write /etc on top of the
        readonly = / partitition.
         tar = cf /var/tmp/etcfile /etc 2>/dev/null
         = mount_mfs -s 1536 -T minimum dummy /etc
         (cd = /; tar xf /var/tmp/etcfile)

        This works = most of the time.  However, once
        in a = while, tar will come back and complain
        about = trying to write a few (around 5) files
        to a = read-only file system.

        It seems = under certain conditions, the system
        cannot = see the MFS and write directly on
        the = readonly / partition.  Any ideas?

---
Samuel Chow

This message is displayed using recycled = electrons.
Segmentation Fault (core dumped)

------_=_NextPart_001_01C05BC8.5516AC70-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message