Can't remove dirty release files

Dongsheng Song dongsheng.song at gmail.com
Thu Dec 17 18:24:57 PST 2015


After a power event, my release build broken:

DFLY-01# df -h
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/da0s1a    30G   3.7G    24G    13%    /
devfs         1.0K   1.0K     0B   100%    /dev
procfs        4.0K   4.0K     0B   100%    /proc

DFLY-01# mount
/dev/da0s1a on / (ufs, local)
devfs on /dev (devfs, local)
procfs on /proc (procfs, local)

DFLY-01# ls -la /usr/release/root/bin/rcp
-r-sr-xr-x  1 root  wheel  19848 Dec 17 01:11 /usr/release/root/bin/rcp

DFLY-01# rm -fr /usr/release/root/bin/rcp
rm: /usr/release/root/bin/rcp: Operation not permitted

I have 26 stubborn files in the release directly:

DFLY-01# find /usr/release/root -type f | xargs ls -la
-r-sr-xr-x  1 root  wheel       19848 Dec 17 01:11 /usr/release/root/bin/rcp
-r-xr-xr-x  1 root  wheel    97728264 Dec 17 01:19
/usr/release/root/boot/kernel/kernel
-r--r--r--  1 root  wheel     1273472 Dec 17 01:09
/usr/release/root/lib/libc.so.8
-r--r--r--  1 root  wheel       65176 Dec 17 01:09
/usr/release/root/lib/libcrypt.so.4
-r-xr-xr-x  1 root  wheel      257216 Dec 17 01:08
/usr/release/root/libexec/ld-elf.so.2
-r-x------  1 root  wheel      730320 Dec 17 01:13
/usr/release/root/sbin/init
-r-sr-xr-x  6 root  wheel       24632 Dec 17 01:17
/usr/release/root/usr/bin/chfn
-r-sr-xr-x  6 root  wheel       24632 Dec 17 01:17
/usr/release/root/usr/bin/chpass
-r-sr-xr-x  6 root  wheel       24632 Dec 17 01:17
/usr/release/root/usr/bin/chsh
-r-sr-xr-x  1 root  wheel       32440 Dec 17 01:18
/usr/release/root/usr/bin/crontab
-r-sr-xr-x  1 root  wheel       22048 Dec 17 01:18
/usr/release/root/usr/bin/login
-r-sr-xr-x  1 man   wheel       38232 Dec 17 01:11
/usr/release/root/usr/bin/man
-r-sr-xr-x  1 root  wheel        6912 Dec 17 01:18
/usr/release/root/usr/bin/opieinfo
-r-sr-xr-x  1 root  wheel       13856 Dec 17 01:18
/usr/release/root/usr/bin/opiepasswd
-r-sr-xr-x  2 root  wheel        8496 Dec 17 01:18
/usr/release/root/usr/bin/passwd
-r-sr-xr-x  1 root  wheel       14024 Dec 17 01:18
/usr/release/root/usr/bin/rlogin
-r-sr-xr-x  1 root  wheel       11440 Dec 17 01:18
/usr/release/root/usr/bin/rsh
-r-sr-xr-x  1 root  wheel       16040 Dec 17 01:18
/usr/release/root/usr/bin/su
-r-sr-xr-x  6 root  wheel       24632 Dec 17 01:17
/usr/release/root/usr/bin/ypchfn
-r-sr-xr-x  6 root  wheel       24632 Dec 17 01:17
/usr/release/root/usr/bin/ypchpass
-r-sr-xr-x  6 root  wheel       24632 Dec 17 01:17
/usr/release/root/usr/bin/ypchsh
-r-sr-xr-x  2 root  wheel        8496 Dec 17 01:18
/usr/release/root/usr/bin/yppasswd
-r--r--r--  1 root  wheel       11184 Dec 17 01:13
/usr/release/root/usr/lib/libcipher.so.3
-r--r--r--  1 root  wheel      128368 Dec 17 01:09
/usr/release/root/usr/lib/thread/libc_r.so.5
-r--r--r--  1 root  wheel       90768 Dec 17 01:10
/usr/release/root/usr/lib/thread/libthread_xu.so.2
-r-sr-x---  1 root  network     15456 Dec 17 01:18
/usr/release/root/usr/sbin/sliplogin

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20151218/d4267ad0/attachment.html>


More information about the Users mailing list