List effective values of all existing mount options for a partition? The 2019 Stack Overflow Developer Survey Results Are InWhat's the most “correct” mount point for a permanent NTFS partition?Option “user” work for mount, not for umountmount options for bindmountconfusion about mount optionsmount: fmask options is not workingHow is findmnt able to list bind mounts?Set default mount options for usbMount several directories in the same partition, AND hide base pathHow to exclude bind mounts from findmnt results list?Mount points and nodev options

Dual Citizen. Exited the US on Italian passport recently

"What time...?" or "At what time...?" - what is more grammatically correct?

How was Skylab's orbit inclination chosen?

How to reverse every other sublist of a list?

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints

Are there any other methods to apply to solving simultaneous equations?

Where to refill my bottle in India?

Polarization lost upon 2nd reflection?

Patience, young "Padovan"

Does it makes sense to buy a new cycle to learn riding?

What function has this graph?

Monty Hall variation

Why can Shazam do this?

What do hard-Brexiteers want with respect to the Irish border?

What is a mixture ratio of propellant?

"To split hairs" vs "To be pedantic"

I see my dog run

A poker game description that does not feel gimmicky

How long do I have to send payment?

Is flight data recorder erased after every flight?

Why is Grand Jury testimony secret?

Lethal sonic weapons

Deadlock Graph and Interpretation, solution to avoid



List effective values of all existing mount options for a partition?



The 2019 Stack Overflow Developer Survey Results Are InWhat's the most “correct” mount point for a permanent NTFS partition?Option “user” work for mount, not for umountmount options for bindmountconfusion about mount optionsmount: fmask options is not workingHow is findmnt able to list bind mounts?Set default mount options for usbMount several directories in the same partition, AND hide base pathHow to exclude bind mounts from findmnt results list?Mount points and nodev options



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








-1















The mount command and cat /proc/mounts only list those mount options that have values different than default.



How can I obtain (for a given mounted partition) an exhaustive list of the applied values of all the mount options that the partition's filesystem defines? Think "computed style" but for a mounted partition rather than a HTML element ;)










share|improve this question



















  • 2





    On which version of which operating system?

    – Barry Jones
    Apr 6 at 2:55












  • Does this help: sudo tune2fs -l <device>

    – RubberStamp
    Apr 6 at 13:37

















-1















The mount command and cat /proc/mounts only list those mount options that have values different than default.



How can I obtain (for a given mounted partition) an exhaustive list of the applied values of all the mount options that the partition's filesystem defines? Think "computed style" but for a mounted partition rather than a HTML element ;)










share|improve this question



















  • 2





    On which version of which operating system?

    – Barry Jones
    Apr 6 at 2:55












  • Does this help: sudo tune2fs -l <device>

    – RubberStamp
    Apr 6 at 13:37













-1












-1








-1








The mount command and cat /proc/mounts only list those mount options that have values different than default.



How can I obtain (for a given mounted partition) an exhaustive list of the applied values of all the mount options that the partition's filesystem defines? Think "computed style" but for a mounted partition rather than a HTML element ;)










share|improve this question
















The mount command and cat /proc/mounts only list those mount options that have values different than default.



How can I obtain (for a given mounted partition) an exhaustive list of the applied values of all the mount options that the partition's filesystem defines? Think "computed style" but for a mounted partition rather than a HTML element ;)







linux mount






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday









sourcejedi

25.8k445113




25.8k445113










asked Apr 5 at 20:07









Szczepan HołyszewskiSzczepan Hołyszewski

1443




1443







  • 2





    On which version of which operating system?

    – Barry Jones
    Apr 6 at 2:55












  • Does this help: sudo tune2fs -l <device>

    – RubberStamp
    Apr 6 at 13:37












  • 2





    On which version of which operating system?

    – Barry Jones
    Apr 6 at 2:55












  • Does this help: sudo tune2fs -l <device>

    – RubberStamp
    Apr 6 at 13:37







2




2





On which version of which operating system?

– Barry Jones
Apr 6 at 2:55






On which version of which operating system?

– Barry Jones
Apr 6 at 2:55














Does this help: sudo tune2fs -l <device>

– RubberStamp
Apr 6 at 13:37





