How can I remove an unnecessary .sujournal file?

Herbert J. Skuhra herbert at oslo.ath.cx
Thu Jan 1 20:57:21 UTC 2015


On Thu, Jan 01, 2015 at 02:52:04PM -0600, Bob Willcox wrote:
> I copied all of the files from a ufs /usr/src filesystem to a zfs filesystem
> and don't need/use the .sujournal file that got copied over as well.
> 
> So, my quesiton is, how can I remove this unnecessary .sujournal file? When I
> attempt a simple rm here's what I get:
> 
> root at vader:2 /usr/src> rm .sujournal 
> override r--------  root/wheel schg,sunlnk,nodump for .sujournal? y
> rm: .sujournal: Operation not permitted

# chflags noschg,nosunlink .sujournal
# rm .sujournal

man chflags

-- 
Herbert


More information about the freebsd-stable mailing list