mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
provide fuser example
This commit is contained in:
parent
b655034b8c
commit
81ec2d906c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user