]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Restore "ufs" to the list of known filesystems
authorOliver Kurth <okurth@vmware.com>
Wed, 7 Feb 2018 00:32:38 +0000 (16:32 -0800)
committerOliver Kurth <okurth@vmware.com>
Wed, 7 Feb 2018 00:32:38 +0000 (16:32 -0800)
A previous change, 5074636, to remove "ufs" from the kernel also removed
"ufs" from the known list of Linux filesystems.   As a result, the "ufs"
filesystems on FreeBSD and Solaris VMs cannot be seen and therefore
no disk information is available in vmsvc/get.guest output.

open-vm-tools/lib/wiper/wiperPosix.c

index 7feaab24c0267ffb16c79e7c0388fba121ac0d86..12e0d5b7d8b556d463619e02cc022e57656e01a1 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 2004-2017 VMware, Inc. All rights reserved.
+ * Copyright (C) 2004-2018 VMware, Inc. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as published
@@ -143,6 +143,9 @@ static const PartitionInfo gKnownPartitions[] = {
    { "ntfs",      PARTITION_NTFS,         NULL,                   TRUE        },
    { "pcfs",      PARTITION_PCFS,         NULL,                   TRUE        },
    { "reiserfs",  PARTITION_REISERFS,     NULL,                   TRUE        },
+#ifdef VMX86_TOOLS
+   { "ufs",       PARTITION_UFS,          NULL,                   TRUE        },
+#endif
    { "vfat",      PARTITION_FAT,          NULL,                   TRUE        },
    { "zfs",       PARTITION_ZFS,          NULL,                   FALSE       },
    { "xfs",       PARTITION_XFS,          NULL,                   TRUE        },