[Mono-list] How to mount a drive under mono
adrin
adrin84 at gmail.com
Fri Jul 31 15:12:33 EDT 2009
Chris Howie wrote:
>
>
> There is not a way to do this short of implementing the P/Invoke
> yourself or running a process. See
> <http://go-mono.com/docs/monodoc.ashx?tlink=18@ecma%3a285%23Syscall%2f>:
>
> mount: Inherently non-portable across the various Unix flavours, and
> will never be supported. Instead, use System.Diagnostics.Process and
> invoke the command-line mount(8) program.
>
>
Thanks for your response, I've used Process to invoke mount/umount, it is
pretty straight forward and works well in my scenario.
--
View this message in context: http://www.nabble.com/How-to-mount-a-drive-under-mono-tp24740295p24761691.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list