Problems with manual mounting

I want to be able to mount devices (internal and external) as normal user. I do NOT want automount.
I also want the mount-tool to automatically create mount points on demand, naming them from device-label or device-mapping.
I read these pages:
https://wiki.archlinux.org/index.php/Udisks
https://wiki.archlinux.org/index.php/Devmon
https://wiki.archlinux.org/index.php/Policykit
https://wiki.archlinux.org/index.php/Groups
Udisks wiki page suggests proposes a .rules with 'storage' group inside it: https://wiki.archlinux.org/index.php/Ud … figuration
Wiki lists 'storage' as a pre-systemd group and suggest not to use it.
What should I do?
Policykit should work as intended and I have a valid local session:
$ systemctl status polkit.service
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: active (running) since sab 2014-08-30 11:09:50 CEST; 1h 3min ago
Docs: man:polkit(8)
Main PID: 396 (polkitd)
CGroup: /system.slice/polkit.service
└─396 /usr/lib/polkit-1/polkitd --no-debug
ago 30 11:09:50 biscottyno polkitd[396]: Started polkitd version 0.112
ago 30 11:09:50 biscottyno polkitd[396]: Loading rules from directory /etc/p...d
ago 30 11:09:50 biscottyno polkitd[396]: Loading rules from directory /usr/s...d
ago 30 11:09:50 biscottyno polkitd[396]: Finished loading, compiling and exe...s
ago 30 11:09:50 biscottyno polkitd[396]: Acquired the name org.freedesktop.P...s
ago 30 11:09:50 biscottyno systemd[1]: Started Authorization Manager.
Hint: Some lines were ellipsized, use -l to show in full.
$ loginctl show-session $XDG_SESSION_ID
Id=c1
Name=archio
Timestamp=sab 2014-08-30 11:10:00 CEST
TimestampMonotonic=13680457
VTNr=1
TTY=tty1
Remote=no
Service=login
Scope=session-c1.scope
Leader=377
Audit=0
Type=tty
Class=user
Active=yes
State=active
IdleHint=yes
IdleSinceHint=1409389800186662
IdleSinceHintMonotonic=13114369
I do NOT want to install udevil and Devmon, which are external and redundant things, to do something I could do without. In the pre-systemd I managed to do it with the use of storage group and without udevil. I have been suggested to reactivate storage group, but I would like a more "systemd-philosophy" compatible way.
Last edited by buntolo (2014-08-30 10:18:43)

I'm near solving: replacing 'storage' with 'wheel' allow me to mount devices without asking permissions.
The only "problem" left is that it mount devices under /run/media/$device_UUID while I would like them to be mounted $deivce_LABEL or, if unavailable, volume size or device mapping.
Also: should devices be mounted under /run or under /media? If I remember correctly in my old archbox devices where mounted under /media. I know that /run is intended as a tmpfs to be available sooner than /var and the problem having lots of tmpfs around many places (like dev).

