login
Header Space

 
 

chattr +a file

April 23, 2008 - 12:14am
Submitted by Anonymous on April 23, 2008 - 12:14am.
Linux

I'm trying to chattr +a some files, but I get the following:

Inappropriate ioctl for device while reading flags on [file].

What does this mean and how to remedy this?

don't

April 23, 2008 - 1:13am

easy remedy: don't try to chattr +a the file, it won't work

it is working on 2.6.9-1.667

April 23, 2008 - 2:03am
Anonymous (not verified)

it is working on 2.6.9-1.667.-arch i386
not working on 2.6.22.19-alp_nl-alp -arch ppc.
could u give a clear idea about it

differences

April 23, 2008 - 2:18am

what are the differences between the machines besides distros and architecture? you make it sound like they are identical... how many ram do you have? what kernel options and/or modules do you have? which fs do you use? which toolchain?

suppose "not working" is on

April 24, 2008 - 7:55pm
Anonymous (not verified)

suppose "not working" is on another filesystem , which does not support chattr ?

Re: chattr +a file

April 23, 2008 - 10:50am
Drew Frezell (not verified)

Most likely you are trying to run 'chattr +a [file]' on an NFS mounted filesystem or some non ext2 FS, which doesn't support this.

I'm not sure how you remedy this other than make sure you are using a locally mounted disk that has ext2 FS on it.

Drew Frezell

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary