From: Oliver Kurth Date: Wed, 7 Feb 2018 00:32:38 +0000 (-0800) Subject: Restore "ufs" to the list of known filesystems X-Git-Tag: stable-10.3.0~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c453912325ead3f19b84fced65217608069ddfa;p=thirdparty%2Fopen-vm-tools.git Restore "ufs" to the list of known filesystems 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. --- diff --git a/open-vm-tools/lib/wiper/wiperPosix.c b/open-vm-tools/lib/wiper/wiperPosix.c index 7feaab24c..12e0d5b7d 100644 --- a/open-vm-tools/lib/wiper/wiperPosix.c +++ b/open-vm-tools/lib/wiper/wiperPosix.c @@ -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 },