I am running 15.0-RELEASE, and have a problem with an external USB drive. I had to run fsck_ffs on it because I disconnected it improperly.
After fsck fixed everything, it created a lost+found/ with files in it such as
I want to remove these files, but it is proving to be challenging
root can't remove them, perhaps because they have strange permission flags set. But
I am running ZFS and I know that there are ZFS issues with
but I tried the above using a live CD where FreeBSD runs
Any help would be appreciated.
After fsck fixed everything, it created a lost+found/ with files in it such as
Code:
# ls -l | head
total 636
-rwSr-S--- 1 root 91458984 0 Nov 24 1972 #14337884
-rw------- 1 65536 4294836269 0 Dec 20 151635083 #14954722
l-wxrw---T 1 root wheel 0 Apr 8 1991 #14999341 ->
s-wx-wx--T 1 daemon 676643492 0 bad date val #15000653
-rw------- 1 root 95614408 0 Jan 11 1973 #16406834
-rw------- 1 root 95616632 0 Jan 11 1973 #16442418
-rw------- 1 root 3010720 4096 Feb 4 1970 #18230170
-rw------- 1 root 3011282 4096 Feb 4 1970 #18230171
I want to remove these files, but it is proving to be challenging
root can't remove them, perhaps because they have strange permission flags set. But
chflags has problems:
Code:
# chflags -v 0 \#14337884
chflags: #14337884: Operation not permitted
# chflags -v nouunlnk \#14337884
chflags: #14337884: Operation not supported
I am running ZFS and I know that there are ZFS issues with
chflags and unsupported flags,but I tried the above using a live CD where FreeBSD runs
ufs.Any help would be appreciated.