aboutsummaryrefslogtreecommitdiff
path: root/stand/libsa/gpt.c
diff options
context:
space:
mode:
authorMike Karels <karels@FreeBSD.org>2024-05-29 23:55:14 +0000
committerMike Karels <karels@FreeBSD.org>2024-05-29 23:55:14 +0000
commitd2f1f71ec8c62dd26d6169d0d671a5aa5a933c1a (patch)
treeba9ce0837c13c3d9dbdcc819ee290fcc9c131aec /stand/libsa/gpt.c
parent19dbf72a270125621268e8b07ccc9ac99c67e7d0 (diff)
downloadsrc-main.tar.gz
src-main.zip
pw userdel: destroy home dataset if emptyHEADmain
When removing a user's home directory, if the directory is a ZFS dataset, it cannot be removed. If the directory has been emptied, use "zfs destroy" to destroy it. This complements the automatic dataset creation in adduser. Note that datasets within the directory and snapshots are not handled, as the complete path is not constructed. While here, add waitpid() calls to rmat() and pw_user_del(). Reviewed by: des Differential Revision: https://reviews.freebsd.org/D45348
Diffstat (limited to 'stand/libsa/gpt.c')
0 files changed, 0 insertions, 0 deletions