Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 1998 03:50:30 +0900
From:      "Kazuhiko KAWAKAMI" <kazz-0@ca2.so-net.ne.jp>
To:        <stable@FreeBSD.ORG>
Subject:   Bug in mount_union 
Message-ID:  <002001bd8f20$850896e0$0a01a8c0@camel.kazz-0.net>

next in thread | raw e-mail | index | archive | help
I found a bug in mount_union of 2.2-stable.

In mount_union.8, there are the examples :

(1)
    mount -t cd9660 -o ro /dev/cd0a /usr/src
    mount -t union -o /var/obj /usr/src

(2)
    mount -t union -o -b /sys $HOME/sys

But

(1) It is not work.

(2) I can mount union filesystem, and tested like this: 

    % mount -t cd9660 -o ro /dev/cd0a /cdrom
    % mount -t union -o -b /cdrom /usr/src
    % cd /usr/src
    % touch a
    % rm a

    I got a panic message.


In mount.8, I found '-o union' option, and tried to use.

    % mount -t cd9660 -o ro /dev/cd0a /usr/src
    % mount -o union /dev/fd0a /usr/src
    % cd /usr/src
    % touch a
    % rm a

    It worked.





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002001bd8f20$850896e0$0a01a8c0>