Changing the web interface mount funtionality to use ntfs-3g
Posted: 12 Sep 2008, 13:48
Hello again, here comes another one:
I added the etch backport repository to sources.list and installed ntfs-3g for write access to NTFS USB drives.
It works just fine if I mount it manually. I had a look at your script behind the mount button in the web interface looking to change the default behaviour to use ntfs-3g rather than ntfs.
I saw a function called mount which seemed to do it (sorry haven't got the file name I was looking at, no access to bubba2 now), and it was calling a function called user_mount without specifying the file system of the device. Where can I find this user_mount function source code or documentation?
Sorry if this is a stupid question, I could find no such function in your scripts, no documentation in man or google...
Is it possible to do what I want? (I don't care if my changes will be overwritten by a future update, I can document the changes an redo them)
Thanks in advance!
Cheeseboy
EDIT: Clarified subject.
I added the etch backport repository to sources.list and installed ntfs-3g for write access to NTFS USB drives.
It works just fine if I mount it manually. I had a look at your script behind the mount button in the web interface looking to change the default behaviour to use ntfs-3g rather than ntfs.
I saw a function called mount which seemed to do it (sorry haven't got the file name I was looking at, no access to bubba2 now), and it was calling a function called user_mount without specifying the file system of the device. Where can I find this user_mount function source code or documentation?
Sorry if this is a stupid question, I could find no such function in your scripts, no documentation in man or google...
Is it possible to do what I want? (I don't care if my changes will be overwritten by a future update, I can document the changes an redo them)
Thanks in advance!
Cheeseboy
EDIT: Clarified subject.