Does this help: sudo tune2fs -l <device>

– RubberStamp
Apr 6 at 13:37










1 Answer
1






active

oldest

votes


















1














The generic Linux mount interface does not provide any more information about this.



The default generic mount options are rw,suid,dev,exec,async. (I looked in man mount for the definition of defaults, and removed anything that was not a kernel mount flag).



To take one popular example, the ext4 filesystem does not show the full list of default ext4 options in /proc/mounts. You should be able to work out most of the defaults just from reading the "Mount options" sections in man ext4. This is a lot of reading :-). It also says it could vary depending on the kernel version. For the ones it does not specify, it appears that:




  • acl is enabled by default, if the kernel was built with support for it (CONFIG_EXT4_FS_POSIX_ACL=y).


  • delalloc is enabled by default for filesystems created as ext4.


  • auto_da_alloc is enabled by default.





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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    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%2f510797%2flist-effective-values-of-all-existing-mount-options-for-a-partition%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    The generic Linux mount interface does not provide any more information about this.



    The default generic mount options are rw,suid,dev,exec,async. (I looked in man mount for the definition of defaults, and removed anything that was not a kernel mount flag).



    To take one popular example, the ext4 filesystem does not show the full list of default ext4 options in /proc/mounts. You should be able to work out most of the defaults just from reading the "Mount options" sections in man ext4. This is a lot of reading :-). It also says it could vary depending on the kernel version. For the ones it does not specify, it appears that:




    • acl is enabled by default, if the kernel was built with support for it (CONFIG_EXT4_FS_POSIX_ACL=y).


    • delalloc is enabled by default for filesystems created as ext4.


    • auto_da_alloc is enabled by default.





    share|improve this answer





























      1














      The generic Linux mount interface does not provide any more information about this.



      The default generic mount options are rw,suid,dev,exec,async. (I looked in man mount for the definition of defaults, and removed anything that was not a kernel mount flag).



      To take one popular example, the ext4 filesystem does not show the full list of default ext4 options in /proc/mounts. You should be able to work out most of the defaults just from reading the "Mount options" sections in man ext4. This is a lot of reading :-). It also says it could vary depending on the kernel version. For the ones it does not specify, it appears that:




      • acl is enabled by default, if the kernel was built with support for it (CONFIG_EXT4_FS_POSIX_ACL=y).


      • delalloc is enabled by default for filesystems created as ext4.


      • auto_da_alloc is enabled by default.





      share|improve this answer



























        1












        1








        1







        The generic Linux mount interface does not provide any more information about this.



        The default generic mount options are rw,suid,dev,exec,async. (I looked in man mount for the definition of defaults, and removed anything that was not a kernel mount flag).



        To take one popular example, the ext4 filesystem does not show the full list of default ext4 options in /proc/mounts. You should be able to work out most of the defaults just from reading the "Mount options" sections in man ext4. This is a lot of reading :-). It also says it could vary depending on the kernel version. For the ones it does not specify, it appears that:




        • acl is enabled by default, if the kernel was built with support for it (CONFIG_EXT4_FS_POSIX_ACL=y).


        • delalloc is enabled by default for filesystems created as ext4.


        • auto_da_alloc is enabled by default.





        share|improve this answer















        The generic Linux mount interface does not provide any more information about this.



        The default generic mount options are rw,suid,dev,exec,async. (I looked in man mount for the definition of defaults, and removed anything that was not a kernel mount flag).



        To take one popular example, the ext4 filesystem does not show the full list of default ext4 options in /proc/mounts. You should be able to work out most of the defaults just from reading the "Mount options" sections in man ext4. This is a lot of reading :-). It also says it could vary depending on the kernel version. For the ones it does not specify, it appears that:




        • acl is enabled by default, if the kernel was built with support for it (CONFIG_EXT4_FS_POSIX_ACL=y).


        • delalloc is enabled by default for filesystems created as ext4.


        • auto_da_alloc is enabled by default.






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 6 at 18:32

























        answered Apr 6 at 18:13









        sourcejedisourcejedi

        25.8k445113




        25.8k445113



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510797%2flist-effective-values-of-all-existing-mount-options-for-a-partition%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            -linux, mount