diff options
author | 2002-06-11 04:25:49 +0000 | |
---|---|---|
committer | 2002-06-11 04:25:49 +0000 | |
commit | c2c0ce4f01b782467aea5221c73142bef9110568 (patch) | |
tree | 78a6a8a957f82775ab5459187034b7ba367c43ab /sys/kern/kern_malloc_debug.c | |
parent | no longer use uidswap.[ch] from the ssh client (diff) | |
download | wireguard-openbsd-c2c0ce4f01b782467aea5221c73142bef9110568.tar.xz wireguard-openbsd-c2c0ce4f01b782467aea5221c73142bef9110568.zip |
Rework get_localdir() so that
1) It takes two parameters, the mount point and a default
directory.
2) It has one step escape ('abort') instead of asking user if they are
really sure an empty pathname is what they want. Empty entry with no
default value now just re-presents the prompt. More consistant with the
behaviour of other prompts.
3) Provide separate error messages for non-existant directory and a
directory with no sets.
Rework install_mounted_fs() (renamed from install_from_mounted_fs to
be consistant with install_disk, etc.) so that
1) It takes two parameters, the mount point and the default directory.
2) It calls get_localdir(), passing the parameters along.
Rework install_disk(), install_cdrom() and install_nfs() to eliminate
local queries for local dir and rely on get_local() via
install_mounted_fs() instead.
Make mount_a_disk() return 0 on success to make testing its return
value more obvious. Use this in install_disk() to make logic clearer
and eliminate the need for a return.
Diffstat (limited to 'sys/kern/kern_malloc_debug.c')
0 files changed, 0 insertions, 0 deletions