Subject: Re: problem with tmpfs and linux emulation?
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 11/09/2005 20:40:17
In message <1131579856.106778.1144.nullmailer@yamt.dyndns.org>, YAMAMOTO Takash
i writes:
>> What, precisely, is the problem?  What is there about tmpfs that a 
>> application can detect?
>> 
>> 		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb
>
>i think that you need to confirm your problem is
>really tmpfs related or not.
>

I already did, of course, but I repeated it.  

Here's a shell sequence:

# mount -t mfs /dev/wd0b /mnt
# cp ~smb/.profile /mnt/foo.txt


# umount /mnt
# mount -t tmpfs /dev/wd0b /mnt
# cp ~smb/.profile /mnt/foo.txt


# umount /mnt                  
# mount -t mfs /dev/wd0b /mnt  
# cp ~smb/.profile /mnt/foo.txt


# umount /mnt

Right after each 'cp', I uniconized OpenOffice2, typed ^O, typed

	/mnt/ [ENTER]

in the box.  For the mfs file system, it showed foo.txt; for the tmpfs 
file system, it showed nothing.  I can open the file by typing its 
name, so it's annoying rather than critical.  Working in a subdirectory 
didn't help.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb