Re: mounting /var/run as mfs
From: Brian A. Seklecki (lavalamp_at_spiritual-machines.org)
Date: 11/09/03
- Previous message: Sebastian: "Re: Newbie Help Required!"
- In reply to: Igor Sobrado: "mounting /var/run as mfs"
- Next in thread: Igor Sobrado: "Re: mounting /var/run as mfs"
- Reply: Igor Sobrado: "Re: mounting /var/run as mfs"
- Reply: Igor Sobrado: "Re: mounting /var/run as mfs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 09 Nov 2003 09:33:00 -0500
On Fri, 31 Oct 2003 17:54:32 +0100, Igor Sobrado wrote:
> Hello.
>
> I have read some useful articles about the layout of the NetBSD
At first I was very skeptical of your report, but I went ahead and tried
it just now and indeed I see that I can simulate it.
Would you like to send-pr(1) on this or shall I? Contact me off-group if
you wish. The best way to approach a possible debug on this is to setup
the RC shutdown scripts to run "sh -x" so we can see what is going wrong
right there at the end of /etc/rc.shutdown
-lava
> filesystems. I specially like the next one, written by Grey Wolf:
> http://ezine.daemonnews.org/200209/diskpartnbsd.html
>
> Now, I have a question about mounting /var/run as a mfs filesystem
> (in the same way it is a tmpfs in Solaris). Let us suppose that
> a NetBSD machine has this fstab(5):
>
> /dev/wd0a / ffs rw,softdep 1 1
> /dev/wd0b none swap sw 0 0
> /dev/wd0e /stand ffs rw,softdep 1 2
> /dev/wd0f /var ffs rw,softdep 1 2
> /dev/wd0g /usr ffs rw,softdep 1 2
> /dev/wd0h /usr/contrib ffs rw,softdep 1 2
> /dev/wd0i /usr/obj ffs rw,softdep 1 2
> /dev/wd0j /usr/pkg ffs rw,softdep 1 2
> /dev/wd0k /usr/pkgsrc ffs rw,softdep 1 2
> /dev/wd0l /usr/src ffs rw,softdep 1 2
> /dev/wd0m /dump ffs rw,softdep 1 2
> /dev/wd0n /home ffs rw,softdep 1 2
> swap /var/run mfs rw,-s=1m 0 0 <- /var/run entry
> swap /tmp mfs rw,-s=16m 0 0
> kernfs /kern kernfs rw 0 0
> procfs /proc procfs rw 0 0
>
> With this configuration, we will have problems when shutting down
> the computer, that will not shut down cleanly.
>
> How can we set up a mfs filesystem for /var/run? From Grey Wolf's
> article, it looks possible. I like running /var/run as a memory
> filesystem, as in recent Solaris releases (well, it is a tmpfs
> in Solaris since Rel. 8).
>
> Thanks in advance for any help on this issue!
>
> Igor.
- Previous message: Sebastian: "Re: Newbie Help Required!"
- In reply to: Igor Sobrado: "mounting /var/run as mfs"
- Next in thread: Igor Sobrado: "Re: mounting /var/run as mfs"
- Reply: Igor Sobrado: "Re: mounting /var/run as mfs"
- Reply: Igor Sobrado: "Re: mounting /var/run as mfs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|