Similar Messages

  • Airport Express B/G : problems with manual IP configuration?

    I don't know when it started, but I think it has something to do with one of te latest systemupdates or airport firmware updates.
    Configuration :
    - Airport Express N : only N, bridge mode, IP manual (192.168.1.7), roaming with Extreme N
    - Airport Extreme N : only N, bridge mode, IP manual (192.168.1.35), roaming with Express N
    - Airport Express B/G (older one) : B/G compatible, bridge mode, IP manual (192.168.1.8), no roaming, just stand alone.
    All the airports are wired connected to a 10/100 switch.
    No internet configuration on these airports, I'm using a separated router, also connected to the switch.
    Problem : The airport Express B/G dissapears from the network : from time to time not visible in the airport utility program, from time to time not visible in iTunes (airtunes). In spite of these problems, he is always visible in the airport network menu. An IP ping works just fine.
    When I change the IP configuration of the Airport Extreme B/G from manual to DHCP, there is NO problem anymore.
    No problems with the Airport Express N an Airport Extreme N.
    Are there other users with the same problem?
    Thanks in advance.
    Message was edited by: Mario Willen

    question: i below what should i do ?
    1) put a cable from my cablemodem to the airport extreme bs;
    2) put a cable the airport extreme bs to the airport express bs.
    Yes on both. Your network configuration would look something like the following:
    Modem > (Ethernet) > \[WAN port] AEBSn \[LAN port] > (Ethernet) > AX
    do i have to reset the modems and are there any setting i should be aware of ?
    Yes, it's always a good idea to both reset both base stations and, after doing so and before configuring them, perform a complete power recycle of your network equipment.
    So in this case ...
    o Power-down the modem, AEBSn, AX, & computers. (Order is not critical.)
    o Reset both the AEBSn & AX. (Again, order is not critical.)
    o Power-down each base station after performing a successful reset.
    o Power-up the modem; wait at least 15 minutes.
    o Power-up the AEBSn; wait at least 10 minutes.
    o Plug-in the AX; wait at least 5 minutes.
    o Power-up your computer(s).
    o Use the AirPort Utility to reconfigure both base stations as required.

  • Problems with manually renaming files in List Mode

    I have an iMac 24" 2.4 Ghz with 4 Gb of RAM. Sometimes when I try to rename a file in a folder in List mode, I get unexpected and strange behavior. It is intermittent. It might be that I cannot get the highlighted current name to unhighlight (in cases where I only want to change a portion of the name), or the filename box might disappear, or the folder seems to lockup, or I get blocks every other space instead of letters. Weird, strange results. I do know that I can minimize the problem, if when first entering the filename box (by hitting 'return') I move the cursor via the cursor keys to the right over the extension and then back to the left. When I do that, it seems like I have less problems.
    All I can say is that it doesn't seem to be a robust as what I was used to in the Windows world. I'm new to Mac and this is the only complaint I have. I'm ecstatic about my Mac and can't believe I waited this long to convert over to it. If I could get this little glitch fixed, I'll be a 'happy camper'! (the problem's certainly not enough to make me go back to the misery I was in with Microsoft.)
    Has anyone else experienced any problems such as this? Or, is there a possibility that there is something wrong with my Mac?
    Or, am I doing something wrong?
    Thanks for any kind help I receive.
    Matt

    Finder for Intel is the same as Finder for PPC. Its the same code, sans some endian conversions.
    As for the renaming problem. Two things come to mind. In Tiger if you selected a file and pressed return, no matter what view style you were in, it would bring up the edit field and the entire name would be highlighted. In Leopard, this was changed slightly where it will now highlight everything up to the file extension. So if you have a file called 'foo.txt', it will highlight just 'foo'. This is a nice feature IMO because more often then not I don't want to change the file extension, only the 'body' of the file name.
    The Edit box disappearing is a bug that has been around for a couple OS releases where if something causes the view to update (more specifically the HIDataBrowser control List View is made of) while your renaming something, it will cancel the rename session. This can be caused by a bunch of things, like the size of a file changing or mod date changing or file being added to the directory etc. It has been around for a while, but has only become more prominant due to the addition of Icon Thumbnails in Leopard. When the thumbnail is created for the file by the Finder, List View updates to show the new thumbnail which cancels the edit session. There are a couple workarounds for this:
    1) Switch to Icon or Column View
    2) Wait for all the thumbnails to be created before starting to edit file names. Thumbnails appear pretty quickly, and only for the files that are currently visible in the window, so you shouldn't have to wait very long, and it only happens the first time you view that folder.
    3) Press Command-J while in List View and uncheck "Show Icon Previews" and then click the "Use as Defaults" button. That will turn off the icon thumbnails for all windows in List View.
    I haven't seen a problem with "blocks showing up every other space" though. I assume you mean a solid black square, right? Sounds like an invalid character in the file name. Renaming the file to something else should cure that one.
    Message was edited by: petrock

  • Wireless Router WRT54G Setup without CD - Having problems with manual setup

    Hi.  I have a WRT54G wireless router that I haven't used in years because my old cable provider supplied me with a router.  I recently switched cable providers & they don't provide a wireless routers.  I would like to use my WRT54G router, but I don't have the cd.  I figured it wasn't a problem because I can just do a manual setup using the ip address 192.168.1.1.  I receive the pop up window to enter the user name & password.  I follow the instructions & just type in the password field the word admin & l left the user name blank but it doesn't work.  Can someone please help?  I know that I can fix this problem.  It doesn't make sense to spend money for another router when this can be a simple fix.  Thanks in advance for your help.
    Solved!
    Go to Solution.

    I agree to sabretooth, you must do a reset on the router. You must have setup a password before to access the router page. Resetting the router will reset it's settings to the factory default settings. Push and hold the reset button for 30seconds then power it off for 10-15seconds. Once the power light goes solid, go ahead and reconfigure your router. This link should help you: Setting up a Linksys router with Cable Internet service

  • Firmware 7.6 Problems With Disk Mount

    I downgraded my Time Capsule firmware from 7.6 to 7.5.2, as it was repeatedly dropping my (wired ethernet) mount of its disk and reconnecting every 150 seconds or so.  7.5.2 seems to have fixed it.
    This sort of thing was seen in the system log:
    Nov 15 00:20:03 Shackleton kernel[0]: Primary Reconnect succeeded /Volumes/Vilya
    Nov 15 00:22:32 Shackleton KernelEventAgent[36]: tid 00000000 received event(s) VQ_NOTRESP (1)
    Nov 15 00:22:32 Shackleton KernelEventAgent[36]: tid 00000000 type 'afpfs', mounted on '/Volumes/Vilya', from 'afp_0V1wtE1EoQs100mTNI0Pyetl-1.2d000003', not responding
    Nov 15 00:22:32 Shackleton KernelEventAgent[36]: tid 00000000 found 1 filesystem(s) with problem(s)
    Nov 15 00:22:32 Shackleton KernelEventAgent[36]: tid 00000000 received event(s) VQ_NOTRESP (1)
    Nov 15 00:22:33 Shackleton kernel[0]: Primary Reconnect succeeded /Volumes/Vilya

    Installed the recently released 7.6.1 firmware, and it exhibits the same problem.  Reverted to 7.5.2 again, and the problem is gone.  Is anyone from Apple reading this?

  • Problem with manual sync

    Recently bought an 80gb Classic. Every now and then when I manually drag a track or a bunch of tracks I get these errors come up: The iPod "(name of ipod)" cannot be synced. The disk could not be read from or written to. Then I click OK then another message comes up: Attempting to copy to the disk "(name of ipod)" failed. The disk could not be read from or written to. Then I click Ok.
    Sometimes I'll be able to copy a bunch of tracks then while copying it will stop and the messages will appear. The only way I can get around this problem is disconnecting then reconnecting the iPod to my Mac. I hope this isn't the only solution.
    Any help would be great.

    See if this troubleshooting article helps.
    Disk cannot be read from or written to error syncing iPod in iTunes.

  • Problem with manual sync of ringtones

    If I manually copy a ringtone(I have 3 in iTunes) from my library to my iPhone everything looks great in iTunes (3 ringtones, 3 different songs). However, if I open settings\sounds\ringtones on my iPhone, only the last ringtone shows, albeit multiple times (3 ringtones, 3 entries all the same ringtone, under custom).
    Setting up an automatic synch resolves the problem

    For this particular issue, connect the iphone to the computer. When the iphone shows up in itunes, click the triangle to the left of the name of the iphone to expand the menu down. Click on ringtones under the name of the iphone and see if itunes displays the names of the ringtones correctly.
    If one or more if the ringtones shows up correctly, then this is a software issue on the iphone.
    To resolve this issue, you are going to need to restore the iphone. After the the iphone restores it shows back up in itunes with a message about restore from back up. At this point, do not restore from back up, set up as new iphone. This is because, what ever was corrupted on the iphone causing the issue with ringtones, you do not want to put the corruption back on the iphone.
    Hope this helps out.

  • HT1535 Problem with manual management - I need help?

    When I click on the "Manually Manage Music and Videos" box, I am informed that my iPhone is synced with another library - and it wants to delete everything on this phone an replace it - I don't want that!

    You cannot toggle between Manually Manage and Sync. You choose one or the other and stick with it. The easiest solution is to leave Manually Manage unchecked. Create a playlist, put the content you had intended to manually manage in the playlist, then add the playlist to the content to sync on the Music tab on the iPhone screen in iTunes.
    Note that you also cannot sync OR manually manage the iPhone with more than one computer. If you change computers you must start over.

  • Problem with manually added field.

    Hi,
    I added a field to a table with sql studio.
    There are problems about that field.
    My application does not recognise that field. (wd java app.)
    What must i do make field with no problem?
    Thanks.

    > I added a field to a table with sql studio.
    > There are problems about that field.
    > My application does not recognise that field. (wd java app.)
    > What must i do make field with no problem?
    No offense but to stay with your language: You have to tell "your application" that there is a new field.
    Since we have no idea how you access the system, where you added that field and what you expect to happen nobody can help you.
    Markus

  • Bigtime Problems With Volume Mounts

    Dear kind, helpful, charitable, community of Apple users,
    I'm been spinning my wheels on this for a week now and I'm totally stuck. I'm sufficiently desperate that I thought about offering a cash bounty via PayPal. (But I can't figure out an equitable way to do that so anyone who can help with this will win a virtual $1 "admin buck" and my undying gratitude.)
    Here's what I'm trying to do: I have a Mac Mini running 10.6 server. I also have a 1T external USB hard drive. I want to permanently mount this external hard drive at /Users, so all user accounts will live on the external drive. I've been a sysadmin for 20 years, dabbling in Unix the whole time, and this seems to me like it should be a no-brainer.
    Here's what I've tried: I added this line to /etc/fstab using vifs:
    UUID=BDFE6D09-7483-3479-B37F-0BE15F9CBFBB /Users hfs rw
    I've also tried a couple of variations, using different options (like LABEL and the volume label instead of the UUID, as well as explicit numeric values for fs_freq and fs_passno in the fifth and sixth fields. Regardless, when I run 'mount -av' I get:
    GetMasterBlock: Error 2 opening UUID=BDFE6D09-7483-3479-B37F-0BE15F9CBFBB
    GetMasterBlock: Error 2 opening UUID=BDFE6D09-7483-3479-B37F-0BE15F9CBFBB
    mount_hfs: No such file or directory
    mount: exec /System/Library/Filesystems/url.fs/Contents/Resources/mount_url for
    /Network/Servers: No such file or directory
    This is nonsense because the drive itself is formatted and partitioned and attached and on and visible in Disk Utility (though not mounted), and the /Users directory exists on the root. In fact, if I execute the following:
    mount_hfs /dev/disk2s3 /Users
    The volume mounts perfectly! Everything is peachy. Except, as soon as I log off twice, the volume unmounts for no explicable reason. Rebooting the system never automounts the volume like it's supposed to. Anytime automount (or mount, for that matter) fails, this is posted in the console error log:
    10/9/09 6:38:59 PM com.apple.autofsd[91] automount: Mount for UUID=BDFE6D09-7483-3479-B37F-0BE15F9CBFBB has no path for the directory to mount
    Oh, and yes, autodiskmount.plist is correct and exists in /Library/Preferences/SystemConfiguration.
    So my questions are these:
    1. Why does the darn think keep unmounting whenever someone logs off the server?
    2. Why does mount -a fail, while mount_hfs works fine
    3. What the heck am I supposed to do to get this thing to mount and stay mounted at /Users?
    Thanks for taking the time to ever read this!

    Hi Strontium90,
    Thanks for the reply!
    That is because Firewire and USB drives do not mount until the Finder is active. This is the default behavior, meaning that server, booting to the login screen, will not mount "transitory bus" devices. However, this can be overcome. You need to run this command to alter the default behavior (note this is all one line):
    sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool YES
    Well, unfortunately, that's what I meant in my original post when I said that, yes, the file /Library/Preferences/SystemConfiguration/autodiskmount.plist already exists. I have already executed the command you indicated, which creates the .plist file. And while this does seem to mount the drive right after a reboot, as I stated, the act of logging on and then off causes the drive to be unmounted. In fact, the as far as I can tell, no matter how the drive gets mounted, it is automatically unmounted at every logoff.
    But unless I am misreading what you are trying to do, that will allow the drive to mount automatically during startup and be available to the system without a user session.
    And it does... but it doesn't stay mounted. And it doesn't explain why mount -a fails with the errors I listed.
    As for a remap of the Users folder... If this is for network homes, then simply define the share point and define it to go to your external drive.
    It is indeed for network homes. Unfortunately, all of the defaults in server when creating accounts want to use /Users. I know I can change these defaults, but my experience with Apple is that successive operating system upgrades never respect or protect changes to defaults. Since all of the admin tools (and applications, and etc.) want to use /Users, I want to simply mount a larger partition at that point.
    Which, unfortunately, brings me back to my original three questions...

  • Problem with Manual Advance in Windows!

    I just made a KeyNote presentation and saved it as a keynote to play it on my Mac. I also had to export it as a quicktime since in the presentation room the only computer I was told to use was a PC. When I was testing at home the keynote as quicktime on a windows PC i noticed that I wasn't able to actually pass the slides myself but it was automatic (1 second each slide approximately), just like if it was a video. Nonetheless, in my Mac I could perfectly change them myself.
    I've already selected to have Manual Advance and I don't really want to use power point as the presentation gets worse.
    I have the presentation in a couple of days!!
    Thanks.

    I have same problem as yours at my project but think about that your project has an jar,dll and properties files these file have to inserted into java sub directory also the jar file must be added into current library(for windows). My problem as yours but OS is linux so little different.
    for use the editor I advice the Oracle JDeveloper or more simple JCreator these are simple but not seems confused.
    you have files for your editor program(jar,dll,properties).
    rxtx.jar \jdk\jre\lib\ext
    dll \jdk\bin
    jar files must be introduced to editor's library
    Note: all API comm additions must removed for clear connection most important.

  • Problem with manually manage songs and videos  on my iphone !

    So, I accidently deleted Itunes from my cumputer. I downloaded it again but my library "Charles" was now "Itunes" , so it wasn't my Iphone's "home" library anymore ... And the case " Manually manage songs and videos" wasn't selected , but when I clic on it and put "Apply" a windows appear and tell my I have to Sync. with the new library because I can't do it with more than one library ... The result is : I can't manually manage songs from my cumputer to my iPhone with Itunes, If I sync I loose every songs and videos I have on my iPhone ! I need some help to be able to manage manually my songs without sync first !

    a very good explanation given by the great wjosten
    By design, the iphone will sync itunes content with one computer at a time. Any attempt to sync such content with a second computer will result in ALL itunes content being first erased from her phone & then replaced with the content from the second computer. This is a design feature and cannot be overridden. Because you are replacing your GF's computer, her phone will see this computer as a "new" computer. The itunes content sync is one way: computer to phone. If you have photos that were synced to her phone or music ripped on her own that were not backed up, you will first have to extract them from her phone using third party software, before you do anything else, as Apple makes no provision to do so:
    http://www.wideanglesoftware.com/touchcopy/index.php
    Once you've done that, do the following in the order specified:
    1. Disable auto sync when an iPod/iPhone is connected under Preferences>Devices in itunes(under the edit menu if using Windows).
    2. Make sure you have one contact & one event in the supported applications(Address Book, iCal) on your computer. These entries can be fake, doesn't matter, the important point is that these programs not be empty.
    3. Connect her phone, iTunes running, do not sync at this point.
    4. Store>Authorize this computer.
    5. File>Transfer Purchases(To make sure all purchased content on her phone will be in her itunes library).
    6. Right click in the device pane & select reset warnings.
    7. Right click again and select backup.
    8. Right click again & select restore from backup, select the backup you just made. When prompted to create another backup, decline.
    9. This MUST be followed by a sync to restore her itunes content, which you select from the various tabs, You'll get a popup regarding her contacts & calendars asking to merge or replace, select merge.
    You should be good to go.

  • I have a problem with manually uninstalling IDM CC 6.9.8 extension for Mozilla. How can I "MANUALLY" delete this extension?

    I have installed Internet Download Manager on my laptop and it subsequently, was integrated with Mozilla Firefox, but now cannot transfer download files on the Net to Internet Download Manager main panel. What can I do to manually delete this extension to reinstall it again?

    Go to %appdata%\IDM\ and delete the "idmmzcc3" folder. You need to have firefox closed, or unlock the files with unlocker if firefox is running to delete it

  • Anyone else having problems with NFS mounts not showing up?

    Since Lion, cannot see NFS shares anymore.  Folder that had them is still threre but the share will not mount.  Worked fine in 10.6.
    nfs://192.168.1.234/volume1/video
    /Volumes/DiskStation/video
    resvport,nolocks,locallocks,intr,soft,wsize=32768,rsize=3276
    Any ideas?
    Thanks

    Since the NFS points show up in the terminal app, go to the local mount directory (i.e. the mount location in the NFS Mounts using Disk Utility) and do the following:
    First Create a Link file
    sudo ln -s full_local_path link_path_name
    sudo ln -s /Volumes/linux/projects/ linuxProjects
    Next Create a new directory say in the Root of the Host Drive (i.e. Macintosh HDD)
    sudo mkdir new_link_storage_directory
    sudo mkdir /Volumes/Macintosh\ HDD/Links
    Copy the Above Link file to the new directory
    sudo  mv link_path_name new_link_storage_directory
    sudo  mv linuxProjects /Volumes/Macintosh\ HDD/Links/
    Then in Finder locate the NEW_LINK_STORAGE_DIRECTORY and then the link file should allow opening of these NFS point points.
    Finally, after all links have been created and placed into the NEW..DIRECTORY, Place it into the left sidebar.  Now it works just like before.

  • Problem with reoccurring mount

    I downloaded the dmg for zterm. I opened, mounted the image, and installed zterm. I unmounted the image and moved the dmg off to another folder. So, now the zterm dmg is not mounted.
    Here's the fun part. I can logout/reboot and when I log back in, the mount is there. I can easily unmount. Btw, I'm using the Eject method via the GUI, not umount. Before I started system-level troubleshooting, I wanted to post it to the forum to see if someone can help.
    Thanks in Advance,
    Chris

    Think I figured it. I had copied a directory out of the image. Not sure why that would have caused this; maybe I accidentally created a symlink. But I deleted the directory and unmounted the image. Just now logged in and the mount didn't come up.

Maybe you are looking for

  • CS6 won't install on Mac OS 10.9.5, can anyone help?

    Hi, I have downloaded CS6 (academic package) and tried to install, but I got this error message: "Installer cannot be initialized". Adobe Support Advisor (which I had to download from another source, as it's been discontinued) failed to identify the

  • Adobe Edge Animate CC won't preview in Browser

    I am writing a review on Adobe Edge Animate CC. Loving the program until I tried to preview it in a browser. I am on a PC, using latest version of Firefox, and IE10. The only thing that is viewable in either browser is a static image. The animation r

  • Creating query (SQ01) about customer data

    Hello experts, I'm creating one query about customers data The tables involved in query are: KNA1, KNVV, KNVP, PA0002 and ADR6. Table ADR6 contains the email address of customer, but not all customers have the emails address informed. Therefore not a

  • MiniSAP tp problem - please help

    Hi! I am trying to follow the Microsoft installation guidelines for installing the ADO.NET data provider for SAP.  I have a miniSAP 4.6D system on Windows 2003.  Some of the instuctions from Microsoft are below.  Item 2 below (addtobuffer) worked fin

  • HT4623 My iPad mini does not make noise when typing

    My iPad mini does not make noise when typing