Hi, Thanks, Richard, for your contribution to ntfs-3g.
This is now available on http://sourceforge.net/p/ntfs-3g/ntfs-3g/ci/f4e3f126df0a577903ec043dbcbe38e2863ce3d6/ Please use this as a reference for further changes. I have added a comment to explain why <sys/mount.h> should not be included. I have also added support for fstrim from lowntfs-3g. I have borrowed a computer with a SSD, the returned discard parameters were : discard_granularity : 512 discard_max_bytes : 2147450880 sector_size : 512 optimal_iosize : 0 (?) So I would expect fstrim would run fine with a SSD, but as this is not my computer, I did not actually fstrim. Jean-Pierre Richard W.M. Jones wrote: > --- > configure.ac | 3 +- > include/ntfs-3g/ioctl.h | 30 ++++ > include/ntfs-3g/volume.h | 3 - > libntfs-3g/Makefile.am | 1 + > libntfs-3g/ioctl.c | 382 > +++++++++++++++++++++++++++++++++++++++++++++++ > src/ntfs-3g.c | 31 +++- > 6 files changed, 440 insertions(+), 10 deletions(-) > create mode 100644 include/ntfs-3g/ioctl.h > create mode 100644 libntfs-3g/ioctl.c > > ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ ntfs-3g-devel mailing list ntfs-3g-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel