Accessibility of files in FileSystemDriver

Shawn Silverman <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
I have implemented a FileSystemDriver that mounts itself when Slush 
starts -- I've replaced the main() method.

My question is, say I've mounted it in "/mnt", and there's a file named 
"data.txt".  I know that from the Slush shell I can access 
"/mnt/data.txt".  What about from separate processes?  How does 'new 
File("/mnt/data.txt")' work if the DSFile static instance used to mount 
is in the Slush process?  What goes on internally with the filesystem?

My guess is that I still need to mount the filesystem another time from 
all processes that aren't Slush, with a new instance of my 
FileSystemDriver.

Is this correct?  I'm off to try this theory...

	-Shawn

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.