
{"id":15715,"date":"2014-04-12T14:28:00","date_gmt":"2014-04-12T14:28:00","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=15715"},"modified":"2014-04-12T14:28:00","modified_gmt":"2014-04-12T14:28:00","slug":"lsattr-practice-session-iv","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2014\/04\/12\/lsattr-practice-session-iv\/","title":{"rendered":"lsattr practice session . IV"},"content":{"rendered":"<pre style=\"font-family:'Glegoo', serif;\">\nThe following shows a command line session with lsattr \ncommand which helps in listing file attributes.\n<\/pre>\n<pre>\nroot&gt;(time lsattr ) &amp;&gt;&gt; lsattr-with-time.txt\nroot&gt;cat lsattr-with-time.txt \nlsattr: Inappropriate ioctl for device While reading flags on .\/sys\nlsattr: Inappropriate ioctl for device While reading flags on .\/dev\nlsattr: Operation not supported While reading flags on .\/initrd.img\nlsattr: Inappropriate ioctl for device While reading flags on .\/run\nlsattr: Inappropriate ioctl for device While reading flags on .\/proc\nlsattr: Operation not supported While reading flags on .\/vmlinuz\n-------------e-- .\/libx32\n-------------e-- .\/media\n-------------e-- .\/tmp\n-------------e-- .\/var\n-------------e-- .\/lsattr-with-time.txt\n----------I--e-- .\/etc\n-------------e-- .\/bin\n-------------e-- .\/boot\n-------------e-- .\/root\n-------------e-- .\/lib64\n-------------e-- .\/opt\n-------------e-- .\/build\n-------------e-- .\/selinux\n-------------e-- .\/mnt\n-------------e-- .\/lost+found\n-------------e-- .\/usr\n-------------e-- .\/lib\n-------------e-- .\/srv\n-------------e-- .\/home\n----------I--e-- .\/sbin\n\nreal\t0m0.062s\nuser\t0m0.000s\nsys\t0m0.000s\nroot&gt;\n\n<pre>\n\n<pre style=\"font-family:'Glegoo', serif;\">\n\nThe  'I'  attribute  is  used  by  the htree code to indicate that a directory is being indexed using hashed trees.  It may not be set or reset using chattr, although it can be displayed by lsattr.\n\n\nThe 'e' attribute indicates that the file is using extents for mapping the blocks on  disk.\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The following shows a command line session with lsattr command which helps in listing file attributes. root&gt;(time lsattr ) &amp;&gt;&gt; lsattr-with-time.txt root&gt;cat lsattr-with-time.txt lsattr: Inappropriate ioctl for device While reading flags on .\/sys lsattr: Inappropriate ioctl for device While reading flags on .\/dev lsattr: Operation not supported While reading flags on .\/initrd.img lsattr: Inappropriate ioctl &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2014\/04\/12\/lsattr-practice-session-iv\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;lsattr practice session . IV&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[83],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/15715"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=15715"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/15715\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=15715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=15715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=15715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}