summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--shared-mime-info-spec.xml5
2 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index be86f51..14e7a32 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,9 @@
shared-mime-info Thomas Leonard http://www.freedesktop.org
+* Specify number of characters to test when checking for text files
+ (requested by Jaap Karssenberg).
+
* Added <alias> and <sub-class-of> fields.
Version 0.12 (28-Aug-2003)
diff --git a/shared-mime-info-spec.xml b/shared-mime-info-spec.xml
index f32f25b..e1ec7c9 100644
--- a/shared-mime-info-spec.xml
+++ b/shared-mime-info-spec.xml
@@ -594,7 +594,10 @@ to the standard types of object found in a Unix filesystem:
</simplelist>
<para>
An inode/mount-point is a subclass of inode/directory. It can be useful when adding extra
-actions for these directories, such as 'mount' or 'eject'.
+actions for these directories, such as 'mount' or 'eject'. Mounted directories can be
+detected by comparing the 'st_dev' of a directory with that of its parent. If
+they differ, they are from different devices and the directory is a mount
+point.
</para>
</sect2>
<sect2>