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 Thanks, Bob -- Bob Willcox | Men who cherish for women the highest bob at immure.com | respect are seldom popular with them. Austin, TX | -- Joseph Addison
On Thu, Jan 1, 2015 at 3:52 PM, Bob Willcox <bob at immure.com> wrote:> 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 >The "schg,sunlnk" part is your warning that it won't work; you want the chflags program. -- brandon s allbery kf8nh sine nomine associates allbery.b at gmail.com ballbery at sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
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