On Fri, Jul 18, 2003 at 12:58:34PM +0200, Gotschy Bernd wrote:
> main()
> {
> if (mount("/dev/dsk/c0t2d0s7", "/mnt", (int) 0, "vxfs", (char *) 0,
> (int) 0, (char *) 0, (int) 0)) {
> printf("errno=%d (%s)\n", errno, strerror(errno));
> }
> }
>
> I get the error message:
>
> errno=22 (Invalid argument)
>
> I use gcc 2.95.2. Solaris is 2.8.
>
> Anybody who knows this problem? A mount from the OS works.
I don't know, but I'm guessing that the standard Solaris mount system
call doesn't support vxfs. You might have to use a different call
implemented in the Veritas kernel modules -- you could examine mount_vxfs
to discover what this call is.
_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users