provide fuser example

This commit is contained in:
kneutron 2021-04-12 17:06:24 -05:00 committed by GitHub
parent b655034b8c
commit 81ec2d906c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ function failexit () {
# Check for root priviliges # Check for root priviliges
if [ "$(id -u)" -ne 0 ]; then if [ "$(id -u)" -ne 0 ]; then
failexit 1000 "Please run $0 directly as root from tty1. X window manager cannot be running" failexit 1000 "Please run $0 directly as root from tty1. X window manager cannot be running during /home migration"
exit 1 exit 1
fi fi
@ -314,7 +314,7 @@ while [ $flocks -gt 0 ]; do
done done
lsof |grep /home lsof |grep /home
logecho "o All /home files should be free! If not, ^C and fix it! PK" logecho "o All /home files should be free! If not, ^C and fix it ( ex: fuser -k /home/dave )! PK"
read read
du -s -h /home du -s -h /home