tk_scsiformat(8)

✨ tk_scsiformat β€” the manual page, but make it cute ✨

okay bestie, sit down, we're talking about tk_scsiformat(8) from the Scsiinfo User's Guide πŸ’– this is the girlypop graphical front-end and she is serving low-level format energy.


πŸŽ€ NAME πŸŽ€

tk_scsiformat β€” low level format an scsi disk device with a nice user interface πŸ’…


🌸 SYNOPSIS 🌸

tk_scsiformat [device]

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, tk_scsiformat low level formats the SCSI device identified by the scsi disk or generic scsi device node device. And no cap β€” you must be root to perform this operation. like, root only, periodt πŸ‘‘

When you do not specify a device, tk_scsiformat gives you a list to select a disk device from. so generous of her 🫢

tk_scsiformat is a Tcl/Tk user interface to scsiformat(8).

Bestie, you should read that manual page for the general operation of scsiformat. All common X11 and Tcl/Tk options apply.

By the nature of graphical user interfaces, there should not be much to explain here. literally. All entry fields refer directly to scsiformat(8) options. iykyk ✨

In addition to those, you are able to save your selections to be used as defaults for this device next time in a file /usr/lib/scsi/scsiformat.defs.* by pressing the <Save Defaults> button. This is intended and very handy for formatting of removable medias. Obsessed. πŸ’– Note, however, that tk_scsiformat is not as clever as scsiformat(8) (or even tries to be) to find if multiple ways to refer to the same scsi device (disk device, generic device). she's doing her best, okay 😭

Furthermore, you can select (or enter freely) a command to automatically make a file system on the newly formatted disk. slay 🌈

While formatting a nice completion bar is drawn. Alas, I could not really implement querying progress from a target device yet. πŸ’€ we're working on it (we are not working on it)

The /usr/lib/scsi/tworands binary is used to calculate two random integers which is not supported by plain Tcl/Tk.


πŸ’€ BUGS πŸ’€

When not specifying a device to format, tk_scsiformat will prepare a list of disk devices to choose from. Alas, if a blocking format operation is running on one of them, tk_scsiformat will block in a non interruptible disk wait sleep. πŸ™ˆ yeah. it just sits there. vibes: immaculate, responsiveness: zero.

Old status files in /tmp will confuse tk_scsiformat. However, they are removed after 48 hours. so like, give it two days πŸ“

Restrictions of the SCSI_IOCTL_SEND_COMMAND ioctl(2) call for the sd(4) device make it impossible to issue a FORMAT_UNIT command with more than 4096 bytes of arguments. This could be avoided by using the proper generic scsi device /dev/sg* instead, at least where the kernel is compiled to support it. Most of the time this is not needed though and thus I'm myself to lazy to do it. πŸ’… (their words, not mine, we respect the author's honesty)


🧚 FILES 🧚

  • /usr/lib/scsi/tworands
  • /usr/lib/scsi/scsiformat.defs.*
  • /tmp/scsiformat.xx:xx:xx:xx:xxxxxxxx
  • /dev/sd*
  • /dev/sg*

πŸ‘‘ SEE ALSO πŸ‘‘

scsiformat(8), scsiinfo(8), scsi-config(8), fdisk(8), sd(4).


🌟 AUTHOR 🌟

Michael Weller <eowmob@exp-math.uni-essen.de>


and that's the whole page, bestie, no skips, no cuts, every last detail kept πŸ’œ this was scsiinfo version 1.7, dated 23 August 1997 β€” yeah she's vintage, she's iconic, she's still here. mwah πŸŽ€