summaryrefslogtreecommitdiff
path: root/sysutils/hal/files/patch-hald_hf-storage.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2008-04-13 23:38:02 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2008-04-13 23:38:02 +0000
commit22e5d827b5524afd1b4c9522e851f4816db7c4ab (patch)
treeadef4026e3b051174c58a164873b39a1b83895bf /sysutils/hal/files/patch-hald_hf-storage.c
parentAdd milkytracker 0.90.80, a free music creation tool inspired by Fast (diff)
* Do not probe disc media unless the media is known to contain data
* Be less conservation about which device nodes are mountable volumes These patches were tested together by mezz, and individually by Andriy Gapon and Andreas Wetzel respectively.
Diffstat (limited to 'sysutils/hal/files/patch-hald_hf-storage.c')
-rw-r--r--sysutils/hal/files/patch-hald_hf-storage.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/hal/files/patch-hald_hf-storage.c b/sysutils/hal/files/patch-hald_hf-storage.c
new file mode 100644
index 000000000000..7f504c6c9a9e
--- /dev/null
+++ b/sysutils/hal/files/patch-hald_hf-storage.c
@@ -0,0 +1,18 @@
+--- hald/freebsd/hf-storage.c.orig 2008-04-07 00:40:06.000000000 -0400
++++ hald/freebsd/hf-storage.c 2008-04-07 00:40:37.000000000 -0400
+@@ -117,6 +117,7 @@ hf_storage_geom_has_partitions (const Ge
+ if (g_node_n_children(node) > 0)
+ return TRUE;
+
++ /*
+ if (hf_storage_class_is_partitionable(geom_obj->class) &&
+ g_node_next_sibling(node) != NULL)
+ {
+@@ -135,6 +136,7 @@ hf_storage_geom_has_partitions (const Ge
+ return TRUE;
+ }
+ }
++ */
+
+ return FALSE;
+ }