Forum Topic - Can't mount NTFS: (7 Items)
   
Can't mount NTFS  
In QNX 6.4.1 there is read-only support of NTFS filesystem but I cannot mount NTFS. fdisk shows me NFST partition with 
type 7 and there is /dev/hd0t7.

mount -t nt /dev/hd0t7 /mynt
mount: Can't mount /mynt (type nt)
mount: Possible reason: Can't access shared library

Though I list (ls) fs-nt.so into /lib/dll with common permissions like fs-qnx6.so and others.

PS. diskboot doen't mount NTFS automatically as declared. It seems the same thing.
Re: Can't mount NTFS  
> mount -t nt /dev/hd0t7 /mynt
> mount: Can't mount /mynt (type nt)
> mount: Possible reason: Can't access shared library
> 
> Though I list (ls) fs-nt.so into /lib/dll with common permissions like fs-qnx6.so and others.

Yes, the fsys can't mount DLLs from itself.  For whatever reason the new DLLs were not placed into the imagefs.  

You should be able to do it like this:

# cp /lib/dll/fs-nt.so /dev/shmem
# mount -r -t /dev/shmem/fs-nt.so /dev/hd0t7 /mynt

Or you might want to add fs-nt.so into your boot image.
Re: Can't mount NTFS  
I've made a misprints. Really I have NFTS on hd1 (hd1t7), sorry for that.

So, this works:

# cp /lib/dll/fs-nt.so /dev/shmem
# mount -r -t /dev/shmem/fs-nt.so /dev/hd1t7 /mynt
Thanks!

And next one does not

> Or you might want to add fs-nt.so into your boot image.

Though I see fs-nt.so in /proc/boot/
Re: Can't mount NTFS  
On Fri, 5 Jun 2009, Michael Kolesov wrote:

>In QNX 6.4.1 there is read-only support of NTFS filesystem but I cannot
>mount NTFS. fdisk shows me NFST partition with type 7 and there is
>/dev/hd0t7.
>
>mount -t nt /dev/hd0t7 /mynt
>mount: Can't mount /mynt (type nt)
>mount: Possible reason: Can't access shared library
>
>Though I list (ls) fs-nt.so into /lib/dll with common permissions like
>fs-qnx6.so and others.

I ran into something like this a while back where I wanted to use the udf
filesystem.

Update your build file for you boot image to include fs-nt.so and you
should be able to mount it.

ie (from /boot/build/qnxbasedma.build):

# Include all the files for the default filesystems
libcam.so
io-blk.so
cam-disk.so
fs-qnx4.so
fs-qnx6.so
fs-dos.so
fs-ext2.so
cam-cdrom.so
fs-cd.so
fs-udf.so
-> add fs-nt.so here,

Hope that helps.

Peter


>
>PS. diskboot doen't mount NTFS automatically as declared. It seems the
>same thing.


>
>_______________________________________________
>General
>http://community.qnx.com/sf/go/post30994
>
>
Re: Can't mount NTFS  
OK. If I include fs-nt.so into image I can mount NTFS as usully but that partition doen't mount automatically. How I 
understand, it's diskboot feature..is it?
Re: Can't mount NTFS  
On Thu, 11 Jun 2009, Michael Kolesov wrote:

>OK. If I include fs-nt.so into image I can mount NTFS as usully but that
>partition doen't mount automatically. How I understand, it's diskboot
>feature..is it?

Looks like the diskboot automount routines are still only looking at
dos/ext2/qnx4/qnx6 type partitions at this time.

Peter

>
>_______________________________________________
>General
>http://community.qnx.com/sf/go/post31457
>
>
Re: Can't mount NTFS  
> Looks like the diskboot automount routines are still only looking at
> dos/ext2/qnx4/qnx6 type partitions at this time.

I always remove diskboot (since I am not in the habit of changing my HD controller and re-partitioning disk every week) 
and just statically "blk automount=" the appropriate fsys right in the boot image.

But the easiest alternative would probably be to add the extra NTFS mount into '/etc/rc.d/rc.local' script:

if test -b /dev/hd0t7; then mount -rtnt /dev/hd0t7 /fs/ntfs; fi