aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-01-09 22:31:10 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-01-09 22:31:10 +0000
commitfc13fc1c3a746fcece4bc17d4ff49d8d29d3e454 (patch)
treeba9583e67ac1c35c58ff04e961f181000d2b048e /sbin
parent4f4ef03f5f26717b97ea6a04b9265f67d42f0b68 (diff)
downloadsrc-fc13fc1c3a746fcece4bc17d4ff49d8d29d3e454.tar.gz
src-fc13fc1c3a746fcece4bc17d4ff49d8d29d3e454.zip
libbe(3): move altroot augmentation bits around a little bit
We could perhaps have a method that does this given a dataset, but it's yet clear that we'll always want to bypass the altroot when we grab the mountpoint. For now, we'll refactor things a bit so we grab the altroot length when libbe is initialized and have a common method that does the necessary augmentation (replace with / if it's the root, return a pointer to later in the string if not). This will be used in some upcoming work to make be_mount work properly for deep BEs. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=342903
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions