Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2021 15:14:59 -0400
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   How to delete stale NFS handles
Message-ID:  <CAGBxaXkb7u8Q-6xQbssUvF78kQ5YbjjL0uoPStEK=E5XmZ4TXw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000b01afa05cddc32b0
Content-Type: text/plain; charset="UTF-8"

How do I delete the .nfs's in the following session capture:

aryeh@sarek1024% rm -rf scrap/
rm: scrap/www/WEB-INF/lib: Directory not empty
rm: scrap/www/WEB-INF: Directory not empty
rm: scrap/www: Directory not empty
rm: scrap/: Directory not empty
specMed-win-1f2.C012@sarek1024% find .
.
./scrap
./scrap/www
./scrap/www/WEB-INF
./scrap/www/WEB-INF/lib
./scrap/www/WEB-INF/lib/.nfs.82430403.33dc4.4
./scrap/www/WEB-INF/lib/.nfs.82430407.33dc4.4
./scrap/www/WEB-INF/lib/.nfs.82430406.33dc4.4
./scrap/www/WEB-INF/lib/.nfs.82430404.33dc4.4
./scrap/www/WEB-INF/lib/.nfs.82430408.33dc4.4
./scrap/www/WEB-INF/lib/.nfs.82430405.33dc4.4
aryeh@sarek1024% unlink ./scrap/www/WEB-INF/lib/.nfs.82430403.33dc4.4
aryeh@sarek1024% find .
.
./scrap
./scrap/www
./scrap/www/WEB-INF
./scrap/www/WEB-INF/lib
./scrap/www/WEB-INF/lib/.nfs.82430403.33dc4.4
./scrap/www/WEB-INF/lib/.nfs.82430407.33dc4.4
./scrap/www/WEB-INF/lib/.nfs.82430406.33dc4.4
./scrap/www/WEB-INF/lib/.nfs.82430404.33dc4.4
./scrap/www/WEB-INF/lib/.nfs.82430408.33dc4.4
./scrap/www/WEB-INF/lib/.nfs.82430405.33dc4.4

-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org

--000000000000b01afa05cddc32b0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaXkb7u8Q-6xQbssUvF78kQ5YbjjL0uoPStEK=E5XmZ4TXw>