Re: cleanup of rc.conf ( -4.x )

1999-02-09 Thread Brian Feldman
On Mon, 8 Feb 1999, Matthew Dillon wrote:

 This does not make any operational change except to get rid
 of the $conf_dir junk from rc.conf, which I originally put 
 in to try to bootstrap rc.diskless.
 
 A much better way to do rc.diskless was suggested to me,
 which I'm going to implement.  It involves retargeting
 the /conf/ME softlink by mount_union'ing a small MFS 
 filesystem onto /conf.  Then one simply makes /etc/rc.conf.local
 a softlink to /conf/ME/rc.conf.local ( i.e. a sysop would do 
 that as an extra, we wouldn't distribute the base system 
 like that of course )
 
 In anycase, I've committed a new rc.conf that gets rid
 of $conf_dir, FYI, and am about to commit a new rc.diskless and
 new examples that uses the mount_union idea for retargeting
 during a diskless boot that will be much more straightward and
 obvious.
 

Hasn't mount_union been dead for ~forever (+/- a few years)?

   -Matt
   Matthew Dillon 
   dil...@backplane.com
 
 
 
 rc_conf_files=/etc/rc.conf.site /etc/rc.conf.local
 
 ...
 
 ##
 ### Allow local configuration override at the very end here ##
 ##
 #
 #
 
 for i in ${rc_conf_files}; do
 if [ -f $i ]; then
 . $i
 fi
 done
 
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-current in the body of the message
 

 Brian Feldman_ __  ___ ___ ___  
 gr...@unixhelp.org   _ __ ___ | _ ) __|   \ 
 http://www.freebsd.org/ _ __ ___  | _ \__ \ |) |
 FreeBSD: The Power to Serve!  _ __ ___  _ |___/___/___/ 


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: cleanup of rc.conf ( -4.x )

1999-02-09 Thread Eivind Eklund
On Mon, Feb 08, 1999 at 08:14:55PM -0800, Matthew Dillon wrote:
 This does not make any operational change except to get rid
 of the $conf_dir junk from rc.conf, which I originally put 
 in to try to bootstrap rc.diskless.
 
 A much better way to do rc.diskless was suggested to me,
 which I'm going to implement.  It involves retargeting
 the /conf/ME softlink by mount_union'ing a small MFS 

Union mounts do not work, and I believe they are some distance from
working (unless you have better patches than I do, of course).

Eivind.

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: cleanup of rc.conf ( -4.x )

1999-02-09 Thread Garrett Wollman
On Tue, 9 Feb 1999 16:00:54 +0100, Eivind Eklund eiv...@freebsd.org said:

 A much better way to do rc.diskless was suggested to me,
 which I'm going to implement.  It involves retargeting
 the /conf/ME softlink by mount_union'ing a small MFS 

 Union mounts do not work, and I believe they are some distance from
 working (unless you have better patches than I do, of course).

