[Bug 159356] [zfs] [patch] ZFS NAME_ERR_DISKLIKE check is Solaris-specific
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 23 03:15:48 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=159356
Dennis Clarke <dclarke at blastwave.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dclarke at blastwave.org
--- Comment #3 from Dennis Clarke <dclarke at blastwave.org> ---
This is still a concern with OpenZFS in that:
sys/contrib/openzfs/module/zcommon/zfs_namecheck.c
still looks like :
453 if (pool[0] == 'c' && (pool[1] >= '0' && pool[1] <= '9')) {
454 if (why)
455 *why = NAME_ERR_DISKLIKE;
456 return (-1);
457 }
Surely this can be changed to looking for ada0 or even da0 type stuff?
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list