uweseimet / scsi2pi

Advanced performant SCSI/SASI emulation and tools for the PiSCSI/RaSCSI board
https://www.scsi2pi.net
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

s2pctl: Display the *current* s2p settings as properties, not the startup settings #41

Closed uweseimet closed 8 months ago

uweseimet commented 8 months ago

Currently s2pctl displays the s2p startup settings as properties with "s2pctl -P". This shall be the current settings instead. The output can then be used to conveniently to create a property file (e.g. /etc/s2p.conf) from a running s2p setup. The scsi_level setting is ignored, because it is exotic and might result in users thinking you would usually need it.