diff options
author | 2002-08-18 21:05:47 +0000 | |
---|---|---|
committer | 2002-08-18 21:05:47 +0000 | |
commit | d4772e4615454fea4016b48944b50519fb793dc9 (patch) | |
tree | 79fe737c54c3c9d9ce79222a7b3fba3ea416f39d /lib/libc/net/inet_net_ntop.c | |
parent | ordered list here (diff) | |
download | wireguard-openbsd-d4772e4615454fea4016b48944b50519fb793dc9.tar.xz wireguard-openbsd-d4772e4615454fea4016b48944b50519fb793dc9.zip |
Fix various mount point problems:
1) Fix 'already mounted' checking so a mount point name can be the same
as the leading substring of a previously specified mount point.
Now you can specify /usr after /usr/obj, and since the mount points
are sorted before writing to fstab, it should work.
This also fixes the error message generated when a requested mount
point matches the leading substring of multiple mount points. e.g.
trying to mount '/' again.
2) Fix fstab sorting so that it works across all initialized disks, not
just on a disk by disk basis.
3) For additional paranoia during multiple disk installs, unset _partitions,
_psizes, and _mount_points before processing a disk. Eliminate individual
blanking of _mount_points entries.
4) Shorten/simplify logic by storing ${DISK} in _partitions entries rather
than always adding it back in when referencing _partitions.
5) Rework verbiage a bit, eliminating the duplicate display of configured
devices before making new filesystems.
Some code clean up, eliminating '{}'s, better loops, ifs, etc.
Appox. 67 bytes net bloat.
Diffstat (limited to 'lib/libc/net/inet_net_ntop.c')
0 files changed, 0 insertions, 0 deletions