Results 1 to 4 of 4

Thread: Customizing mount

  1. #1
    Join Date
    Apr 2007
    Location
    Eastern USA
    Beans
    416
    Distro
    Ubuntu

    Customizing mount

    I'm in a College network, with several computers that share out several folders. About 3-4 different ones, each with about 3-7 folders shared.

    I'd like to mount them all for quick navigation, but I also like organization...

    Ideally I could mount simply the computer...but it seems that doesn't work...
    ie:
    //<IP_Address>/ /mount/point
    instead of:
    //<IP_Address>/folder /mount/point
    fails. You need to mount the folder of the computer.

    So for now I have a set up like this:
    //<IP_Address>/folder /mount/point/folder
    cause I have several computers, and several have folders called: "games" "movies" etc. This way there's at least hierarchical order.

    The only problem with this is that It leaves several folders on the desktop, and I get a bit confused...
    Can I have only <point> show up instead of all ~5folders x 4computers?

    Does that make sense?

  2. #2
    Join Date
    Feb 2008
    Location
    Minnesota, USA
    Beans
    754
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Customizing mount

    I have solved this problem in a somewhat hackish way, but it might work for you. It is a simple shell script, which I will call remote_mount, and it manages mount points and acts as a toggle.

    For example, I run the command:
    Code:
    remote_mount //my-server/dir
    and if it's not mounted, it will create a folder my-server on the desktop (which is an IP in my case) and a folder called dir inside it. If it's already mounted, it will unmount and clean up the folders.

    Unfortunately, it's not very pretty, doesn't handle errors very well, and would have to be modified for your situation.

    Additionally, I believe there is a way for gnome-mount to accomplish this, but I've played with it a lot, and have been unsuccessful.
    Hate fighting with Linux? Buy Preinstalled!
    Love fighting with Linux? Try Gentoo!
    __________________________________________________
    Unanswered Posts Team || Connection problems?

  3. #3
    Join Date
    Apr 2007
    Location
    Eastern USA
    Beans
    416
    Distro
    Ubuntu

    Re: Customizing mount

    Well, the one solution I did think of was to remove all auto-mounts from making icons on the desktop...

    Then I could just make shortcuts to the folders that I actually wanted.

    Does anyone know how to do that?

  4. #4
    Join Date
    Apr 2007
    Location
    Eastern USA
    Beans
    416
    Distro
    Ubuntu

    Re: Customizing mount

    well, my crack was to:

    remove the icons from the desktop, and simply make shortcuts to the simulated "computer."

    When it mounts it doesn't show it's icon on the desktop. Instead I have icons that show there all the time.

    It's probably uglier then your idea, but eh. Mine is faster. and these are servers that are rarely down...

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
  •