/usr/include/blockdev/fs/ntfs.h is in libblockdev-fs-dev 2.16-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #include <glib.h>
#include <blockdev/utils.h>
#ifndef BD_FS_NTFS
#define BD_FS_NTFS
typedef struct BDFSNtfsInfo {
guint64 size;
guint64 free_space;
} BDFSNtfsInfo;
BDFSNtfsInfo* bd_fs_ntfs_info_copy (BDFSNtfsInfo *data);
void bd_fs_ntfs_info_free (BDFSNtfsInfo *data);
gboolean bd_fs_ntfs_mkfs (const gchar *device, const BDExtraArg **extra, GError **error);
gboolean bd_fs_ntfs_wipe (const gchar *device, GError **error);
gboolean bd_fs_ntfs_check (const gchar *device, GError **error);
gboolean bd_fs_ntfs_repair (const gchar *device, GError **error);
gboolean bd_fs_ntfs_set_label (const gchar *device, const gchar *label, GError **error);
BDFSNtfsInfo* bd_fs_ntfs_get_info (const gchar *device, GError **error);
gboolean bd_fs_ntfs_resize (const gchar *device, guint64 new_size, GError **error);
#endif /* BD_FS_NTFS */
|