On 9/16/07, Juan Miscaro <[EMAIL PROTECTED]> wrote:
> Hi. I am running OBSD 4.0 with a memory filesystem. My fstab file
> contains:
>
> swap /var/mini/tmp mfs rw,nodev,noexec,nosuid,-s=750000 0 0
...
> I would like to regain some RAM by reducing the size (to 500000).
>
> I figure I will stop the single application that is accessing the
> filesystem and then umount & mount. The trouble is that I am unsure
> how to refer to it as. I am used to /dev/blah and I have 'swap' in
> fstab and 'mfs:9659' from the output of mount. Can somebody clarify
> this please?
Umm, you _do_ know that you can pass umount the mount-point of a
filesystem, don't you? I.e., you can just say:
umount /var/mini/tmp
An alternate solution is suggested by the mount_mfs(8) manpage:
<....> If mount_mfs is sent
a signal while running, for example during system shutdown, it will at-
tempt to unmount its corresponding file system. <...>
So, "kill 9659" should work too, as that's the daemon's pid in the
"mfs:9659" that is reported as the device for the mount.
Philip Guenther