This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]