Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    How find mounted point on linux by qt?

    General and Desktop
    3
    4
    1207
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tmtt66 last edited by

      how find mounted point on linux by qt?

      1 Reply Last reply Reply Quote 0
      • C
        ChrisW67 last edited by

        In general you can read /etc/mtab or parse the output of the mount command. You can also use findmnt to target a search and provide a more parser friendly output.

        1 Reply Last reply Reply Quote 0
        • T
          tmtt66 last edited by

          I need a cross platform method!

          1 Reply Last reply Reply Quote 0
          • JohanSolo
            JohanSolo last edited by

            You asked how to do it on linux...
            AFAIK there is no cross-platform method, since mounting disk is very different from one OS to the next. I'm rather confident that the linux method can be used on mac as well, but I'm sure it will not work on M$.

            `They did not know it was impossible, so they did it.'
            -- Mark Twain

            1 Reply Last reply Reply Quote 0
            • First post
              Last post