Results 1 to 6 of 6

Thread: What is mounting the automount path on boot?

  1. #1
    Join Date
    Aug 2011
    Location
    Brasil
    Beans
    42
    Distro
    Ubuntu 10.10 Maverick Meerkat

    What is mounting the automount path on boot?

    My Ubuntu 12.04 64 bits, if configured with some automount paths.
    When ot boots, one of the paths is being mounted (i do nothing).
    How can i get what is making it be mounted on boot?
    I had thought it could be "recent files". But i (think) disabled it. (Privacy, Record Activity -> off). I also added the path to don't record activity.

    Also i had tried the command lsof, but couldn't identify any access on the path.

    Thank's.

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

    Re: What is mounting the automount path on boot?

    I don't totally understand what you mean nor what exactly happens at boot, but partitions that mount at boot are usually mounted by the system file /etc/fstab, which can be edited as root if you need to make changes.

    See
    https://help.ubuntu.com/community/Fstab
    and
    http://www.tuxfiles.org/linuxhelp/fstab.html

  3. #3
    Join Date
    Aug 2011
    Location
    Brasil
    Beans
    42
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: What is mounting the automount path on boot?

    Just after GUI is loaded, when desktop is ready to be used, a network path is mounted and the nautilus opens this path (as if a flash drive is conected).

    You are right about fstab. But this isn't the problem. This path if mounted by automount, not fstab.

    Also, the path is mounted seconds after the boot. I believe mount points defined on fstab are mounted during the boot (before GUI is loaded).

    Thank's for helping.

  4. #4
    Join Date
    Feb 2012
    Location
    Athens/Greece
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: What is mounting the automount path on boot?

    Quote Originally Posted by quirino77 View Post
    Just after GUI is loaded, when desktop is ready to be used, a network path is mounted and the nautilus opens this path (as if a flash drive is conected).

    You are right about fstab. But this isn't the problem. This path if mounted by automount, not fstab.

    Also, the path is mounted seconds after the boot. I believe mount points defined on fstab are mounted during the boot (before GUI is loaded).

    Thank's for helping.
    Hi ,
    you have right when you say " I believe mount points defined on fstab are mounted during the boot (before GUI is loaded)" .
    What is this path , that nautilus automatically open when you be , in Desktop Environment ?

    To disable automount option on nautilus you can open a terminal and give these 2 commands
    Code:
    gsettings set org.gnome.desktop.media-handling automount "false"
    gsettings set org.gnome.desktop.media-handling automount-open "false"
    If this serve your needs .

    Regards

  5. #5
    Join Date
    Aug 2011
    Location
    Brasil
    Beans
    42
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: What is mounting the automount path on boot?

    This path is on my automount configuration files. I want this path to be mounted automatically when i access it. I have others paths on configuration files than do not have this problem. Only one path is being mounted even if i do not access.

    This do not work for me, since i want automount working. I just don't want it being mounted by itself when i won't use it.

    As far i had read about it, the first line will disable automount.
    Code:
    gsettings set org.gnome.desktop.media-handling automount "false"
    Am i right?

    But i will enjoy the second line.
    Code:
    gsettings set org.gnome.desktop.media-handling automount-open "false"
    I suppose it will make Nautilus do not open a new window when a new path is mounted.

    I could also use dconf, ok?

    Is there a way to list what process is accessing each file? Maybe this could point me what is mounting the path.

  6. #6
    Join Date
    Feb 2012
    Location
    Athens/Greece
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: What is mounting the automount path on boot?

    Hi ,
    yes , you well-read and well understood .
    Those 2 commands will disable automount and automount-open from nautilus.
    According to this
    Quote Originally Posted by quirino77 View Post
    Just after GUI is loaded, when desktop is ready to be used, a network path is mounted and the nautilus opens this path (as if a flash drive is conected).
    i thought that second command (automount-open) would serve your needs.

    Maybe another solution would be to add this particular path , to etc/fstab with NO mount option , like
    noauto .

    Thanks

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
  •