Re: [Linux-ha-dev] [patch] Filesystem RA support for tmpfs

2011-10-03 Thread Dejan Muhamedagic
Hi, On Sun, Oct 02, 2011 at 11:38:23AM +0200, Endre Holecz wrote: > Hello, > > sorry to be somewhat late. :) The /proc/filesystem check is necessary, > as there is no tmpfs module (compiled into the kernel, at least on > RHEL6 and derivatives), and modprobe fails. > > That grep is indeed incorrect

[Linux-ha-dev] [patch] Filesystem RA support for tmpfs

2011-10-02 Thread Endre Holecz
Hello, sorry to be somewhat late. :) The /proc/filesystem check is necessary, as there is no tmpfs module (compiled into the kernel, at least on RHEL6 and derivatives), and modprobe fails. That grep is indeed incorrect, because there are: nodev tmpfs nodev devtmpfs lines in /proc/filesystem.

Re: [Linux-ha-dev] [patch] Filesystem RA support for tmpfs

2011-09-01 Thread Dejan Muhamedagic
Hi, On Sun, Aug 28, 2011 at 02:57:25PM +0200, Endre Holecz wrote: > Hi, > > I needed to mount tmpfs, but the current RA would fail, so I modified > it. The params would look like this: > > device="none" > fstype="tmpfs" > directory="/foo" > options="size=512m" > > Changes made: > > - don't check

[Linux-ha-dev] [patch] Filesystem RA support for tmpfs

2011-08-29 Thread Endre Holecz
Hi, I needed to mount tmpfs, but the current RA would fail, so I modified it. The params would look like this: device="none" fstype="tmpfs" directory="/foo" options="size=512m" Changes made: - don't check for /dev/* if fstype is tmpfs - blockdevice="no" for tmpfs - first check /proc/filesyst