I've coded the mount.c in /usr/src/cmd/fs.d/ntfs/mount.c. I'm trying to compile the src now, using the standard Makefile:
FSTYPE= ntfs
LIBPROG= mount
include ../Makefile.fstype
include ../Makefile.mount
include ../Makefile.mount.targ
; but here is the error I'm getting:
#SRC="" make
Xa - xildoff -errtags=yes -errwan=.... -I/export/home/solaris/usr/src/cmd/fs.d -c -o mount.o mount.c
sh: Xa: not found
*** Error code 1 (ignored)
/usr/ccs/bin/mcs: mount.o: cannot open file.
No such file or directory
...
make: fatal error: Command failed for target 'mount.o'
What is this Xa, which is missing from the system. Which package will contain the executable?
Regards
Manish
On 3/6/06, Frank Hofmann - Solaris Sustaining <[EMAIL PROTECTED]> wrote:
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.
--
Final Year, ABP
School of Comp. Engg.
NTU, Singapore
+65-97960183
_______________________________________________ ufs-discuss mailing list [email protected]
