This file is indexed.

/usr/lib/scsi/format is in scsitools 0.12-3ubuntu1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/wish -f
# Copyright 1993 Yggdrasil Computing, Incorporated
# You may copy this file according to the terms and conditions of version 2
# of the GNU General Public License as published by the Free Software
# Foundation.

frame .h
label .h.info -bitmap info -bg pink
message .h.message -width 400 -bg pink -text \
	{Scsi Format Page configuration.}

pack .h.info .h.message -padx 10 -side left
pack .h -pady 10

message .message2 -width 400 -bg red -fg white -justify center -text \
	{Warning - altering any one of these parameters may make \
	the drive inaccessible until you perform a low-level format. \
	If the parameters are not stored in the non-volatile memory on \
	the drive, you should be able to restore the old parameters by \
	powering down the drive.}

pack .message2

source /usr/lib/scsi/generic

# Here we set the bits that depend upon the menu we are in
set button_list {remove hard  soft addrass }
set text_list {trackzone altseczone alttrackzone alttracklun sectortrack bytesector interleave trackskew cylskew}
set text_descriptions {"Tracks Per Zone " "Alternate Sectors per Zone " "Alternate Tracks per Zone " "Alternate Tracks per lun " "Sectors per Track " "Bytes per Sector " "Interleave " "Track Skew Factor " "Cylinder Skew Factor "}
set switch {-f}
set label_width 23
set text_width 10

frame .f1
frame .f2
frame .f3

generate_textboxes

checkbutton .hard -text "Supports Hard Sectoring"

checkbutton .soft -text "Supports Soft Sectoring"

checkbutton .remove -text "Removable"

checkbutton .dummy2 -text "Removable"

checkbutton .addrass -text "Addresses assigned by surface"

label .dummy -text " "
pack .trackzone .altseczone .alttrackzone .alttracklun .sectortrack .bytesector .interleave  -in .f1 -pady 5 -anchor w
pack .trackskew .cylskew .hard .soft  .remove .addrass .dummy -in .f2 -pady 5 -anchor w

pack .f1 .f2 -in .f3 -side left -padx 3m -pady 3m
pack .f3  -padx 3m -pady 3m

read_page $argv "-X"
read_modifiable $argv