Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news2.glorb.com!news-xfer.nntp.sonic.net!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail Date: Tue, 26 Apr 2011 13:06:01 -0400 From: JimR User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110407 Mandriva/3.1.9-0.2mdv2010.2 (2010.2) Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 Newsgroups: comp.os.linux.misc Subject: File real location Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 18 Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: 7578616e.news.astraweb.com X-Trace: DXC=i_HeGZ\4DUkTSR1JO8jBlmL?0kYOcDh@jW[FS9l[dUZmjZ[HUKIQP@gDceG2mA8=edRJXO^\?_5XiMF09R:[SMKanYHXmGNnO`liZkK5V;eOoe Xref: x330-a1.tempe.blueboxinc.net comp.os.linux.misc:916 This applies to Unix as well as Linux, but has been bugging me for awhile. Supposed I have a filesystem that is optionally mounted. Let's says the mount point is /foo Now I create a file on it, let's call it bar. Now I have /foo/bar In an alternative case, the filesystem is not mounted. I can still create a file bar in the directory foo, but it will fall onto the default filesystem (likely root filesystem). How can I tell the difference between these 2 files, i.e., on which filesystem did the file land? Thanks, JimR