Page 1 of 5 123 ... LastLast
Results 1 to 10 of 42

Thread: Flash Memory Mounts Ridiculously Deep With OpenSUSE 12.3 x64

  1. #1

    Question Flash Memory Mounts Ridiculously Deep With OpenSUSE 12.3 x64

    After updating to OpenSUSE 12.3 x64 from 12.2 x64, when an flash memory card is inserted in the reader, it mounts in a location such as:

    /var/run/media/user/disk

    Instead of simply:

    /media/disk

    Not that this is serious but an annoyance nonetheless and I suspect the upgrade changed some config somewhere but I have no idea.

    In case it matters, I am using an ATech PRO-35U flash reader mounted via USB 2.0.

    If someone knows how to fix this globally, please let me know. It may be doable on a card-by-card basis but since I easily use over 100
    cards per year, it would be even more annoying to patch things for each one.

    Thanks in advance,

    - Itai
    - Itai
    http://www.cybernium.net

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Flash Memory Mounts Ridiculously Deep With OpenSUSE 12.3 x64

    On 2013-03-17 16:46, idanan wrote:
    >
    > After updating to OpenSUSE 12.3 x64 from 12.2 x64, when an flash memory
    > card is inserted in the reader, it mounts in a location such as:
    >
    > /var/run/media/user/disk
    >
    > Instead of simply:
    >
    > /media/disk
    >
    > Not that this is serious but an annoyance nonetheless and I suspect the
    > upgrade changed some config somewhere but I have no idea.


    There is no fix, as it is intentional. The powers that be, that is, the
    developpers upstream (not even openSUSE) decided that.

    Some do a symlink from /media to /var/run/media/user/, but you have to
    redo on every boot as it is volatile.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,402

    Default Re: Flash Memory Mounts Ridiculously Deep With OpenSUSE 12.3 x64

    As these mounts are done on behalf of the (at that moment active on the desktop) end-user, they are intended to be used by that end-user using his file manager (like Dolphin) where the device shows up as such. The end-user does not have to have any knowledge about mounting, let alone where it is mounted in the directory tree.
    The place(s) that were used earlier were in fact the same. It was never documented in end-user documentation that (s)he should care about a mount point.

    Take care, that is what I think is the idea behind it. Please, do not shoot the messanger.

    When you (as system manager, maybe after the end-user asked you so) want to have influence about that mount happening, you can make an entry in /etc/fstab (using the device-id or device label to uniquely identify the deevice). It shouldn't then be mounted "by the desktop", but by root (which caa of cource build a means so thatthe end-user can do this). But, there are reports that ignoring desktop mounting when in fstab is not working as intended atm.
    Henk van Velden

  4. #4

    Default Re: Flash Memory Mounts Ridiculously Deep With OpenSUSE 12.3 x64

    Intentional? Well, I expected this but what I am surprised is that this is simply not an intentional config somewhere
    that I can change

    A symlink will work for me as I do not even have to put in in media. Anywhere easy to reach since it is to get there
    fast for applications that use paths as so many do!

    Thanks!

    - Itai

    Quote Originally Posted by robin_listas View Post
    On 2013-03-17 16:46, idanan wrote:
    >
    > After updating to OpenSUSE 12.3 x64 from 12.2 x64, when an flash memory
    > card is inserted in the reader, it mounts in a location such as:
    >
    > /var/run/media/user/disk
    >
    > Instead of simply:
    >
    > /media/disk
    >
    > Not that this is serious but an annoyance nonetheless and I suspect the
    > upgrade changed some config somewhere but I have no idea.


    There is no fix, as it is intentional. The powers that be, that is, the
    developpers upstream (not even openSUSE) decided that.

    Some do a symlink from /media to /var/run/media/user/, but you have to
    redo on every boot as it is volatile.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)
    - Itai
    http://www.cybernium.net

  5. #5

    Default Re: Flash Memory Mounts Ridiculously Deep With OpenSUSE 12.3 x64

    Quote Originally Posted by hcvv View Post
    As these mounts are done on behalf of the (at that moment active on the desktop) end-user, they are intended to be used by that end-user using his file manager (like Dolphin) where the device shows up as such. The end-user does not have to have any knowledge about mounting, let alone where it is mounted in the directory tree.
    The place(s) that were used earlier were in fact the same. It was never documented in end-user documentation that (s)he should care about a mount point.

    Take care, that is what I think is the idea behind it. Please, do not shoot the messanger.

    When you (as system manager, maybe after the end-user asked you so) want to have influence about that mount happening, you can make an entry in /etc/fstab (using the device-id or device label to uniquely identify the deevice). It shouldn't then be mounted "by the desktop", but by root (which caa of cource build a means so thatthe end-user can do this). But, there are reports that ignoring desktop mounting when in fstab is not working as intended atm.
    Sorry to contradict but the user does need to know This is why it took me a while to find out. Many applications still require paths

    On KDE apps, yes I just see the label of the media. Dolphin is the one that gave me the path because if you click on the media name it turns into an entry field with the path.

    As I said originally, its not a big issue but if there is a config somewhere I'd like to fix it there.

    Thanks anyway.

    - Itai
    - Itai
    http://www.cybernium.net

  6. #6
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,079

    Default Re: Flash Memory Mounts Ridiculously Deep With OpenSUSE 12.3 x64

    On Sun, 17 Mar 2013 15:46:01 +0000, idanan wrote:

    > After updating to OpenSUSE 12.3 x64 from 12.2 x64, when an flash memory
    > card is inserted in the reader,


    FWIW, this happens in 12.2 as well. I ran into it myself a couple days
    ago with a new USB flash drive.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,402

    Default Re: Flash Memory Mounts Ridiculously Deep With OpenSUSE 12.3 x64

    Quote Originally Posted by hendersj View Post
    On Sun, 17 Mar 2013 15:46:01 +0000, idanan wrote:

    > After updating to OpenSUSE 12.3 x64 from 12.2 x64, when an flash memory
    > card is inserted in the reader,


    FWIW, this happens in 12.2 as well. I ran into it myself a couple days
    ago with a new USB flash drive.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at openSUSE Forums FAQ
    I am not sure, but it could be that on 12.2 it is different for KDE and for Gnome. It could BTW be that it still differs for different DEs on 12.3. In any case it is different from 12.1 and earlier. And there were (minor) differences with still earlier versions.

    It has never been that "fixed": what the mountpoint was. And in all cases it was hard coded (unconofigurable) in HAL already.

    For what it is worth, I personaly see improvements in the whole afair. Earlier (when HAL was used and maybe even later) it was very uncertain who was the owner of a spontanious connected storage device. When several people were loged in on several logical screens it was not realy clear who was the owner of the fingers that pushed the USB connector in place. We had several threads about this a few years ago. As it is now, there is a clear definition that asumes that the fingers belong to the "active display user" (the real wording might be different), this being the userid that is loged in localy (vs. remote) and who's session's logical terminal is active on the screen (can only be one at the time). It is also not illogical that the username is used in the path of the mountpoint. The label may not be unique enough because many people have a lack of imagination and the number of labels "test" or "data" must be numerious. Earlier, the escape was to add numbers (like data-1) to the label, but that led also to confusion. And because some people simply removed the device without properly do a "save removal" sometimes these mountpoints still existed after a long time, this numbering could go rather high, leading to more confusion. The fact that this is now on a tmpfs in any case cleans it up at every shutdown. And the mount in a username defined path keeps any irrigularities with a users area. There is progress IMHO.
    Henk van Velden

  8. #8

    Default Re: Flash Memory Mounts Ridiculously Deep With OpenSUSE 12.3 x64

    On 2013-03-17, idanan <idanan@no-mx.forums.opensuse.org> wrote:
    >
    > After updating to OpenSUSE 12.3 x64 from 12.2 x64, when an flash memory
    > card is inserted in the reader, it mounts in a location such as:
    >
    > /var/run/media/user/disk
    >
    > Instead of simply:
    >
    > /media/disk


    I too noticed the change of the mount point (although I never saw it in 12.2 - perhaps I upgraded to 12.3 before the
    change). If you're using the same flash disk every time (as I do), you can save yourself a lot a typing by creating a
    symbolic link in your /home/user/ to the mount point

    e.g.

    Code:
    user@linux:~> ln -sf /var/run/media/user/disk
    .... then just use to ~/disk/* whenever you need it. The link will be dead while the flash disk isn't mounted (by KDE)
    but it's there when you need it rather than having to type deep paths.

    I have no idea why the change was made, and it seems strange (at least to me) to have a mount point in /var/. You will
    notice other media (e.g. DVDs) also mount inside /var/ now. So I wonder why the directory /media/ exists at all in the
    default openSUSE KDE install.

  9. #9
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,714
    Blog Entries
    1

    Default Re: Flash Memory Mounts Ridiculously Deep With OpenSUSE 12.3 x64

    @idanan: You may be interested in reading the comments made in this thread

    https://forums.opensuse.org/english/...ml#post2536555

    In particular, the udev comments about the UDISKS_FILESYSTEM_SHARED

    udisks - Disk Manager

    This all looks like work-in-progress... a lot going on upstream

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Flash Memory Mounts Ridiculously Deep With OpenSUSE 12.3 x64

    On 2013-03-18 10:21, flymail wrote:
    > I have no idea why the change was made, and it seems strange (at least to me) to have a mount point in /var/. You will
    > notice other media (e.g. DVDs) also mount inside /var/ now. So I wonder why the directory /media/ exists at all in the
    > default openSUSE KDE install.


    According to a developer that wrote in the mail list, “/var/run is a
    symlink to /run... which is provided as stop-gap backward compatibility
    kludge. some applications and standards expect /var/run to exist.”

    “/run is the official new location, yet some apps still have not been
    updated to reflect this fact.”

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

Page 1 of 5 123 ... LastLast

Posting Permissions

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