diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2006-08-25 19:44:00 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2006-08-25 19:44:00 +0000 |
commit | 4162ccd5d5ebbcdb8d850f9f1e87fac95b920a24 (patch) | |
tree | fb2252caf0651cf4519f9fd7ebe7068908bea25d /gnome-base/gnome-mount/files | |
parent | Stable on amd64/x86 wrt bug #144167. (diff) | |
download | gentoo-2-4162ccd5d5ebbcdb8d850f9f1e87fac95b920a24.tar.gz gentoo-2-4162ccd5d5ebbcdb8d850f9f1e87fac95b920a24.tar.bz2 gentoo-2-4162ccd5d5ebbcdb8d850f9f1e87fac95b920a24.zip |
New revision, add patch to support mounting NTFS drives with ntfs-3g.
(Portage version: 2.1.1_pre5-r3)
Diffstat (limited to 'gnome-base/gnome-mount/files')
-rw-r--r-- | gnome-base/gnome-mount/files/digest-gnome-mount-0.4-r5 | 3 | ||||
-rw-r--r-- | gnome-base/gnome-mount/files/gnome-mount-0.4-ntfs3g.patch | 17 |
2 files changed, 20 insertions, 0 deletions
diff --git a/gnome-base/gnome-mount/files/digest-gnome-mount-0.4-r5 b/gnome-base/gnome-mount/files/digest-gnome-mount-0.4-r5 new file mode 100644 index 000000000000..8b49c8a43c9e --- /dev/null +++ b/gnome-base/gnome-mount/files/digest-gnome-mount-0.4-r5 @@ -0,0 +1,3 @@ +MD5 75f260ea6b0ec3c5e0af3c722fbd9568 gnome-mount-0.4.tar.gz 364546 +RMD160 a4f28e3111bfcfce2101cbf53f9c57f63d9ba2be gnome-mount-0.4.tar.gz 364546 +SHA256 fa9456c0cd1adeda962721fed955914bdc23723a403bebf31bd95a1f54211dd8 gnome-mount-0.4.tar.gz 364546 diff --git a/gnome-base/gnome-mount/files/gnome-mount-0.4-ntfs3g.patch b/gnome-base/gnome-mount/files/gnome-mount-0.4-ntfs3g.patch new file mode 100644 index 000000000000..e1c282319cf2 --- /dev/null +++ b/gnome-base/gnome-mount/files/gnome-mount-0.4-ntfs3g.patch @@ -0,0 +1,17 @@ +diff -ur gnome-mount-0.4-orig/src/gnome-mount.c gnome-mount-0.4/src/gnome-mount.c +--- gnome-mount-0.4-orig/src/gnome-mount.c 2006-02-24 00:14:23.000000000 -0500 ++++ gnome-mount-0.4/src/gnome-mount.c 2006-08-25 13:56:00.000000000 -0400 +@@ -651,6 +651,13 @@ + snprintf (uidbuf, sizeof (uidbuf) - 1, "uid=%u", getuid ()); + g_ptr_array_add (options, uidbuf); + } ++ } else if (strcmp (fstype, "ntfs-3g") == 0) { ++ /* needed for FUSE to mount */ ++ g_ptr_array_add (options, "nonempty"); ++ if (opts & MOUNT_UID) { ++ snprintf (uidbuf, sizeof (uidbuf) - 1, "uid=%u", getuid ()); ++ g_ptr_array_add (options, uidbuf); ++ } + } else if (strcmp (fstype, "iso9660") == 0) { + if (opts & MOUNT_UID) { + snprintf (uidbuf, sizeof (uidbuf) - 1, "uid=%u", getuid ()); |