Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 1998 18:06:18 -0700
From:      jolp <jolp@peerlogic.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   null fs problem (mount_null)
Message-ID:  <35E35F8A.AB3A713F@peerlogic.com>

next in thread | raw e-mail | index | archive | help
I'm running FreeBSD 2.1.0.  I know it's old, but it still works great. 
I've searched the archives and cant find a solution, so before I
possibly waste time on an upgrade just to find the fix isn't there, I
thought I'd ask first.

After spending hours trying to find lofs, I finally discovered that my
only option for mounting an lofs is to mount a null fs instead.  But
apparently that doesn't even work right.

The mount (8) man page says following:

"rdonly  The same as -r; mount the file system read-only (even the
super-user may not write it).

However, mounting with "-t null" seems to defeat the read-only option. 
If I "mount -t null -r /target /mount-point" or "mount -t null -o rdonly
/target /mount-point" I can write to the mounted file system whether I'm
root or not.

Any clues?

Regards,

-John

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



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