Last I checked, union mounts work just fine, thank you very much.
unionfs (which should have been called `translucentfs') is what
doesn't work.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
woll...@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: cleanup of rc.conf ( -4.x )

1999-02-09 Thread Matthew Dillon

: the /conf/ME softlink by mount_union'ing a small MFS 
:
: Union mounts do not work, and I believe they are some distance from
: working (unless you have better patches than I do, of course).
:
:Last I checked, union mounts work just fine, thank you very much.
:unionfs (which should have been called `translucentfs') is what
:doesn't work.
:
:-GAWollman

union mounts are broken.  I must have panic'd my test box 50 times
trying to get them to work.

null mounts are also broken -- mmap()ing NFS based files through a null
mount doesn't work, amoung other things.

Fortunately I found another way using the less sophisticated
-o union type of mount ( verses the more sophisticated mount_union ).

-Matt
Matthew Dillon 
dil...@backplane.com

:--
:Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
:woll...@lcs.mit.edu  | O Siem / The fires of freedom 
:Opinions not those of| Dance in the burning flame
:MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: cleanup of rc.conf ( -4.x )

1999-02-09 Thread Garrett Wollman
On Tue, 9 Feb 1999 09:24:12 -0800 (PST), Matthew Dillon 
dil...@apollo.backplane.com said:

 union mounts are broken.  I must have panic'd my test box 50 times
 trying to get them to work.

 Fortunately I found another way using the less sophisticated
 -o union type of mount

That is a union mount.  Which is it -- broken or not?

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
woll...@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: cleanup of rc.conf ( -4.x )

1999-02-09 Thread Dag-Erling Smorgrav
Matthew Dillon dil...@apollo.backplane.com writes:
 union mounts are broken.  I must have panic'd my test box 50 times
 trying to get them to work.

Nonono. The union filesystem ('mount -t union') is broken. Union
mounts ('mount -o union') are not.

DES
-- 
Dag-Erling Smorgrav - d...@flood.ping.uio.no

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: cleanup of rc.conf ( -4.x )

1999-02-09 Thread Matthew Dillon

:Matthew Dillon dil...@apollo.backplane.com writes:
: union mounts are broken.  I must have panic'd my test box 50 times
: trying to get them to work.
:
:Nonono. The union filesystem ('mount -t union') is broken. Union
:mounts ('mount -o union') are not.
:
:DES
:-- 
:Dag-Erling Smorgrav - d...@flood.ping.uio.no

Ack.  We're just confusing terminology.  We're both saying the same
thing.

-Matt
Matthew Dillon 
dil...@backplane.com

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: cleanup of rc.conf ( -4.x )

1999-02-09 Thread Mikhail Teterin
 Fortunately I found another way using the less sophisticated
 -o union type of mount ( verses the more sophisticated mount_union ).

Well, there are problems here too. I had /var/mail mounted with -o union
from another host. My own, local, mailbox would get corrupted every once
in a while -- lots of \0, some other strings. 16K in size.

This is on 3.0-RELEASE, with NFSv3. The server is Solaris.

-mi

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: cleanup of rc.conf ( -4.x )

1999-02-09 Thread perlsta


On Tue, 9 Feb 1999, Mikhail Teterin wrote:

  Fortunately I found another way using the less sophisticated
  -o union type of mount ( verses the more sophisticated mount_union ).
 
 Well, there are problems here too. I had /var/mail mounted with -o union
 from another host. My own, local, mailbox would get corrupted every once
 in a while -- lots of \0, some other strings. 16K in size.
 
 This is on 3.0-RELEASE, with NFSv3. The server is Solaris.

There were several NFS fixes put in after 3.0-RELEASE i do not know if
they are applicable to your situation though.

-Alfred


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: cleanup of rc.conf ( -4.x )

1999-02-09 Thread Matthew Dillon
: Well, there are problems here too. I had /var/mail mounted with -o union
: from another host. My own, local, mailbox would get corrupted every once
: in a while -- lots of \0, some other strings. 16K in size.
: 
: This is on 3.0-RELEASE, with NFSv3. The server is Solaris.
:
:There were several NFS fixes put in after 3.0-RELEASE i do not know if
:they are applicable to your situation though.
:
:-Alfred

The zero-corruption bug is fixed in both -stable and -current.

-Matt
Matthew Dillon 
dil...@backplane.com

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: cleanup of rc.conf ( -4.x )

1999-02-09 Thread Brian Feldman
On Tue, 9 Feb 1999, Garrett Wollman wrote:

 On Tue, 9 Feb 1999 16:00:54 +0100, Eivind Eklund eiv...@freebsd.org said:
 
  A much better way to do rc.diskless was suggested to me,
  which I'm going to implement.  It involves retargeting
  the /conf/ME softlink by mount_union'ing a small MFS 
* Note this.

 
  Union mounts do not work, and I believe they are some distance from
  working (unless you have better patches than I do, of course).
 
 Last I checked, union mounts work just fine, thank you very much.
 unionfs (which should have been called `translucentfs') is what
 doesn't work.

See above note and reference to mount_union(8).

 
 -GAWollman
 
 --
 Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the 
 same
 woll...@lcs.mit.edu  | O Siem / The fires of freedom 
 Opinions not those of| Dance in the burning flame
 MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-current in the body of the message
 

 Brian Feldman_ __  ___ ___ ___  
 gr...@unixhelp.org   _ __ ___ | _ ) __|   \ 
 http://www.freebsd.org/ _ __ ___  | _ \__ \ |) |
 FreeBSD: The Power to Serve!  _ __ ___  _ |___/___/___/ 


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


cleanup of rc.conf ( -4.x )

1999-02-08 Thread Matthew Dillon
This does not make any operational change except to get rid
of the $conf_dir junk from rc.conf, which I originally put 
in to try to bootstrap rc.diskless.

A much better way to do rc.diskless was suggested to me,
which I'm going to implement.  It involves retargeting
the /conf/ME softlink by mount_union'ing a small MFS 
filesystem onto /conf.  Then one simply makes /etc/rc.conf.local
a softlink to /conf/ME/rc.conf.local ( i.e. a sysop would do 
that as an extra, we wouldn't distribute the base system 
like that of course )

In anycase, I've committed a new rc.conf that gets rid
of $conf_dir, FYI, and am about to commit a new rc.diskless and
new examples that uses the mount_union idea for retargeting
during a diskless boot that will be much more straightward and
obvious.

-Matt
Matthew Dillon 
dil...@backplane.com



rc_conf_files=/etc/rc.conf.site /etc/rc.conf.local

...

##
### Allow local configuration override at the very end here ##
##
#
#

for i in ${rc_conf_files}; do
if [ -f $i ]; then
. $i
fi
done



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message