-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Destroy legacy string functions. Clean out vtoc.h #12996
Conversation
42ee3d7
to
1490d2c
Compare
efa0331
to
8f76c0f
Compare
Prolific, thank you :). I wonder if there are any out of tree consumers for this stuff like GRUB or what-not which may expect the symbols to be around for something. By no means suggesting to let dead code lie, just wondering out loud what weird uses the larger ecosystem may have for some of these legacy paths. |
5295864
to
e66c71c
Compare
VTOC is (I'm guessing from the headers here) an AT&T UNIX disk labelling system. Crookedly reproduced in Solaris. Not reproduced outside. The SYSCALL32 stuff, on the other hand, is for 32-bit-userland-on-64-bit-kernels (think i686 on and amd64 kernel, would x32 produce another, third, set of definitions? doesn't bear thinking about). Nothing uses this. I guess the error codes and (partial?) MBR(?) partition code lists may be used outside, but. Well. It's libefi. Decidedly the worst and most annoying bit of libzfs, and I'd say openzfs as it stands today (and it's for writes, which neither bootloaders nor GRUB do (well, GRUB does have a single persistent block, but, you know, it's different)). I yearn for the day when I remove it entirely. Hopefully. Also, GRUB? You do know that GRUB doesn't (cannot) link to Solaris code because the GPL is too proprietary to be compatible with the CDDL, right? This is the primary reason it's absolute hot shit and not worth the effort to do boot pools (especially on EFI). As for достопримечательности, it's "places worth visiting" in a touristy sense, I guess? Not necessarily sights to be seen, since those are natural sites and достопримечательности aren't necessarily. Dunno, its like a vibe, too. In lieu of a translation I recommend being slavic and speaking russian from an early age (though, indeed, that may be a little too aspirational for the casual reader). |
Offtopic, an interesting and close sense of meaning is |
18a4486
to
b254c8d
Compare
0923154
to
aaddab7
Compare
b4c3b21
to
87f6255
Compare
Rebased, g2g |
87f6255
to
d6af579
Compare
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12996
Motivation and Context
All my homies hate the legacy string functions. Also, the freebsd strings.h stub said "do not remove", which is irresistible.
Description
Draft because on top of #12901, otherwiseg2g.down from, uh,
Also, I went to town on vtoc.h. Maybe a little too to town? But I don't think any mercy should be shown.
Also also I made
zpool wait -t
(and all other users of getsubopt(3)) accept just theword[,...]
s instead ofword[=whatever][,...]
(for a delightfully const moment).How Has This Been Tested?
Builds.
Types of changes
Checklist:
Signed-off-by
.