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

            Popular posts from this blog

            Can I sign legal documents with a smiley face?Do Legal Documents Require Signing In Standard Pen Colors?Is it possible to legally prohibit someone from linking to specific pages on your website?Do scans of signed documents have the same legal power as the original document?What can I do if I signed an excessively restrictive contract?Can other party sneak in new contract terms via termination notice?How to prove that someone forged my signature on a contract that I was not aware of?In Australia, Is it legal to sign a document as somebody else?making a contract that includes video licenceLease dispute, over email and text messageIf you must include all of the natural language prose in a legal document, or if it can be abstracted outE-signing: legal ramifications of “identifying” a person

            Can I redirect output to a log file and background a process at the same time?2019 Community Moderator ElectionUnable to write to file in shell script when running command in backgroundredirect and log script outputhow to properly log the output of a console program that frequently updates “parts” of the screen, resulting in a messy log file?How can I redirect the output of a child process?grep script - output lines at the same time into echoHow to run process in background and get its pid to create log file nameHow to redirect output to a log from expect commandHow to clear a redirect log file content in shell?Log background jobs started in all the manually started shells?Why do `jobs` and `dirs` run in command subsitution, process substitution, pipeline, and background jobs output the same as in original shell?How to redirect output to file to STDOUT?

            Word for a person who has no opinion about whether god existsWord for having a definite opinion while simultaneously withholding judgment?What's the opposite of “newcomer? Is ”veteran" OK?What do you call an “atheist” who might believe in an afterlife?What's a word for someone who wants to voice opinions but not have them challenged?Word for someone who dismisses contrary opinions as irrational?Somone who thinks they are overly special/out of the ordinaryIs there a word, phrase or idiom for “a person who is incapable of thinking about the future”?The belief that a god is human-likeA word for a non-famous person/thing you have heard a lot aboutAdjective for a person who enjoys taking care of their appearance