WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [e2fsprogs_apps] chattr command - Inappropriate ioctl for device ...  (Read 3207 times)

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
It looks like chatter can't set "i flags" on files in the tempfs file system.

If I create a test file in /home/tc and try to perform a "sudo chattr +i test" operation I get:
Code: [Select]
Inappropriate ioctl for device while reading flags on test

However if I do the same thing on a test file in /mnt/sdb1 it works.
big pc man

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11035
Re: chattr command - Inappropriate ioctl for device ...
« Reply #1 on: May 28, 2010, 02:24:17 PM »
Not completely unexpected, seeing as chattr is an e2fsprogs tool. Not sure if any other fs than ext* support those attributes.
The only barriers that can stop you are the ones you create yourself.