how to enable xattr support in Debian 9 (Stretch)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have added user_xattr in ext4 but when I remount it doesn't show xattr & I installed attr & attr_dev



# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/Anonymous--vg-root / ext440remount,user_xattr errors=remount-ro 0 1`






share|improve this question


























    up vote
    0
    down vote

    favorite












    I have added user_xattr in ext4 but when I remount it doesn't show xattr & I installed attr & attr_dev



    # <file system> <mount point> <type> <options> <dump> <pass>
    /dev/mapper/Anonymous--vg-root / ext440remount,user_xattr errors=remount-ro 0 1`






    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have added user_xattr in ext4 but when I remount it doesn't show xattr & I installed attr & attr_dev



      # <file system> <mount point> <type> <options> <dump> <pass>
      /dev/mapper/Anonymous--vg-root / ext440remount,user_xattr errors=remount-ro 0 1`






      share|improve this question














      I have added user_xattr in ext4 but when I remount it doesn't show xattr & I installed attr & attr_dev



      # <file system> <mount point> <type> <options> <dump> <pass>
      /dev/mapper/Anonymous--vg-root / ext440remount,user_xattr errors=remount-ro 0 1`








      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 6 at 7:36









      Stephen Kitt

      141k22307367




      141k22307367










      asked Mar 6 at 6:54









      lambocrypt

      31




      31




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          User extended attributes are supported by default on Ext4, you don’t need to do anything to enable them. To verify this, run



          cd
          touch xattr-test
          setfattr -n user.test -v "hello" xattr-test
          getfattr xattr-test


          This should show that the extended attribute was successfully stored.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f428420%2fhow-to-enable-xattr-support-in-debian-9-stretch%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote



            accepted










            User extended attributes are supported by default on Ext4, you don’t need to do anything to enable them. To verify this, run



            cd
            touch xattr-test
            setfattr -n user.test -v "hello" xattr-test
            getfattr xattr-test


            This should show that the extended attribute was successfully stored.






            share|improve this answer
























              up vote
              2
              down vote



              accepted










              User extended attributes are supported by default on Ext4, you don’t need to do anything to enable them. To verify this, run



              cd
              touch xattr-test
              setfattr -n user.test -v "hello" xattr-test
              getfattr xattr-test


              This should show that the extended attribute was successfully stored.






              share|improve this answer






















                up vote
                2
                down vote



                accepted







                up vote
                2
                down vote



                accepted






                User extended attributes are supported by default on Ext4, you don’t need to do anything to enable them. To verify this, run



                cd
                touch xattr-test
                setfattr -n user.test -v "hello" xattr-test
                getfattr xattr-test


                This should show that the extended attribute was successfully stored.






                share|improve this answer












                User extended attributes are supported by default on Ext4, you don’t need to do anything to enable them. To verify this, run



                cd
                touch xattr-test
                setfattr -n user.test -v "hello" xattr-test
                getfattr xattr-test


                This should show that the extended attribute was successfully stored.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 6 at 7:14









                Stephen Kitt

                141k22307367




                141k22307367






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f428420%2fhow-to-enable-xattr-support-in-debian-9-stretch%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Parse XML to get node value in bash script?

                    Bahrain