Re: 'cd' command with filesystem
Shawn Silverman <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
I just tested these methods and they all work properly, both from a standalone program mounted in a separate directory, and using my default build with a log file printed to by my driver. Here's a copy of my session: tini00f1ab /> cd mfs mfs does not exist. tini00f1ab /> ls mfs web tini00f1ab /> ls -l mfs mfs: No such file or directory. -Shawn On 16-Feb-04, at 1:37 PM, Lorne Smith wrote: > I just tested the cd command with the NetworkFileSystem example (App. > Note > 709) and it works fine. Check your driver code for the following > functions: > > public boolean exists(String fileName) > public boolean isDirectory(String fileName) > public boolean canRead(String fileName, byte uid) > > Each will be called with an empty string as the fileName parameter. > If any > of these return false, you will not be able to complete the cd command. > This gives the driver a chance to grant or deny access to mount point > as > needed. > > --Lorne _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini