> What do you exactly mean by "NTFS-3G mountpoint to fail"? What happens and
> what do you expect to happen?

This is hard to explain :)

For example: first I mount the sda1 partition using ntfs-3g.
Then I execute killall5 binary. After that, 'stat /mnt/sda1' returns:
stat: cannot stat 'sda1': Transport endpoint is not connected.
The same error is shown after ls /mnt/sda1 for example.

ps -ef shows that ntfs-3g process is no more running.

In my real scenario, it's even more complicated. I run a Linux 
distribution with 'persistent changes' on NTFS; in fact, a big file is 
opened from the NTFS partition and loop-mounted as a root xfs filesystem.

In this case, killall5 causes the system to hang, because it can no more 
access anything from the root filesystem (which is mounted from NTFS).

But my real scenario is not important I guess, as I can reproduce the 
problem on a normal Linux workstation as described at the top.

I guess it's a problem of killall5.
But I just would like to know if NTFS crew can avoid these problems as 
it is IMHO pretty common that a distro executes killall5 during the 
shutdown.

(If NTFS is first unmounted and then killall5 is called during system 
shutdown, then it's OK of course, so I understand that I can fix my 
problem by modifying shutdown scripts of my distro. What I'm looking for 
is a more general solution.)

Thank you

Tomas M
slax.org



> 
> If ntfs-3g gets a SIGINT or SIGTERM then it should cleanly unmount the
> volume.
> 
> If you use it as a root filesystem then most often (depending on your
> setup, etc) you shouldn't kill it first.
> 
>> Is it possible to fix this problem anyhow?
>>
>> Or should I forwarded the problem to killall5 developers?
> 
> I'm not sure this is an ntfs-3g or killall5 issue but more like a distro
> dependent one. In certain scenarios it can be ok to use killall5, and in
> others it isn't.
> 
>         Szaka
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to