Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.222
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
sbin /
[ HOME SHELL ]
Name
Size
Permission
Action
NetworkManager
3.41
MB
-rwxr-xr-x
a3mnt
832
B
-rwxr-xr-x
aakore
481
B
-rwxr-xr-x
accessdb
12.59
KB
-rwxr-xr-x
accton
13.69
KB
-rwxr-xr-x
acp-update-controller
820
B
-rwxr-xr-x
acrocmd
822
B
-rwxr-xr-x
acronis_encrypt
818
B
-rwxr-xr-x
acronis_mms
1.29
KB
-rwxr-xr-x
acronis_schedinfo
435
B
-rwxr-xr-x
acronis_schedule
818
B
-rwxr-xr-x
acropsh
804
B
-rwxr-xr-x
adcli
171.08
KB
-rwxr-xr-x
addgnupghome
3
KB
-rwxr-xr-x
addpart
24.85
KB
-rwxr-xr-x
adduser
148.13
KB
-rwxr-xr-x
agetty
62.38
KB
-rwxr-xr-x
alternatives
36.62
KB
-rwxr-xr-x
anacron
40.98
KB
-rwxr-xr-x
apachectl
4.19
KB
-rwxr-xr-x
applygnupgdefaults
2.17
KB
-rwxr-xr-x
arp
64.71
KB
-rwxr-xr-x
arpd
87.1
KB
-rwxr-xr-x
arping
28.74
KB
-rwxr-xr-x
atd
32.63
KB
-rwxr-xr-x
atrun
67
B
-rwxr-xr-x
auditctl
45.04
KB
-rwxr-xr-x
auditd
155.78
KB
-rwxr-xr-x
augenrules
3.7
KB
-rwxr-xr-x
aureport
122.34
KB
-rwxr-xr-x
ausearch
130.37
KB
-rwxr-xr-x
autrace
16.53
KB
-rwxr-x---
avcstat
16.39
KB
-rwxr-xr-x
badblocks
32.57
KB
-rwxr-xr-x
biosdecode
25.45
KB
-rwxr-xr-x
biosdevname
46.16
KB
-rwxr-xr-x
blkdeactivate
15.97
KB
-r-xr-xr-x
blkdiscard
29.05
KB
-rwxr-xr-x
blkid
98.66
KB
-rwxr-xr-x
blkzone
49.73
KB
-rwxr-xr-x
blockdev
41.3
KB
-rwxr-xr-x
bpftool
2.77
MB
-rwxr-xr-x
bridge
150.15
KB
-rwxr-xr-x
build-locale-archive
812.27
KB
-rwx------
cache_check
1.43
MB
-rwxr-xr-x
cache_dump
1.43
MB
-rwxr-xr-x
cache_metadata_size
1.43
MB
-rwxr-xr-x
cache_repair
1.43
MB
-rwxr-xr-x
cache_restore
1.43
MB
-rwxr-xr-x
cache_writeback
1.43
MB
-rwxr-xr-x
capsh
32.44
KB
-rwxr-xr-x
cfdisk
98.39
KB
-rwxr-xr-x
chcpu
28.82
KB
-rwxr-xr-x
chgpasswd
69.67
KB
-rwxr-xr-x
chkconfig
45.16
KB
-rwxr-xr-x
chpasswd
61.42
KB
-rwxr-xr-x
chronyd
351.16
KB
-rwxr-xr-x
chroot
41.44
KB
-rwxr-xr-x
clock
65.26
KB
-rwxr-xr-x
clockdiff
20.42
KB
-rwxr-xr-x
consoletype
11.85
KB
-rwxr-xr-x
convertquota
78.68
KB
-rwxr-xr-x
cracklib-check
13.05
KB
-rwxr-xr-x
cracklib-format
251
B
-rwxr-xr-x
cracklib-packer
13.05
KB
-rwxr-xr-x
cracklib-unpacker
9.03
KB
-rwxr-xr-x
create-cracklib-dict
990
B
-rwxr-xr-x
crond
73.94
KB
-rwxr-xr-x
cryptsetup
143.43
KB
-rwxr-xr-x
csf
245.08
KB
-rwx------
ctrlaltdel
20.77
KB
-rwxr-xr-x
ctstat
25.32
KB
-rwxr-xr-x
dcb
146.85
KB
-rwxr-xr-x
ddns-confgen
20.45
KB
-rwxr-xr-x
debugfs
231.63
KB
-rwxr-xr-x
delpart
24.85
KB
-rwxr-xr-x
depmod
159.46
KB
-rwxr-xr-x
devlink
185.22
KB
-rwxr-xr-x
dhclient
453.64
KB
-rwxr-xr-x
dhclient-script
32.86
KB
-rwxr-xr-x
dkms
117.1
KB
-rwxr-xr-x
dmeventd
45.02
KB
-r-xr-xr-x
dmfilemapd
24.53
KB
-r-xr-xr-x
dmidecode
125.68
KB
-rwxr-xr-x
dmsetup
158.63
KB
-r-xr-xr-x
dmstats
158.63
KB
-r-xr-xr-x
dnssec-checkds
936
B
-rwxr-xr-x
dnssec-coverage
938
B
-rwxr-xr-x
dnssec-dsfromkey
60.84
KB
-rwxr-xr-x
dnssec-importkey
60.83
KB
-rwxr-xr-x
dnssec-keyfromlabel
64.74
KB
-rwxr-xr-x
dnssec-keygen
72.83
KB
-rwxr-xr-x
dnssec-keymgr
934
B
-rwxr-xr-x
dnssec-revoke
56.73
KB
-rwxr-xr-x
dnssec-settime
60.83
KB
-rwxr-xr-x
dnssec-signzone
117.19
KB
-rwxr-xr-x
dnssec-verify
52.84
KB
-rwxr-xr-x
dosfsck
65.13
KB
-rwxr-xr-x
dosfslabel
61.1
KB
-rwxr-xr-x
dovecot
93.86
KB
-rwxr-xr-x
dump-acct
29.15
KB
-rwxr-xr-x
dump-utmp
25.02
KB
-rwxr-xr-x
dumpe2fs
32.51
KB
-rwxr-xr-x
e2freefrag
16.41
KB
-rwxr-xr-x
e2fsck
328.51
KB
-rwxr-xr-x
e2image
36.59
KB
-rwxr-xr-x
e2label
110.63
KB
-rwxr-xr-x
e2mmpstatus
32.51
KB
-rwxr-xr-x
e2undo
20.37
KB
-rwxr-xr-x
e4crypt
24.54
KB
-rwxr-xr-x
e4defrag
28.48
KB
-rwxr-xr-x
ebtables
216.6
KB
-rwxr-xr-x
ebtables-restore
216.6
KB
-rwxr-xr-x
ebtables-save
216.6
KB
-rwxr-xr-x
edquota
91.24
KB
-rwxr-xr-x
era_check
1.43
MB
-rwxr-xr-x
era_dump
1.43
MB
-rwxr-xr-x
era_invalidate
1.43
MB
-rwxr-xr-x
era_restore
1.43
MB
-rwxr-xr-x
ether-wake
73.99
KB
-rwxr-xr-x
ethtool
557.79
KB
-rwxr-xr-x
faillock
20.52
KB
-rwxr-xr-x
fatlabel
61.1
KB
-rwxr-xr-x
fcgistarter
12.48
KB
-rwxr-xr-x
fdformat
33.16
KB
-rwxr-xr-x
fdisk
130.9
KB
-rwxr-xr-x
filefrag
16.45
KB
-rwxr-xr-x
findfs
12.36
KB
-rwxr-xr-x
firewalld
6.92
KB
-rwxr-xr-x
fix-info-dir
7.84
KB
-rwxr-xr-x
fixfiles
10.48
KB
-rwxr-xr-x
fsadm
24
KB
-r-xr-xr-x
fsck
53.47
KB
-rwxr-xr-x
fsck.cramfs
41.41
KB
-rwxr-xr-x
fsck.ext2
328.51
KB
-rwxr-xr-x
fsck.ext3
328.51
KB
-rwxr-xr-x
fsck.ext4
328.51
KB
-rwxr-xr-x
fsck.fat
65.13
KB
-rwxr-xr-x
fsck.minix
98.73
KB
-rwxr-xr-x
fsck.msdos
65.13
KB
-rwxr-xr-x
fsck.vfat
65.13
KB
-rwxr-xr-x
fsck.xfs
1.92
KB
-rwxr-xr-x
fsfreeze
16.38
KB
-rwxr-xr-x
fstrim
45.61
KB
-rwxr-xr-x
ftpscrub
17.87
KB
-rwxr-xr-x
ftpshut
12.36
KB
-rwxr-xr-x
fuse2fs
70.38
KB
-rwxr-xr-x
fuser
38.14
KB
-rwxr-xr-x
g13-syshelp
189.71
KB
-rwxr-xr-x
genhomedircon
29.27
KB
-rwxr-xr-x
genhostid
11.85
KB
-rwxr-xr-x
genl
94.95
KB
-rwxr-xr-x
genrandom
12.37
KB
-rwxr-xr-x
getcap
12.34
KB
-rwxr-xr-x
getenforce
7.83
KB
-rwxr-xr-x
getpcaps
12.27
KB
-rwxr-xr-x
getsebool
11.86
KB
-rwxr-xr-x
groupadd
95.34
KB
-rwxr-xr-x
groupdel
91.09
KB
-rwxr-xr-x
groupmems
61.48
KB
-rwxr-xr-x
groupmod
99.37
KB
-rwxr-xr-x
grpck
61.48
KB
-rwxr-xr-x
grpconv
57.26
KB
-rwxr-xr-x
grpunconv
57.24
KB
-rwxr-xr-x
grub2-bios-setup
1.14
MB
-rwxr-xr-x
grub2-get-kernel-settings
2.34
KB
-rwxr-xr-x
grub2-install
1.43
MB
-rwxr-xr-x
grub2-macbless
1.12
MB
-rwxr-xr-x
grub2-mkconfig
8.68
KB
-rwxr-xr-x
grub2-ofpathname
242.19
KB
-rwxr-xr-x
grub2-probe
1.14
MB
-rwxr-xr-x
grub2-reboot
3.99
KB
-rwxr-xr-x
grub2-rpm-sort
279.02
KB
-rwxr-xr-x
grub2-set-bootflag
11.87
KB
-rwsr-xr-x
grub2-set-default
3.45
KB
-rwxr-xr-x
grub2-set-password
3.05
KB
-rwxr-xr-x
grub2-setpassword
3.05
KB
-rwxr-xr-x
grub2-sparc64-setup
1.14
MB
-rwxr-xr-x
grub2-switch-to-blscfg
8.6
KB
-rwxr-xr-x
grubby
260
B
-rwxr-xr-x
gss-server
24.59
KB
-rwxr-xr-x
halt
218.45
KB
-rwxr-xr-x
hardlink
17.09
KB
-rwxr-xr-x
hdparm
131.91
KB
-rwxr-xr-x
htcacheclean
32.63
KB
-rwxr-xr-x
httpd
570.3
KB
-rwxr-xr-x
hwclock
65.26
KB
-rwxr-xr-x
iconvconfig
33.04
KB
-rwxr-xr-x
ifconfig
80.86
KB
-rwxr-xr-x
ifdown
1.07
KB
-rwxr-xr-x
ifenslave
24.94
KB
-rwxr-xr-x
ifstat
91.22
KB
-rwxr-xr-x
iftop
75.42
KB
-rwxr-xr-x
ifup
1.04
KB
-rwxr-xr-x
in.proftpd
1.17
MB
-rwxr-xr-x
init
1.53
MB
-rwxr-xr-x
insmod
159.46
KB
-rwxr-xr-x
install-info
50.23
KB
-rwxr-xr-x
installkernel
323
B
-rwxr-xr-x
intel_sdsi
15.61
KB
-rwxr-xr-x
iotop
511
B
-rwxr-xr-x
ip
664.43
KB
-rwxr-xr-x
ip6tables
216.6
KB
-rwxr-xr-x
ip6tables-restore
216.6
KB
-rwxr-xr-x
ip6tables-restore-translate
216.6
KB
-rwxr-xr-x
ip6tables-save
216.6
KB
-rwxr-xr-x
ip6tables-translate
216.6
KB
-rwxr-xr-x
ipmaddr
21
KB
-rwxr-xr-x
iprconfig
408.03
KB
-rwxr-xr-x
iprdbg
137.57
KB
-rwxr-xr-x
iprdump
129.3
KB
-rwxr-xr-x
iprinit
125.28
KB
-rwxr-xr-x
iprsos
2.18
KB
-rwxr-xr-x
iprupdate
129.3
KB
-rwxr-xr-x
ipset
9.01
KB
-rwxr-xr-x
iptables
216.6
KB
-rwxr-xr-x
iptables-apply
3.43
KB
-rwxr-xr-x
iptables-restore
216.6
KB
-rwxr-xr-x
iptables-restore-translate
216.6
KB
-rwxr-xr-x
iptables-save
216.6
KB
-rwxr-xr-x
iptables-translate
216.6
KB
-rwxr-xr-x
iptstate
92.05
KB
-rwxr-xr-x
iptunnel
25
KB
-rwxr-xr-x
irqbalance
62.22
KB
-rwxr-xr-x
irqbalance-ui
37.22
KB
-rwxr-xr-x
isc-hmac-fixup
11.85
KB
-rwxr-xr-x
jk_check
11.2
KB
-rwxr-xr-x
jk_chrootlaunch
20.77
KB
-rwxr-xr-x
jk_chrootsh
32.73
KB
-rwsr-xr-x
jk_cp
4.12
KB
-rwxr-xr-x
jk_init
9.68
KB
-rwxr-xr-x
jk_jailuser
11.81
KB
-rwxr-xr-x
jk_list
4.93
KB
-rwxr-xr-x
jk_lsh
24.66
KB
-rwxr-xr-x
jk_socketd
29.05
KB
-rwxr-xr-x
jk_update
9.11
KB
-rwxr-xr-x
kexec
194.97
KB
-rwxr-xr-x
kpartx
49.05
KB
-rwxr-xr-x
lchage
16.38
KB
-rwxr-xr-x
ldattach
32.98
KB
-rwxr-xr-x
ldconfig
941.15
KB
-rwxr-xr-x
ledctl
92.25
KB
-rwxr-xr-x
ledmon
96.32
KB
-rwxr-xr-x
lfd
382.43
KB
-rwx------
lgroupadd
12
KB
-rwxr-xr-x
lgroupdel
11.99
KB
-rwxr-xr-x
lgroupmod
19.99
KB
-rwxr-xr-x
lid
16.26
KB
-rwxr-xr-x
lnewusers
19.99
KB
-rwxr-xr-x
lnstat
25.32
KB
-rwxr-xr-x
load_policy
12.27
KB
-rwxr-xr-x
logrotate
93.09
KB
-rwxr-xr-x
logsave
16.4
KB
-rwxr-xr-x
losetup
90.59
KB
-rwxr-xr-x
lpasswd
20.34
KB
-rwxr-xr-x
lshw
966.2
KB
-rwxr-xr-x
lsmod
159.46
KB
-rwxr-xr-x
lspci
94.78
KB
-rwxr-xr-x
luseradd
19.99
KB
-rwxr-xr-x
luserdel
16
KB
-rwxr-xr-x
lusermod
20
KB
-rwxr-xr-x
lvchange
2.6
MB
-r-xr-xr-x
lvconvert
2.6
MB
-r-xr-xr-x
lvcreate
2.6
MB
-r-xr-xr-x
lvdisplay
2.6
MB
-r-xr-xr-x
lvextend
2.6
MB
-r-xr-xr-x
lvm
2.6
MB
-r-xr-xr-x
lvm_import_vdo
13.14
KB
-r-xr-xr-x
lvmconfig
2.6
MB
-r-xr-xr-x
lvmdevices
2.6
MB
-r-xr-xr-x
lvmdiskscan
2.6
MB
-r-xr-xr-x
lvmdump
10.12
KB
-r-xr-xr-x
lvmpolld
200.66
KB
-r-xr-xr-x
lvmsadc
2.6
MB
-r-xr-xr-x
lvmsar
2.6
MB
-r-xr-xr-x
lvreduce
2.6
MB
-r-xr-xr-x
lvremove
2.6
MB
-r-xr-xr-x
lvrename
2.6
MB
-r-xr-xr-x
lvresize
2.6
MB
-r-xr-xr-x
lvs
2.6
MB
-r-xr-xr-x
lvscan
2.6
MB
-r-xr-xr-x
lwresd
840.73
KB
-rwxr-xr-x
makedumpfile
425.19
KB
-rwxr-xr-x
matchpathcon
12.36
KB
-rwxr-xr-x
mcelog
181.47
KB
-rwxr-xr-x
mdadm
611.59
KB
-rwxr-xr-x
mdmon
341.71
KB
-rwxr-xr-x
mediabuilder
826
B
-rwxr-xr-x
mii-diag
25.4
KB
-rwxr-xr-x
mii-tool
21.03
KB
-rwxr-xr-x
milter-greylist
336.08
KB
-rwxr-xr-x
mkdict
251
B
-rwxr-xr-x
mkdosfs
39.07
KB
-rwxr-xr-x
mkdumprd
12.54
KB
-rwxr-xr-x
mke2fs
138.45
KB
-rwxr-xr-x
mkfadumprd
2.23
KB
-rwxr-xr-x
mkfs
16.47
KB
-rwxr-xr-x
mkfs.cramfs
41.26
KB
-rwxr-xr-x
mkfs.ext2
138.45
KB
-rwxr-xr-x
mkfs.ext3
138.45
KB
-rwxr-xr-x
mkfs.ext4
138.45
KB
-rwxr-xr-x
mkfs.fat
39.07
KB
-rwxr-xr-x
mkfs.minix
86.54
KB
-rwxr-xr-x
mkfs.msdos
39.07
KB
-rwxr-xr-x
mkfs.vfat
39.07
KB
-rwxr-xr-x
mkfs.xfs
474.59
KB
-rwxr-xr-x
mkhomedir_helper
24.42
KB
-rwxr-xr-x
mklost+found
11.85
KB
-rwxr-xr-x
mksquashfs
186.84
KB
-rwxr-xr-x
mkswap
86.46
KB
-rwxr-xr-x
modinfo
159.46
KB
-rwxr-xr-x
modprobe
159.46
KB
-rwxr-xr-x
mtr
110.92
KB
-rwxr-xr-x
mtr-packet
58.3
KB
-rwxr-xr-x
mysqld
62.52
MB
-rwxr-xr-x
named
840.73
KB
-rwxr-xr-x
named-checkconf
36.77
KB
-rwxr-xr-x
named-checkzone
36.63
KB
-rwxr-xr-x
named-compilezone
36.63
KB
-rwxr-xr-x
named-journalprint
11.84
KB
-rwxr-xr-x
nameif
16.98
KB
-rwxr-xr-x
newusers
107.21
KB
-rwxr-xr-x
nft
20.4
KB
-rwxr-xr-x
nologin
11.87
KB
-rwxr-xr-x
nsec3hash
12.28
KB
-rwxr-xr-x
nstat
87.14
KB
-rwxr-xr-x
opendkim
222.52
KB
-rwxr-xr-x
opendkim-default-keygen
1.4
KB
-rwxr-xr-x
opendkim-reportstats
14.16
KB
-rwxr-xr-x
ownership
16.43
KB
-rwxr-xr-x
packer
13.05
KB
-rwxr-xr-x
pam_console_apply
45.18
KB
-rwxr-xr-x
pam_timestamp_check
11.86
KB
-rwsr-xr-x
paperconfig
4.07
KB
-rwxr-xr-x
parted
85.6
KB
-rwxr-xr-x
partprobe
16.39
KB
-rwxr-xr-x
partx
94.48
KB
-rwxr-xr-x
pdata_tools
1.43
MB
-rwxr-xr-x
php-fpm
4.8
MB
-rwxr-xr-x
pidof
16.55
KB
-rwxr-xr-x
ping
66.08
KB
-rwxr-xr-x
ping6
66.08
KB
-rwxr-xr-x
pivot_root
12.37
KB
-rwxr-xr-x
plipconfig
12.71
KB
-rwxr-xr-x
pluginviewer
20.57
KB
-rwxr-xr-x
postalias
20.39
KB
-rwxr-xr-x
postcat
20.06
KB
-rwxr-xr-x
postconf
191.06
KB
-rwxr-xr-x
postdrop
20.42
KB
-rwxr-sr-x
postfix
16.27
KB
-rwxr-xr-x
postgrey
37.94
KB
-rwxr-xr-x
postgreyreport
23.8
KB
-rwxr-xr-x
postkick
11.97
KB
-rwxr-xr-x
postlock
12.26
KB
-rwxr-xr-x
postlog
12.14
KB
-rwxr-xr-x
postmap
24.41
KB
-rwxr-xr-x
postmulti
28.91
KB
-rwxr-xr-x
postqueue
24.59
KB
-rwxr-sr-x
postsuper
28.81
KB
-rwxr-xr-x
posttls-finger
44.79
KB
-rwxr-xr-x
poweroff
218.45
KB
-rwxr-xr-x
proftpd
1.17
MB
-rwxr-xr-x
pvchange
2.6
MB
-r-xr-xr-x
pvck
2.6
MB
-r-xr-xr-x
pvcreate
2.6
MB
-r-xr-xr-x
pvdisplay
2.6
MB
-r-xr-xr-x
pvmove
2.6
MB
-r-xr-xr-x
pvremove
2.6
MB
-r-xr-xr-x
pvresize
2.6
MB
-r-xr-xr-x
pvs
2.6
MB
-r-xr-xr-x
pvscan
2.6
MB
-r-xr-xr-x
pwck
57.26
KB
-rwxr-xr-x
pwconv
53.09
KB
-rwxr-xr-x
pwhistory_helper
20.42
KB
-rwxr-xr-x
pwunconv
53.12
KB
-rwxr-xr-x
quot
78.67
KB
-rwxr-xr-x
quotacheck
115.75
KB
-rwxr-xr-x
quotaoff
83.16
KB
-rwxr-xr-x
quotaon
83.16
KB
-rwxr-xr-x
quotastats
16.54
KB
-rwxr-xr-x
raid-check
3.7
KB
-rwxr-xr-x
rdisc
24.55
KB
-rwxr-xr-x
rdma
160.91
KB
-rwxr-xr-x
rdma-ndd
15.95
KB
-rwxr-xr-x
readprofile
20.54
KB
-rwxr-xr-x
realm
144.32
KB
-rwxr-xr-x
reboot
218.45
KB
-rwxr-xr-x
repquota
83.24
KB
-rwxr-xr-x
resize2fs
64.9
KB
-rwxr-xr-x
resizepart
41.56
KB
-rwxr-xr-x
resolvconf
195.74
KB
-rwxr-xr-x
restorecon
20.52
KB
-rwxr-xr-x
restorecon_xattr
16.41
KB
-rwxr-xr-x
rfkill
53.48
KB
-rwxr-xr-x
rmmod
159.46
KB
-rwxr-xr-x
rndc
36.52
KB
-rwxr-xr-x
rndc-confgen
20.44
KB
-rwxr-xr-x
rngd
104.84
KB
-rwxr-xr-x
rotatelogs
24.54
KB
-rwxr-xr-x
route
67.63
KB
-rwxr-xr-x
rsyslogd
724.33
KB
-rwxr-xr-x
rtacct
46.93
KB
-rwxr-xr-x
rtcwake
49.34
KB
-rwxr-xr-x
rtmon
90.81
KB
-rwxr-xr-x
rtstat
25.32
KB
-rwxr-xr-x
runlevel
218.45
KB
-rwxr-xr-x
runuser
48.98
KB
-rwxr-xr-x
sa
46.62
KB
-rwxr-xr-x
saslauthd
94.42
KB
-rwxr-xr-x
sasldblistusers2
20.77
KB
-rwxr-xr-x
saslpasswd2
16.42
KB
-rwxr-xr-x
schedmgr
818
B
-rwxr-xr-x
sedispatch
20.52
KB
-rwxr-xr-x
sefcontext_compile
65.34
KB
-rwxr-xr-x
selabel_digest
12.27
KB
-rwxr-xr-x
selabel_lookup
12.27
KB
-rwxr-xr-x
selabel_lookup_best_match
11.88
KB
-rwxr-xr-x
selabel_partial_match
11.88
KB
-rwxr-xr-x
selinux_check_access
12.35
KB
-rwxr-xr-x
selinuxconlist
11.87
KB
-rwxr-xr-x
selinuxdefcon
11.87
KB
-rwxr-xr-x
selinuxenabled
7.83
KB
-rwxr-xr-x
selinuxexeccon
11.85
KB
-rwxr-xr-x
semanage
41.18
KB
-rwxr-xr-x
semodule
29.27
KB
-rwxr-xr-x
sendmail
28.48
KB
-rwxr-xr-x
sendmail.postfix
28.48
KB
-rwxr-xr-x
service
3.64
KB
-rwxr-xr-x
sestatus
20.41
KB
-rwxr-xr-x
setcap
16.26
KB
-rwxr-xr-x
setenforce
12.26
KB
-rwxr-xr-x
setfiles
20.52
KB
-rwxr-xr-x
setpci
28.49
KB
-rwxr-xr-x
setquota
91.38
KB
-rwxr-xr-x
setroubleshootd
3.34
KB
-rwxr-xr-x
setsebool
16.36
KB
-rwxr-xr-x
sfdisk
118.5
KB
-rwxr-xr-x
shutdown
218.45
KB
-rwxr-xr-x
sim_server
11.86
KB
-rwxr-xr-x
slattach
43.76
KB
-rwxr-xr-x
smartctl
883.59
KB
-rwxr-xr-x
smartd
705.66
KB
-rwxr-xr-x
smtp-sink
33.7
KB
-rwxr-xr-x
smtp-source
28.61
KB
-rwxr-xr-x
sos
611
B
-rwxr-xr-x
sos-collector
1.05
KB
-rwxr-xr-x
sosreport
1.05
KB
-rwxr-xr-x
ss
191.24
KB
-rwxr-xr-x
sshd
869.56
KB
-rwxr-xr-x
sss_cache
61.03
KB
-rwxr-xr-x
sssd
81.59
KB
-rwxr-xr-x
suexec
20.4
KB
-r-x--x---
sulogin
49.23
KB
-rwxr-xr-x
swaplabel
16.49
KB
-rwxr-xr-x
swapoff
20.74
KB
-rwxr-xr-x
swapon
49.39
KB
-rwxr-xr-x
switch_root
16.48
KB
-rwxr-xr-x
sysctl
28.74
KB
-rwxr-xr-x
syspurpose
415
B
-rwxr-xr-x
t1libconfig
3.83
KB
-rwxr-xr-x
tcsd
309.68
KB
-rwxr-xr-x
telinit
218.45
KB
-rwxr-xr-x
testsaslauthd
16.66
KB
-rwxr-xr-x
thin_check
1.43
MB
-rwxr-xr-x
thin_delta
1.43
MB
-rwxr-xr-x
thin_dump
1.43
MB
-rwxr-xr-x
thin_ls
1.43
MB
-rwxr-xr-x
thin_metadata_pack
907.47
KB
-rwxr-xr-x
thin_metadata_size
1.43
MB
-rwxr-xr-x
thin_metadata_unpack
895.45
KB
-rwxr-xr-x
thin_repair
1.43
MB
-rwxr-xr-x
thin_restore
1.43
MB
-rwxr-xr-x
thin_rmap
1.43
MB
-rwxr-xr-x
thin_trim
1.43
MB
-rwxr-xr-x
tibxread
828
B
-rwxr-xr-x
timedatex
33.43
KB
-rwxr-xr-x
tipc
136.65
KB
-rwxr-xr-x
tracepath
20.44
KB
-rwxr-xr-x
tracepath6
20.44
KB
-rwxr-xr-x
trueimagemnt
850
B
-rwxr-xr-x
tsig-keygen
20.45
KB
-rwxr-xr-x
tune2fs
110.63
KB
-rwxr-xr-x
tuned
3.3
KB
-rwxr-xr-x
tuned-adm
5.23
KB
-rwxr-xr-x
udevadm
424.55
KB
-rwxr-xr-x
unbound-anchor
57.33
KB
-rwxr-xr-x
unix_chkpwd
36.85
KB
-rwsr-xr-x
unix_update
36.84
KB
-rwx------
unsquashfs
99.51
KB
-rwxr-xr-x
update-alternatives
36.62
KB
-rwxr-xr-x
update-pciids
1.71
KB
-rwxr-xr-x
update-smart-drivedb
14.44
KB
-rwxr-xr-x
useradd
148.13
KB
-rwxr-xr-x
userdel
107.3
KB
-rwxr-xr-x
usermod
144.08
KB
-rwxr-xr-x
uuserver
15.87
KB
-rwxr-xr-x
vdpa
91.5
KB
-rwxr-xr-x
vgcfgbackup
2.6
MB
-r-xr-xr-x
vgcfgrestore
2.6
MB
-r-xr-xr-x
vgchange
2.6
MB
-r-xr-xr-x
vgck
2.6
MB
-r-xr-xr-x
vgconvert
2.6
MB
-r-xr-xr-x
vgcreate
2.6
MB
-r-xr-xr-x
vgdisplay
2.6
MB
-r-xr-xr-x
vgexport
2.6
MB
-r-xr-xr-x
vgextend
2.6
MB
-r-xr-xr-x
vgimport
2.6
MB
-r-xr-xr-x
vgimportclone
2.6
MB
-r-xr-xr-x
vgimportdevices
2.6
MB
-r-xr-xr-x
vgmerge
2.6
MB
-r-xr-xr-x
vgmknodes
2.6
MB
-r-xr-xr-x
vgreduce
2.6
MB
-r-xr-xr-x
vgremove
2.6
MB
-r-xr-xr-x
vgrename
2.6
MB
-r-xr-xr-x
vgs
2.6
MB
-r-xr-xr-x
vgscan
2.6
MB
-r-xr-xr-x
vgsplit
2.6
MB
-r-xr-xr-x
vigr
68.05
KB
-rwxr-xr-x
vipw
68.05
KB
-rwxr-xr-x
virt-what
13.65
KB
-rwxr-xr-x
virtualmin
1.37
KB
-rwxr-xr-x
visudo
218.98
KB
-rwxr-xr-x
vmcore-dmesg
28.56
KB
-rwxr-xr-x
vnstatd
117.09
KB
-rwxr-xr-x
vpddecode
16.47
KB
-rwxr-xr-x
weak-modules
33.56
KB
-rwxr-xr-x
wipefs
41.1
KB
-rwxr-xr-x
xfs_admin
1.38
KB
-rwxr-xr-x
xfs_bmap
695
B
-rwxr-xr-x
xfs_copy
434.59
KB
-rwxr-xr-x
xfs_db
760.54
KB
-rwxr-xr-x
xfs_estimate
12.39
KB
-rwxr-xr-x
xfs_freeze
800
B
-rwxr-xr-x
xfs_fsr
49.47
KB
-rwxr-xr-x
xfs_growfs
422.57
KB
-rwxr-xr-x
xfs_info
1.26
KB
-rwxr-xr-x
xfs_io
188.34
KB
-rwxr-xr-x
xfs_logprint
454.77
KB
-rwxr-xr-x
xfs_mdrestore
410.16
KB
-rwxr-xr-x
xfs_metadump
782
B
-rwxr-xr-x
xfs_mkfile
1.02
KB
-rwxr-xr-x
xfs_ncheck
685
B
-rwxr-xr-x
xfs_quota
94.04
KB
-rwxr-xr-x
xfs_repair
715.23
KB
-rwxr-xr-x
xfs_rtcp
16.38
KB
-rwxr-xr-x
xfs_spaceman
45.51
KB
-rwxr-xr-x
xfsdump
308.22
KB
-rwxr-xr-x
xfsinvutil
67.05
KB
-rwxr-xr-x
xfsrestore
369.6
KB
-rwxr-xr-x
xqmstats
16.45
KB
-rwxr-xr-x
xtables-monitor
216.6
KB
-rwxr-xr-x
xtables-nft-multi
216.6
KB
-rwxr-xr-x
zabbix_agentd
726.99
KB
-rwxr-xr-x
zdump
20.55
KB
-rwxr-xr-x
zic
52.8
KB
-rwxr-xr-x
zramctl
99.09
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : lvm_import_vdo
#!/bin/bash # # Copyright (C) 2021 Red Hat, Inc. All rights reserved. # # This file is part of LVM2. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License v.2. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # # Author: Zdenek Kabelac <zkabelac at redhat.com> # # Script for importing VDO volumes to lvm2 managed VDO LVs # # Needed utilities: # lvm, dmsetup, # vdo, # grep, awk, sed, blockdev, readlink, stat, mkdir # # Conversion is using 'vdo convert' support from VDO manager to move # existing VDO header by 2M which makes space to place in PV header # and VG metadata area, and then create VDOPOOL LV and VDO LV in such VG. # set -euE -o pipefail TOOL=lvm_import_vdo _SAVEPATH=$PATH PATH="/sbin:/usr/sbin:/bin:/usr/sbin:$PATH" # user may override lvm location by setting LVM_BINARY LVM=${LVM_BINARY:-lvm} VDO=${VDO_BINARY:-vdo} VDOCONF=${VDOCONF:-} BLOCKDEV="blockdev" READLINK="readlink" READLINK_E="-e" STAT="stat" MKDIR="mkdir" DMSETUP="dmsetup" TEMPDIR="${TMPDIR:-/tmp}/${TOOL}_${RANDOM}$$" DM_DEV_DIR="${DM_DEV_DIR:-/dev}" DEVICENAME="" DEVMAJOR=0 DEVMINOR=0 PROMPTING="" DRY=0 VERB="" FORCE="" YES="" # default name for converted VG and its VDO LV DEFAULT_NAME="vdovg/vdolvol" NAME="" # help message tool_usage() { echo "${TOOL}: Utility to convert VDO volume to VDO LV." echo echo " ${TOOL} [options] <vdo_device_path>" echo echo " Options:" echo " -f | --force Bypass sanity checks" echo " -h | --help Show this help message" echo " -n | --name Specifies VG/LV name for converted VDO volume" echo " -v | --verbose Be verbose" echo " -y | --yes Answer \"yes\" at any prompts" echo " --dry-run Print verbosely commands without running them" exit } verbose() { test -z "$VERB" || echo "$TOOL:" "$@" } # Support multi-line error messages error() { for i in "$@" ; do echo "$TOOL: $i" >&2 done cleanup 1 } dry() { if [ "$DRY" -ne 0 ]; then verbose "Dry execution" "$@" return 0 fi verbose "Executing" "$@" "$@" } cleanup() { trap '' 2 test -z "$PROMPTING" || echo "No" rm -rf "$TEMPDIR" # error exit status for break exit "${1:-1}" } get_enabled_value_() { case "$1" in enabled) echo "1" ;; *) echo "0" ;; esac } get_kb_size_with_unit_() { case "$1" in *[kK]) echo $(( ${1%[kK]} )) ;; *[mM]) echo $(( ${1%[mM]} * 1024 )) ;; *[gG]) echo $(( ${1%[gG]} * 1024 * 1024 )) ;; *[tT]) echo $(( ${1%[tT]} * 1024 * 1024 * 1024 )) ;; *[pP]) echo $(( ${1%[pP]} * 1024 * 1024 * 1024 * 1024 )) ;; esac } # Figure out largest possible extent size usable for VG # $1 physical size # $2 logical size get_largest_extent_size_() { local max=4 local i local d for i in 8 16 32 64 128 256 512 1024 2048 4096 ; do d=$(( $1 / i )) test $(( d * i )) -eq "$1" || break d=$(( $2 / i )) test $(( d * i )) -eq "$2" || break max=$i done echo "$max" } # detect LV on the given device # dereference device name if it is symbolic link detect_lv_() { local DEVICE=$1 local SYSVOLUME local MAJORMINOR DEVICE=${1/#"${DM_DEV_DIR}/"/} DEVICE=$("$READLINK" $READLINK_E "$DM_DEV_DIR/$DEVICE" || true) test -n "$DEVICE" || error "Readlink cannot access device \"$1\"." RDEVICE=$DEVICE case "$RDEVICE" in # hardcoded /dev since udev does not create these entries elsewhere /dev/dm-[0-9]*) read -r <"/sys/block/${RDEVICE#/dev/}/dm/name" SYSVOLUME 2>&1 && DEVICE="$DM_DEV_DIR/mapper/$SYSVOLUME" read -r <"/sys/block/${RDEVICE#/dev/}/dev" MAJORMINOR 2>&1 || error "Cannot get major:minor for \"$DEVICE\"." DEVMAJOR=${MAJORMINOR%%:*} DEVMINOR=${MAJORMINOR##*:} ;; *) RSTAT=$("$STAT" --format "DEVMAJOR=\$((0x%t)) DEVMINOR=\$((0x%T))" "$RDEVICE" || true) test -n "$RSTAT" || error "Cannot get major:minor for \"$DEVICE\"." eval "$RSTAT" ;; esac test "$DEVMAJOR" != "$(grep device-mapper /proc/devices | cut -f1 -d' ')" && return DEV="$("$DMSETUP" info -c -j "$DEVMAJOR" -m "$DEVMINOR" -o uuid,name --noheadings --nameprefixes --separator ' ')" case "$DEV" in Device*) ;; # no devices *) eval "$DEV" ;; esac } # parse yaml config files into 'prefix_yaml_part_names=("value")' strings parse_yaml_() { local yaml_file=$1 local prefix=$2 local s local w local fs s='[[:space:]]*' w='[a-zA-Z0-9_.-]*' fs="$(echo @|tr @ '\034')" ( sed -ne '/^--/s|--||g; s|\"|\\\"|g; s/[[:space:]]*$//g;' \ -e 's/\$/\\\$/g' \ -e "/#.*[\"\']/!s| #.*||g; /^#/s|#.*||g;" \ -e "s|^\($s\)\($w\)$s:$s\"\(.*\)\"$s\$|\1$fs\2$fs\3|p" \ -e "s|^\($s\)\($w\)${s}[:-]$s\(.*\)$s\$|\1$fs\2$fs\3|p" | awk -F"$fs" '{ indent = length($1)/2; if (length($2) == 0) { conj[indent]="+";} else {conj[indent]="";} vname[indent] = $2; for (i in vname) {if (i > indent) {delete vname[i]}} if (length($3) > 0) { vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("_")} printf("%s%s%s%s=(\"%s\")\n", "'"$prefix"'",vn, $2, conj[indent-1], $3); } }' | sed -e 's/_=/+=/g' | awk 'BEGIN { FS="="; OFS="=" } /(-|\.).*=/ { gsub("-|\\.", "_", $1) } { print }' ) < "$yaml_file" } # convert existing VDO volume into lvm2 volume convert2lvm_() { local DEVICE=$1 local VGNAME=${NAME%/*} local LVNAME=${NAME#*/} local VDONAME local TRVDONAME local EXTENTSZ local IS_LV=1 local FOUND="" local MAJOR=0 local MINOR=0 local DM_VG_NAME local DM_LV_NAME DM_UUID="" detect_lv_ "$DEVICE" case "$DM_UUID" in LVM-*) eval "$("$DMSETUP" splitname --nameprefixes --noheadings --separator ' ' "$DM_NAME")" if [ -z "$VGNAME" ] || [ "$VGNAME" = "$LVNAME" ] ; then VGNAME=$DM_VG_NAME verbose "Using existing volume group name $VGNAME." test -n "$LVNAME" || LVNAME=$DM_LV_NAME elif test "$VGNAME" != "$DM_VG_NAME" ; then error "Volume group name \"$VGNAME\" does not match name \"$DM_VG_NAME\" for VDO device \"$DEVICE\"." fi ;; *) IS_LV=0 # Check if we need to generate unused $VGNANE if [ -z "$VGNAME" ] || [ "$VGNAME" = "$LVNAME" ] ; then VGNAME=${DEFAULT_NAME%/*} # Find largest matching VG name to our 'default' vgname LASTVGNAME=$(LC_ALL=C "$LVM" vgs -oname -O-name --noheadings -S name=~${VGNAME} | grep -E "${VGNAME}[0-9]? ?" | head -1 || true) if test -n "$LASTVGNAME" ; then LASTVGNAME=${LASTVGNAME#*${VGNAME}} # If the number is becoming too high, try some random number test "$LASTVGNAME" -gt 99999999 2>/dev/null && LASTVGNAME=$RANDOM # Generate new unused VG name VGNAME="${VGNAME}$(( ${LASTVGNAME} + 1 ))" verbose "Selected unused volume group name $VGNAME." fi fi # New VG is created, LV name should be always unused. test -n "$LVNAME" || LVNAME=${DEFAULT_NAME#*/} "$LVM" vgs "$VGNAME" >/dev/null 2>&1 && error "Cannot use already existing volume group name \"$VGNAME\"." ;; esac verbose "Checked whether device $1 is already LV ($IS_LV)." "$MKDIR" -p -m 0000 "$TEMPDIR" || error "Failed to create $TEMPDIR." # TODO: might use directly /etc/vdoconf.yml (avoding need of 'vdo' manager) verbose "Getting YAML VDO configuration." "$VDO" printConfigFile $VDOCONF >"$TEMPDIR/vdoconf.yml" # Check list of devices in VDO configure file for their major:minor # and match with given $DEVICE devmajor:devminor for i in $(awk '/.*device:/ {print $2}' "$TEMPDIR/vdoconf.yml") ; do local DEV DEV=$("$READLINK" $READLINK_E "$i") || continue RSTAT=$("$STAT" --format "MAJOR=\$((0x%t)) MINOR=\$((0x%T))" "$DEV" 2>/dev/null) || continue eval "$RSTAT" test "$MAJOR" = "$DEVMAJOR" && test "$MINOR" = "$DEVMINOR" && { test -z "$FOUND" || error "VDO configuration contains duplicate entries $FOUND and $i" FOUND=$i } done test -n "$FOUND" || error "Can't find matching device in vdo configuration file." verbose "Found matching device $FOUND $MAJOR:$MINOR" VDONAME=$(awk -v DNAME="$FOUND" '/.*VDOService$/ {VNAME=substr($1, 0, length($1) - 1)} /[[:space:]]*device:/ { if ($2 ~ DNAME) {print VNAME}}' "$TEMPDIR/vdoconf.yml") TRVDONAME=$(echo "$VDONAME" | tr '-' '_') # When VDO volume is 'active', check it's not mounted/being used DM_OPEN="$("$DMSETUP" info -c -o open "$VDONAME" --noheadings --nameprefixes 2>/dev/null || true)" case "$DM_OPEN" in Device*) ;; # no devices *) eval "$DM_OPEN" test "${DM_OPEN:-0}" -eq 0 || error "Cannot convert in use VDO volume \"$VDONAME\"!" ;; esac #parse_yaml_ "$TEMPDIR/vdoconf.yml" _ eval "$(parse_yaml_ "$TEMPDIR/vdoconf.yml" _ | grep "$TRVDONAME" | sed -e "s/_config_vdos_$TRVDONAME/vdo/g")" vdo_logicalSize=$(get_kb_size_with_unit_ "$vdo_logicalSize") vdo_physicalSize=$(get_kb_size_with_unit_ "$vdo_physicalSize") verbose "Converted VDO device has logical/physical size $vdo_logicalSize/$vdo_physicalSize KiB." PARAMS=$(cat <<EOF allocation { vdo_use_compression = $(get_enabled_value_ "$vdo_compression") vdo_use_deduplication = $(get_enabled_value_ "$vdo_deduplication") vdo_use_metadata_hints=1 vdo_minimum_io_size = $vdo_logicalBlockSize vdo_block_map_cache_size_mb = $(( $(get_kb_size_with_unit_ "$vdo_blockMapCacheSize") / 1024 )) vdo_block_map_period = $vdo_blockMapPeriod vdo_check_point_frequency = $vdo_indexCfreq vdo_use_sparse_index = $(get_enabled_value_ "$vdo_indexSparse") vdo_index_memory_size_mb = $(awk "BEGIN {print $vdo_indexMemory * 1024}") vdo_slab_size_mb = $(( $(get_kb_size_with_unit_ "$vdo_blockMapCacheSize") / 1024 )) vdo_ack_threads = $vdo_ackThreads vdo_bio_threads = $vdo_bioThreads vdo_bio_rotation = $vdo_bioRotationInterval vdo_cpu_threads = $vdo_cpuThreads vdo_hash_zone_threads = $vdo_hashZoneThreads vdo_logical_threads = $vdo_logicalThreads vdo_physical_threads = $vdo_physicalThreads vdo_write_policy = $vdo_writePolicy vdo_max_discard = $(( $(get_kb_size_with_unit_ "$vdo_maxDiscardSize") / 4 )) vdo_pool_header_size = 0 } EOF ) verbose "VDO conversion paramaters: $PARAMS" # If user has not provided '--yes', prompt before conversion if test -z "$YES" ; then PROMPTING=yes echo -n "Convert VDO device \"$DEVICE\" to VDO LV \"$VGNAME/$LVNAME\"? [y|N]: " read -n 1 -s ANSWER case "${ANSWER:0:1}" in y|Y ) echo "Yes" ;; * ) echo "No" ; PROMPTING=""; exit 1 ;; esac PROMPTING="" YES="-y" # From now, now prompting fi verbose "Stopping VDO volume." dry "$VDO" stop $VDOCONF --name "$VDONAME" if [ "$IS_LV" = "0" ]; then verbose "Moving VDO header by 2MiB." dry "$VDO" convert $VDOCONF --force --name "$VDONAME" dry "$LVM" pvcreate $YES --dataalignment 2M "$DEVICE" || { error "Creation of PV on \"$DEVICE\" failed, while VDO header has been already moved!" } # Obtain free space in this new PV # after 'vdo convert' call there is +2M free space at the front of the device case "$DRY" in 0) pvfree=$("$LVM" pvs -o devsize --units b --nosuffix --noheadings "$DEVICE") ;; *) pvfree=$("$BLOCKDEV" --getsize64 "$DEVICE") ;; esac pvfree=$(( pvfree / 1024 - 2048 )) # to KiB else pvfree=$("$LVM" lvs -o size --units b --nosuffix --noheadings "$DM_VG_NAME/$DM_LV_NAME") pvfree=$(( pvfree / 1024 )) # to KiB fi # select largest possible extent size that can exactly express both sizes EXTENTSZ=$(get_largest_extent_size_ "$pvfree" "$vdo_logicalSize") if [ "$IS_LV" = "0" ]; then verbose "Creating VG \"${NAME%/*}\" with extent size $EXTENTSZ KiB." dry "$LVM" vgcreate $YES $VERB -s "${EXTENTSZ}k" "$VGNAME" "$DEVICE" || { error "Creation of VG \"$VGNAME\" failed, while VDO header has been already moved!" } verbose "Creating VDO pool data LV from all extents in volume group $VGNAME." dry "$LVM" lvcreate -Zn -Wn $YES $VERB -l100%VG -n "${LVNAME}_vpool" "$VGNAME" else # validate existing VG extent_size can express virtual VDO size vg_extent_size=$("$LVM" vgs -o vg_extent_size --units b --nosuffix --noheadings "$VGNAME" || true) vg_extent_size=$(( vg_extent_size / 1024 )) test "$vg_extent_size" -le "$EXTENTSZ" || { error "Please vgchange extent_size to at most $EXTENTSZ KiB or extend and align virtual size of VDO device on $vg_extent_size KiB." } verbose "Renaming existing LV to be used as _vdata volume for VDO pool LV." dry "$LVM" lvrename $YES $VERB "$VGNAME/$DM_LV_NAME" "$VGNAME/${LVNAME}_vpool" || { error "Rename of LV \"$VGNAME/$DM_LV_NAME\" failed, while VDO header has been already moved!" } fi verbose "Converting to VDO pool." dry "$LVM" lvconvert $YES $VERB $FORCE --config "$PARAMS" -Zn -V "${vdo_logicalSize}k" -n "$LVNAME" --type vdo-pool "$VGNAME/${LVNAME}_vpool" rm -fr "$TEMPDIR" } ############################# # start point of this script # - parsing parameters ############################# trap "cleanup 2" 2 test "$#" -eq 0 && tool_usage while [ "$#" -ne 0 ] do case "$1" in "") ;; "-f"|"--force" ) FORCE="-f" ;; "-h"|"--help" ) tool_usage ;; "-n"|"--name" ) shift; NAME=$1 ;; "-v"|"--verbose") VERB="-v" ;; "-y"|"--yes" ) YES="-y" ;; "--dry-run" ) DRY="1" ; VERB="-v" ;; "-*") error "Wrong argument \"$1\". (see: $TOOL --help)" ;; *) DEVICENAME=$1 ;; # device name does not start with '-' esac shift done test -n "$DEVICENAME" || error "Device name is not specified. (see: $TOOL --help)" # do conversion convert2lvm_ "$DEVICENAME"
Close