ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/StorageFields.ybc

YaST bytecode 1.4.0
StorageFields StorageFields.ycpStorageStorageIconsFileSystems
Partitions	DirectoryModeHTMLInteger	String
RegionIterateTargetMap		BooleanToHumanString	
UsedByString		TableHeader
Helptext	

MakeSubInfo

TableRow
AlwaysHideDisk	AlwaysHidePartition	PredicateAll
PredicateDiskType

PredicateDiskDevice
	PredicateDevice
	PredicateUsedByDevice
	PredicateMountpoint

TableContents
	
Table
	

TableHelptext	
OverviewContents	
		Overview
		OverviewHelptext	

target_map	callback	Sfields

target_map	disk
target_map	disk	partitiondisk	partitiondisk	partition
disk_types
disk	partitiondisk_devices	disk	partitiondevices	5disk	partitiondevices	Kdisk	partitiongfields

target_map		predicate
fields

target_map		predicate
fields
fields

target_map	device	fields

target_map	device	fields
!3UIGetDisplayInfo	0storage3StorageByteToHumanString	KByteToHumanString	ByteToHumanStringOmitZeroes	KByteToHumanStringOmitZeroes	GetIgnoreFstab	IsPartitionable3StorageIconsencrypted_icon	IconMap	
3FileSystemsGetName	
	3
Partitionsfsid_mac_hiddenToHexString	FsIdToString	3	Directoryicondir	3Modenormal3HTMLHeading		List		Newline	3IntegerRange3String
EscapeTags		3RegionStartEnd%
disk_orderkeys	$

	CT_DISKCT_DMCT_DMMULTIPATH	CT_DMRAIDCT_LOOPCT_LVMCT_MD	CT_MDPARTCT_NFS$"
				maplistdev	disk&#
				sorta	b	
oaob$$

type
CT_UNKNOWN	$%

