Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: how disable folder being mounted how partition ?

  1. #1
    Join Date
    Jul 2020
    Beans
    363
    Distro
    Lubuntu 20.04 Focal Fossa

    how disable folder being mounted how partition ?

    When starting the OS has a folder being mounted among with others ( / , /home , /tmp ).
    The folder is /run/user/1000/doc/ being totally empty.
    How disable that folder being mounted when the system is being started ?
    Not programs are using that folder.

  2. #2
    Join Date
    Apr 2007
    Beans
    3,114
    Distro
    Ubuntu

    Re: how disable folder being mounted how partition ?

    Leave this folder mounted. It will not harm you. Have some trust in the linux developpers. It will be mounted for a reason.

  3. #3
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: how disable folder being mounted how partition ?

    What do you mean "mounted"?
    if you run
    Code:
    df -hT -x squashfs -x tmpfs -x devtmpfs
    does it show up? If not, then it isn't a "real" mount.

    Typically, things under /run/ are pseudo-file systems created for use by the OS. Since almost everything on Unix-based systems are files, the way that the OS interacts with hardware, directories, devices, and ... er ... files ... is by treating all of them as files. Yes, directories are files too. It makes for a simple, elegant, OS, yes?

  4. #4
    Join Date
    Jul 2020
    Beans
    363
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: how disable folder being mounted how partition ?

    @TheFu

    "It makes for a simple, elegant, OS, yes?"
    Yes.

    The folder /run/user/1000/doc/ not is listed if using the command
    df -hT -x squashfs -x tmpfs -x devtmpfs

    The folder is only displayed among others /sda folder mounted in Double Commander in mounted list icon.

    I want remove it. Well trying figure a solution.

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,615
    Distro
    Ubuntu

    Re: how disable folder being mounted how partition ?

    I believe the location relates to fuse.portal, which is what allows you to access your files in flatpak and maybe snap programs.
    +1 to leave it be.

    Edit: Your issue is with Double Commander.
    Try using it's Drive Blacklist feature to hide it;
    see: https://doublecmd.github.io/doc/en/help.html#mnu_config
    Last edited by deadflowr; September 14th, 2021 at 07:54 AM.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  6. #6
    Join Date
    Jul 2020
    Beans
    363
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: how disable folder being mounted how partition ?

    "I believe the location relates to fuse.portal, which is what allows you to access your files in flatpak and maybe snap programs."
    I current installed OS never was used flatpak or snap.

    @deadflowr

    I not see if is or not related with Double Commander.
    Thanks for your reply.

  7. #7
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: how disable folder being mounted how partition ?

    You may not have installed any flatpack or snap packages but I think all the Ubuntu family of OSs have snapd installed by default even if no snaps are installed; my Xubuntu 20.04 certainly did, though I have now removed all snap related packages including snapd.

    I know nothing about flatpacks as I've never used any, but to see your current snap situation run command snap list which will show you all.

  8. #8
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: how disable folder being mounted how partition ?

    Quote Originally Posted by aug7744 View Post
    The folder /run/user/1000/doc/ not is listed if using the command
    df -hT -x squashfs -x tmpfs -x devtmpfs
    Then it isn't a real mount. Nothing to be concerned about at all. Some other program has created a pseudo-location to talk to the OS. It has nothing to do with storage. I suppose you could figure out the program that created it and perhaps try to do something about it, but it is NOT Linux or core Ubuntu.

    None of my systems shows this location, so I'd assume it is something extra that you've installed. When I look at /run/user/1000/, I see a few named pipes into some system processes. Named pipes are a way for other processes to communicate with each other. The formal term is "interprocess communication" - often shortened to IPC. I wouldn't just remove stuff there. You need to find the program using it. Perhaps searching through lsof output will provide a hint?
    For example, /run/user/1000/pk-debconf-socket= is a named pipe on my system.
    Running
    Code:
    $ sudo lsof |grep  pk-debconf-socket
    tells me that systemd (the userid) and lightdm (the process), are reading from /run/user/1000/pk-debconf-socket. The '=' at the end of the name is added by my ls display settings. '=' means named pipe. ls -F will show the type of file.
    Last edited by TheFu; September 15th, 2021 at 02:50 PM. Reason: formats to show relationship to command AND point out that this is an EXAMPLE ONLY.

  9. #9
    Join Date
    Jul 2020
    Beans
    363
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: how disable folder being mounted how partition ?

    sudo lsof |grep pk-debconf-socket

    lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
    Output information may be incomplete.
    systemd 1159 augusto 32u unix 0xffff9cd601d9c000 0t0 27795 /run/user/1000/pk-debconf-socket type=STREAM

  10. #10
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: how disable folder being mounted how partition ?

    Quote Originally Posted by aug7744 View Post
    sudo lsof |grep pk-debconf-socket

    lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
    Output information may be incomplete.
    systemd 1159 augusto 32u unix 0xffff9cd601d9c000 0t0 27795 /run/user/1000/pk-debconf-socket type=STREAM
    Sorry, but why would you search for pk-debconf-socket when you are interested in a completely different directory?
    Please don't copy/paste commands. Look up what each does first, understand, then run.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •