Deprecated List (libguestfs java 1.60.0 API reference)
Description: deprecated elements

# Deprecated API

## Contents

- Methods

- Deprecated Methods
  Method
  Description
  com.redhat.et.libguestfs.GuestFS.add_cdrom(String)
  In new code, use `GuestFS.add_drive_ro(String)` instead
  com.redhat.et.libguestfs.GuestFS.add_drive_ro_with_if(String, String)
  In new code, use `GuestFS.add_drive(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.add_drive_with_if(String, String)
  In new code, use `GuestFS.add_drive(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.blockdev_setbsz(String, int)
  There is no documented replacement
  com.redhat.et.libguestfs.GuestFS.btrfs_fsck(String, Map<String, Object>)
  In new code, use `GuestFS.btrfs_scrub_full(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.copy_size(String, String, long)
  In new code, use `GuestFS.copy_device_to_device(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.dd(String, String)
  In new code, use `GuestFS.copy_device_to_device(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.e2fsck_f(String)
  In new code, use `GuestFS.e2fsck(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.egrep(String, String)
  In new code, use `GuestFS.grep(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.egrepi(String, String)
  In new code, use `GuestFS.grep(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.fallocate(String, int)
  In new code, use `GuestFS.fallocate64(String, long)` instead
  com.redhat.et.libguestfs.GuestFS.fgrep(String, String)
  In new code, use `GuestFS.grep(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.fgrepi(String, String)
  In new code, use `GuestFS.grep(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.get_attach_method()
  In new code, use `GuestFS.get_backend()` instead
  com.redhat.et.libguestfs.GuestFS.get_direct()
  This is replaced by method #internal_get_console_socket which is not exported by the Java bindings
  com.redhat.et.libguestfs.GuestFS.get_e2label(String)
  In new code, use `GuestFS.vfs_label(String)` instead
  com.redhat.et.libguestfs.GuestFS.get_e2uuid(String)
  In new code, use `GuestFS.vfs_uuid(String)` instead
  com.redhat.et.libguestfs.GuestFS.get_qemu()
  In new code, use `GuestFS.get_hv()` instead
  com.redhat.et.libguestfs.GuestFS.get_selinux()
  In new code, use `GuestFS.selinux_relabel(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.getcon()
  In new code, use `GuestFS.selinux_relabel(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.grepi(String, String)
  In new code, use `GuestFS.grep(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.hivex_value_utf8(long)
  In new code, use `GuestFS.hivex_value_string(long)` instead
  com.redhat.et.libguestfs.GuestFS.inspect_get_format(String)
  There is no documented replacement
  com.redhat.et.libguestfs.GuestFS.inspect_is_live(String)
  There is no documented replacement
  com.redhat.et.libguestfs.GuestFS.inspect_is_multipart(String)
  There is no documented replacement
  com.redhat.et.libguestfs.GuestFS.inspect_is_netinst(String)
  There is no documented replacement
  com.redhat.et.libguestfs.GuestFS.inspect_list_applications(String)
  In new code, use `GuestFS.inspect_list_applications2(String)` instead
  com.redhat.et.libguestfs.GuestFS.kill_subprocess()
  In new code, use `GuestFS.shutdown()` instead
  com.redhat.et.libguestfs.GuestFS.list_9p()
  There is no documented replacement
  com.redhat.et.libguestfs.GuestFS.llz(String)
  In new code, use `GuestFS.lgetxattrs(String)` instead
  com.redhat.et.libguestfs.GuestFS.lstat(String)
  In new code, use `GuestFS.lstatns(String)` instead
  com.redhat.et.libguestfs.GuestFS.lstatlist(String, String[])
  In new code, use `GuestFS.lstatnslist(String, String[])` instead
  com.redhat.et.libguestfs.GuestFS.luks_close(String)
  In new code, use `GuestFS.cryptsetup_close(String)` instead
  com.redhat.et.libguestfs.GuestFS.luks_open(String, String, String)
  In new code, use `GuestFS.cryptsetup_open(String, String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.luks_open_ro(String, String, String)
  In new code, use `GuestFS.cryptsetup_open(String, String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.mke2fs_J(String, int, String, String)
  In new code, use `GuestFS.mke2fs(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.mke2fs_JL(String, int, String, String)
  In new code, use `GuestFS.mke2fs(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.mke2fs_JU(String, int, String, String)
  In new code, use `GuestFS.mke2fs(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.mke2journal(int, String)
  In new code, use `GuestFS.mke2fs(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.mke2journal_L(int, String, String)
  In new code, use `GuestFS.mke2fs(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.mke2journal_U(int, String, String)
  In new code, use `GuestFS.mke2fs(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.mkfs_b(String, int, String)
  In new code, use `GuestFS.mkfs(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.mkswap_L(String, String)
  In new code, use `GuestFS.mkswap(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.mkswap_U(String, String)
  In new code, use `GuestFS.mkswap(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.mount_9p(String, String, Map<String, Object>)
  There is no documented replacement
  com.redhat.et.libguestfs.GuestFS.ntfsresize_size(String, long)
  In new code, use `GuestFS.ntfsresize(String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.remove_drive(String)
  There is no documented replacement
  com.redhat.et.libguestfs.GuestFS.selinux_relabel(String, String, Map<String, Object>)
  In new code, use `GuestFS.setfiles(String, String[], Map)` instead
  com.redhat.et.libguestfs.GuestFS.set_attach_method(String)
  In new code, use `GuestFS.set_backend(String)` instead
  com.redhat.et.libguestfs.GuestFS.set_direct(boolean)
  This is replaced by method #internal_get_console_socket which is not exported by the Java bindings
  com.redhat.et.libguestfs.GuestFS.set_e2label(String, String)
  In new code, use `GuestFS.set_label(String, String)` instead
  com.redhat.et.libguestfs.GuestFS.set_e2uuid(String, String)
  In new code, use `GuestFS.set_uuid(String, String)` instead
  com.redhat.et.libguestfs.GuestFS.set_qemu(String)
  In new code, use `GuestFS.set_hv(String)` instead
  com.redhat.et.libguestfs.GuestFS.set_selinux(boolean)
  In new code, use `GuestFS.selinux_relabel(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.setcon(String)
  In new code, use `GuestFS.selinux_relabel(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.sfdisk(String, int, int, int, String[])
  In new code, use `GuestFS.part_add(String, String, long, long)` instead
  com.redhat.et.libguestfs.GuestFS.sfdisk_l(String)
  In new code, use `GuestFS.part_list(String)` instead
  com.redhat.et.libguestfs.GuestFS.sfdisk_N(String, int, int, int, int, String)
  In new code, use `GuestFS.part_add(String, String, long, long)` instead
  com.redhat.et.libguestfs.GuestFS.sfdiskM(String, String[])
  In new code, use `GuestFS.part_add(String, String, long, long)` instead
  com.redhat.et.libguestfs.GuestFS.stat(String)
  In new code, use `GuestFS.statns(String)` instead
  com.redhat.et.libguestfs.GuestFS.tgz_in(String, String)
  In new code, use `GuestFS.tar_in(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.tgz_out(String, String)
  In new code, use `GuestFS.tar_out(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.txz_in(String, String)
  In new code, use `GuestFS.tar_in(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.txz_out(String, String)
  In new code, use `GuestFS.tar_out(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.vgscan()
  In new code, use `GuestFS.lvm_scan(boolean)` instead
  com.redhat.et.libguestfs.GuestFS.wait_ready()
  There is no documented replacement
  com.redhat.et.libguestfs.GuestFS.write_file(String, String, int)
  In new code, use `GuestFS.write(String, byte[])` instead
  com.redhat.et.libguestfs.GuestFS.xfs_info(String)
  In new code, use `GuestFS.xfs_info2(String)` instead
  com.redhat.et.libguestfs.GuestFS.zegrep(String, String)
  In new code, use `GuestFS.grep(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.zegrepi(String, String)
  In new code, use `GuestFS.grep(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.zfgrep(String, String)
  In new code, use `GuestFS.grep(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.zfgrepi(String, String)
  In new code, use `GuestFS.grep(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.zfile(String, String)
  In new code, use `GuestFS.file(String)` instead
  com.redhat.et.libguestfs.GuestFS.zgrep(String, String)
  In new code, use `GuestFS.grep(String, String, Map)` instead
  com.redhat.et.libguestfs.GuestFS.zgrepi(String, String)
  In new code, use `GuestFS.grep(String, String, Map)` instead