type
CT_UNKNOWN	-&,)		foreachdev	
disk$*
,+!%0value(2-4Yesstorage-7Nostorage%;
used_by	type
device	$=

typeUB_NONE$>
	device5
UB_DMUB_DMMULTIPATH	UB_DMRAIDUB_LVMUB_MD	UB_MDPART-C+			LVM 
-E+			DM 
-G+			DM RAID 
-I+			
DM Multipath 
-L+			MD RAID 
-N
%Sheader$U
header,W

foreachfield
5bios_id 
chunk_size.device
disk_label"	encryptedend_cylformatfs_idfs_type
labellvm_metadata$mount_bymount_pointparity_algorithm0pe_size&	raid_type,raid_version*size	start_cylstripes(typeudev_id	udev_pathused_byuuid25&]
add
Devicestorage.^&b
add
RightSizestorage.c&g
add
Typestorage.h&l
add
CenterFstorage.m&q
add
CenterEncstorage.r&v
add
FS Typestorage.w&{
add
Mount Pointstorage.|&
add
Mount Bystorage.&
add
Used Bystorage.&
add
RightStartstorage.&
add
RightEndstorage.&
add
RightFS Idstorage.&
add
UUIDstorage.&
add
Labelstorage.&
add
Device Pathstorage.&
add
	Device IDstorage.&
add
BIOS IDstorage.&
add

Disk Labelstorage.&
add
Metadatastorage.&
add
PE Sizestorage.&
add
Stripesstorage.&
add
RAID Versionstorage.&
add
	RAID Typestorage.&
add

Chunk Sizestorage.&
add
Parity Algorithmstorage.,	
y2error	
unknown field %1&
add
error.-
%field
style
ret	$
<p>5#bios_idbus
chunk_sizecyl_sizedevice

disk_label	encryptedend_cyl
fc_fcp_lun
fc_port_idfc_wwpn	file_pathformatfs_idfs_typelabel lvm_metadata"model$mount_by&mount_point)num_cyl,parity_algorithm.pe_size0	raid_type4raid_version2sector_sizesize6	start_cyl8stripes:type<udev_id>	udev_path@used_byBuuidDvendorFHK&
+			
K<b>BIOS ID</b> shows the BIOS ID of the hard
disk. This field can be empty.storage.&
+			
n<b>Bus</b> shows how the device is connected to
the system. This field can be empty, e.g. for multipath disks.storage.&
+			
8<b>Chunk Size</b> shows the chunk size for RAID
devices.storage.&
+			
F<b>Cylinder Size</b> shows the size of the
cylinders of the hard disk.storage.&
+			
B<b>Sector Size</b> shows the size of the
sectors of the hard disk.storage.&

+			
2<b>Device</b> shows the kernel name of the
device.storage.&
+			
a<b>Disk Label</b> shows the partition table
type of the disk, e.g <tt>MSDOS</tt> or <tt>GPT</tt>.storage.&
+			
7<b>Encrypted</b> shows whether the device is
encrypted.storage.&
+			
<<b>End Cylinder</b> shows the end cylinder of
the partition.storage.&"
+			
A<b>LUN</b> shows the Logical Unit Number for
Fibre Channel disks.storage.$&(
+			
9<b>Port ID</b> shows the port id for Fibre
Channel disks.storage.*&.
+			
C<b>WWPN</b> shows the World Wide Port Name for
Fibre Channel disks.storage.0&4
+			
I<b>File Path</b> shows the path of the file for
an encrypted loop device.storage.6&:
+			
X<b>Format</b> shows some flags: <tt>F</tt>
means the device is selected to be formatted.storage.<&@
+			
&<b>FS Id</b> shows the file system id.storage.A&E
+			
*<b>FS Type</b> shows the file system type.storage.F&J
+			
0<b>Label</b> shows the label of the file
system.storage.L&P
+			
><b>Metadata</b> shows the LVM metadata type for
volume groups.storage.R&V
+			
$<b>Model</b> shows the device model.storage.W&[
+			
<b>Mount By</b> indicates how the file system
is mounted: (Kernel) by Kernel Name, (Label) by File System Label, (UUID) by
File System UUID, (ID) by Device ID, and (Path) by Device Path.storage(^&`
+			+			
 A question mark (?) indicates that
the file system is not listed in <tt>/etc/fstab</tt>. It is either mounted
manually or by some automount system. When changing setting of this volume
YaST will not update <tt>/etc/fstab</tt>.storage.d&h
+			
:<b>Mount Point</b> shows where the file system
is mounted.storage(j&l
+			+			
 An asterisk (*) after the mount point
indicates a file system that is currently not mounted (for example, because it
has the <tt>noauto</tt> option set in <tt>/etc/fstab</tt>).storage.o&s
+			
F<b>Number of Cylinders</b> shows how many
cylinders the hard disk has.storage.u&y
+			
U<b>Parity Algorithm</b> shows the parity
algorithm for RAID devices with RAID type 5.storage.{&
+			
D<b>PE Size</b> shows the physical extent size
for LVM volume groups.storage.&
+			
+<b>RAID Version</b> shows the RAID version.storage.&
+			
O<b>RAID Type</b> shows the RAID type, also
called RAID level, for RAID devices.storage.&
+			
)<b>Size</b> shows the size of the device.storage.&
+			
@<b>Start Cylinder</b> shows the start cylinder
of the partition.storage.&
+			
y<b>Stripes</b> shows the stripe number for LVM
logical volumes and, if greater than one, in parenthesise the stripe size.storage.&
+			
;<b>Type</b> gives a general overview about the
device type.storage.&
+			
J<b>Device Id</b> shows the persistent device
ids. This field can be empty.storage.&
+			
M<b>Device Path</b> shows the persistent device
path. This field can be empty.storage.&
+			
<b>Used By</b> shows if a device is used by
e.g. RAID or LVM. If you do not use such things, it is perfectly normal for
this column to be empty.storage.&
+			
G<b>UUID</b> shows the Universally Unique
Identifier of the file system.storage.&
+			
&<b>Vendor</b> shows the device vendor.storage.,	
y2error	
unknown field %1&
+			
error.&
+			
</p>-
%diskpartfield
style
datatype
device	$
$

typeprimary
typeCT_DISK$
	
device5#bios_id
bus
chunk_sizecyl_sizedevice
disk_label	encryptedend_cyl
fc_fcp_lun!
fc_port_id"fc_wwpn 	file_pathformatfs_idfs_typelabel
lvm_metadatamodelmount_bymount_pointnum_cylparity_algorithmpe_size	raid_typeraid_versionsector_sizesize	start_cylstripestypeudev_id	udev_pathused_byuuid	vendor#$4value	$
(table--		
sformat		

Device: %1storage
4value	$
size_k(table--		
sformat		
Size: %1storage4value	$(4disk_device	vendor	model	$	device$	vendor$	model(&&&+			+			-&+			(4(	busRAID4&+			RAID (
type
CT_UNKNOWNCT_LVM4&+			+			LVMlvm22  	name(
type
CT_UNKNOWN	CT_DMRAID4&+			DM RAID 	name(	
type
CT_UNKNOWNCT_DMMULTIPATH4
&+			
DM Multipath 	name(

type
CT_UNKNOWN	CT_MDPART4&+			MD RAID 	name4&		
sformat		
DISK %1storage			substring		4&	fstype(table-cellicon+			+			22x22/apps/
- 		
sformat		
Type: %1storage
4$value	$%(&4&('dasdfmt&(+			X4)(*format&++			F(-table-.-1		
sformat		

Format: %1storage45value$6

enc_typenonenone(7table48(94:(;HasIconSupport-<cellicon+			+			22x22/apps/->E-A4D-F		
sformat		

Encrypted: %1storage4Kvalue	$L

used_fsunknown(Mtable-N-Q		
sformat		
File System: %1storage4Uvalue	$V	
mount(X4Y(Z
inactive&[+			 *(^table-_-b		
sformat		
Mount Point: %1storage
4fvalue	$g(i	
mount4itmpmount_by
$j
deviceKernelidIDlabelLabelpathPathuuidUUID$k

mountbydevice&l	(o4ptmp$q(r&&
 &s?(vtable-w-z		
sformat		
Mount By: %1storage4~(table-

used_by
4n$size
used_by	-			mergestring					maplisti			
sformat		
Used By %1: %2storage+


used_by
4value	$	
uuid(table--		
sformat		
UUID: %1storage4value	$	
label(table--		
sformat		
	Label: %1storage
4value	$	
	udev_path(table--		
sformat		
Device Path: %1storage4(table4-	
udev_id4n$size
udev_id	-			mergestring					maplisti			
sformat		
Device ID %1: %2storage+	
udev_id4value	$	
bios_id(table--		
sformat		
BIOS ID: %1storage4value	$		toupper			
label(table--		
sformat		
Disk Label: %1storage4value	$	
vendor(table--		
sformat		

Vendor: %1storage
4value	$	
model(table--		
sformat		
	Model: %1storage
4value	$	
bus(table--		
sformat		
Bus: %1storage4value	$(&&
type
CT_UNKNOWNCT_LVM&lvm2LVM2LVM1(table--		
sformat		
Metadata: %1storage4value	$(&&
type
CT_UNKNOWNCT_LVM&pesize(table--		
sformat		
PE Size: %1storage4value	$(&&
type
CT_UNKNOWNCT_LVM4stripes
stripesize$
stripes$

stripesize(&		
sformat		
%1&
		
sformat		
%1 (%2)(table-
-		
sformat		
Stripes: %1storage4value	$	
sb_ver(table--		
sformat		
RAID Version: %1storage4value	$		toupper			
	raid_type( table-!-$		
sformat		

RAID Type: %1storage4(value	$)(*		contains	raid0raid5	
	raid_type4*	chunksize$+

chunk_size&,(.table-/-2		
sformat		
Chunk Size: %1storage46value	$7(8		contains	raid5	
	raid_type48&9	
parity_algorithm&:			mergestring						splitstring			_-(<table-=-@		
sformat		
Parity Algorithm: %1storage4Dvalue	$E(F&&&G	tostring		cyl_count(Htable-I-L		
sformat		
Number of Cylinders: %1storage4Pvalue	$Q(R&&&Scyl_size(Ttable-U-X		
sformat		
Cylinder Size: %1storage4\value	$](^4^(_&`	tostring	&b	tostring	region	(dtable-e-h		
sformat		
Start Cylinder: %1storage4lvalue	$m(n4n(o&p	tostring	-	cyl_count&r	tostring	region	(ttable-u-x		
sformat		
End Cylinder: %1storage4|value	$}(~&&&sector_size(table--		
sformat		
Sector Size: %1storage4fs_idvalue	$
fsid$+			+			 (table--		
sformat		
	FS Id: %1storage4value	$	
fpath(table--		
sformat		

File Path: %1storage
4value	$(haskey
fc
wwpn&+			0x		toupper					substring			tohexstring	
fcwwpn(table--		
sformat		
WWPN: %1storage4value	$(haskey
fc
fcp_lun&	tostring	
fcfcp_lun(table--		
sformat		
LUN: %1storage4value	$(haskey
fc
port_id&+			0x		toupper					substring			tohexstring	
fcport_id(table--		
sformat		
Port ID: %1storage4,	
y2error	
unknown field %1-error%fields
diskpartdevice	row$
	device	device$


list::reducetmpfield
itemid
addtable-
%	real_disktype
$
$

type
CT_UNKNOWN(&&
CT_DISK!
-(!

contains	CT_DISK	CT_DMRAIDCT_DMMULTIPATH	CT_MDPARTCT_LVM
--%(fsid--%-
showandfollow%(4(

contains
type
CT_UNKNOWN-
showandfollow-ignore4-show%(4(		contains	device-follow-ignore4-show%(!4"(#		contains	device-$
showandfollow-&follow4)(*		contains	device-+show--ignore%5(748(9findused_byused_by			contains	device-:
showandfollow-<follow4?(@findused_byused_by			contains	device-Ashow-Cignore%K(M4N(O!	isempty		mount-P
showandfollow-Rfollow4U(V!	isempty		mount-Wshow-Yignore%gcontentscallback	$j
	%l

target_map	diskdisk_predicate
$n!(p&&!

contains	show
showandfollow4rrow$s&t
add
(w

contains	follow
showandfollow4x
partitions$y
partitions	,{foreach	partitionpart_predicate
$}!(&&!

contains	show
showandfollow4row$&
add
,
-
%headercontent$
$
-TableoptkeepSorting

%initial	helptext	&


filterfield
			substring			tostring	`heading$
<p>The table contains:</p>storage$
		
	
	list::reducetmp	field

+			table-
%diskpartsplitfields

Heading	
List	
content	$
$
(
4,		foreachs	d&
findp
partitions		device(
4&
.%
fields
ret
tmp
$	$	,

foreachfield
(			substring			tostring	`heading4(size&


add&4&


add(size&


add-%
field
5heading_device
heading_fcheading_filesystem
heading_hdheading_lvm
heading_md-Device:storage-File System:storage-
Hard Disk:storage-Fibre Channel:storage-LVM:storage-RAID:storage,	
y2error	
unknown field %1-error%
fields
-	

	maplistfield
	

overview$
			mergestring				

	maplist	subfields

+			
none



sublist-
%contents	$
-RichTextidtextopthstretchvstretch
%initial	helptext	&


filterfield
			substring			tostring	`heading$
<p>The overview contains:</p>storage$
		
	
	list::reducetmp	field

+			overview-


ACC SHELL 2018