Hi Manish,
Truss the command and you'll see how it works:
$ truss mount -F ntfs /dev/dsk/c0t0d0s2 /mnt
execve("/sbin/mount", 0xFFBFF0C4, 0xFFBFF0DC) argc = 5
[ ... ]
stat64("/mnt", 0xFFBFEE58) = 0
resolvepath("/mnt", "/mnt", 1024) = 4
access("/usr/lib/fs/ntfs/mount", F_OK) Err#2 ENOENT
execve("/etc/fs/ntfs/mount", 0xFFBFF024, 0xFFBFF0DC) Err#2 ENOENT
[ ... ]
write(2, " m o u n t", 5) = 5
write(2, " : O p e r a t i o n ".., 37)= 37
write(2, " n t f s", 4) = 4
write(2, "\n", 1) = 1
_exit(1)
See also the source of /usr/sbin/mount, in usr/src/cmd/fs.d/mount.c.
You need fs-specific mount/fsck/fstyp/mkfs commands that get
installed to usr/src/lib/fs.d/<yourfsname>/..., if you wish
these things to work. It's not sufficient on Solaris to write
just a filesystem driver, you need to do filesystem utilities
as well - at least mount/umount.
FrankH.
_______________________________________________
ufs-discuss mailing list
[email protected]