Re: How to convert /tmp to memfs after install

third_at_whasup.com
Date: 10/17/05


Date: Mon, 17 Oct 2005 20:46:10 +0000 (UTC)

As per Bob Bailin (72027.3605@compuserve.com):

>
> "Steve M. Fabac, Jr." <smfabac@att.net> wrote in message
> news:4353316A.84F6D02@att.net...
> >I am installing Openserver 6.0 for the first time on my test system
> > and blew through the file system configuration during installation
> > so that /tmp is on the root file system.
> >
> > I have searched the documentation without finding a solution on
> > how to set up /etc/vfstab to create and mount /tmp as memfs
> >
> > How do I do that without resorting to a re-installation?
>
> Agreed.
>
> man mount_memfs
> is not much help. It implies that you should be able to issue:
>
> mount -F memfs /tmp
>
> in order to create a memory filesystem that replaces the
> contents of /tmp, using the maximum value from the memory
> pool, but all you get is:
>
> UX:mount: ERROR: cannot determine special device
>
> (no special device is required, because it's a memfs!)
>
> Bob

Regarding the "mount" command, try:

/etc/fscmd.d/memfs/mount memfs MOUNT_POINT

-3-