Skip to content

Handle overlapping iSCSI names: foo and foo2, for example#26

Open
eborisch wants to merge 1 commit intofreebsd:masterfrom
eborisch:iscsi-match
Open

Handle overlapping iSCSI names: foo and foo2, for example#26
eborisch wants to merge 1 commit intofreebsd:masterfrom
eborisch:iscsi-match

Conversation

@eborisch
Copy link
Copy Markdown
Contributor

@eborisch eborisch commented Aug 6, 2025

If two iSCSI targets have overlapping names, iqn*:foo and iqn*:foo2, for example, using diskN_name=foo for an iSCSI device leads to unpredictable results.

Check first for a match with a trailing space, and only accept a match without the trailing space when unsuccessful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant