This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Filesystem and Mount table
- From: "Rajesh Venkataraman" <Rajesh_Venkataraman at Trimble dot com>
- To: <ecos-discuss at sourceware dot org>
- Date: Fri, 17 Mar 2006 17:37:04 -0800
- Subject: [ECOS] Filesystem and Mount table
Hi,
I am running ecos on a power pc platform. I have mounted two
filesystems as /Mount1 and /Mount2 under "root". I also have a
filesystem mounted as "/". I have a ftp server running. I would like to
access the mounted directories using the relative path from "root. But
the function cyg_mtab_lookup() in
packages/io/fileio/current/src/misc.cxx passes all the relative path to
the current filesystem(i.e root). I cannot do chdir("Mount1 ) from
"root" or chdir("..") from Mount1. How to make the fileio look at mount
tables before passing it to the current file system? Is there a way to
do this without changing the cyg_mtab_lookup() function?
Thank you
Rajesh
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss