How to mount usb device?

$rmformat :
Volmgt Node: /vol/dev/aliases/rmdisk0
        Logical Node: /dev/rdsk/c2t0d0p0
        Physical Node: /pci@0,0/pci1462,7210@1d,7/storage@5/disk@0,0
        Connected Device:          USB FLASH DRIVE  34CH
        Device Type: Removablemounting:
mkdir /mnt/usb
mount -F pcfs /dev/rdsk/c2t0d0p0 /mnt/usbget
mount: Block device requiredand try this
volrmmount -i rmdisk0maybe it must be here /rmdisk?
but
# ls -l /rmdisk/
total 0how to mount flesh device in Solaris 10???
Message was edited by:
[email protected]
null

i found the problem
this is output of dmesg
Jun  7 09:45:00 unknown pcfs: [ID 403951 kern.info] NOTICE: pcfs: FAT size error
Jun  7 09:45:00 unknown pcfs: [ID 132729 kern.info] NOTICE: pcfs: illegal disk formatand i do this
# mkfs -F pcfs /dev/rdsk/c2t0d0p0:cthen my device mount automaticaly

Similar Messages

  • Can't mount usb devices as a normal user

    Hi.
    I woud like to ask for help. I've been struggling with some "bug" that i came with Arch and usb devices (disks, pendrives). I can't mount it as a normal user using KDE default mounting software (Dolphin, for an exmample). I can mount it only in therminal by using sudo privileages. Is there a way to fix it? I read it, the same problem:
    https://bbs.archlinux.org/viewtopic.php?id=180025
    I tried to check everything according this topic, also with udisk2 archwiki thread but on my desktop machine i just can't mount usb devices without root password. This is how the error looks like for a Dolphin:
    <Over sized Image removed. URL link preserved>
    This is the error, from picture
    Error when trying to use acces to "removable device 7,5GB". System showed: The requested operation has failed. Error checking authorization:
    GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: action org.freedesktop.udisks2.filesystem-mount is not registered (polkit-error-quark, 0)
    Could somebody help me? I even installed udisk mounting tool to mont without root password, added 50-udisks.policy and it just does not work.
    Help.
    I can mount it wit terminal by typing
    sudo mount /dev/sdXY /mnt/usb
    than i'm asked for password and it is mounted. Don't know why i can't mount it without password when connecting usb devices to usb port.
    moderator edit [ewaller]Removed link to over sized image..  Note, you set up a click through thumbnail correctly, but the "Thumbnail" was the same image and was too large
    Last edited by ewaller (2014-09-28 16:37:41)

    Some refresh. I followed this topic:
    https://bbs.archlinux.org/viewtopic.php?id=180025
    with the same problem. I found errors here:
    firekage@arch_desktop ~]$ journalctl -r -u polkit
    -- Logs begin at pią 2014-06-13 18:04:12 CEST, end at czw 2014-12-25 20:15:01 CET. --
    cze 23 15:59:15 arch_desktop polkitd[306]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.24, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8) (disconnected from bus)
    cze 23 15:29:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:05 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:03 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:01 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:21:00 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:20:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:20:58 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:20:06 arch_desktop polkitd[306]: Registered Authentication Agent for unix-session:c1 (system bus name :1.24 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 22:19:49 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 22:19:49 arch_desktop polkitd[306]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 22:19:49 arch_desktop polkitd[306]: Finished loading, compiling and executing 1 rules
    cze 20 22:19:49 arch_desktop polkitd[306]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 22:19:49 arch_desktop polkitd[306]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 22:19:49 arch_desktop polkitd[306]: Started polkitd version 0.112
    -- Reboot --
    cze 20 22:15:10 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 22:15:08 arch_desktop polkitd[304]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.23, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 22:02:59 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:56 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:55 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:54 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:02:53 arch_desktop polkitd[304]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.11 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 22:00:00 arch_desktop polkitd[304]: Registered Authentication Agent for unix-session:c1 (system bus name :1.23 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 21:59:26 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 21:59:26 arch_desktop polkitd[304]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 21:59:26 arch_desktop polkitd[304]: Finished loading, compiling and executing 1 rules
    cze 20 21:59:26 arch_desktop polkitd[304]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 21:59:26 arch_desktop polkitd[304]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 21:59:26 arch_desktop polkitd[304]: Started polkitd version 0.112
    cze 20 21:59:26 arch_desktop systemd[1]: Starting Authorization Manager...
    -- Reboot --
    cze 20 21:58:39 arch_desktop systemd[1]: Stopped Authorization Manager.
    cze 20 21:58:39 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 21:55:01 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:59 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:58 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:56 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:54:56 arch_desktop polkitd[306]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 21:47:40 arch_desktop polkitd[306]: Registered Authentication Agent for unix-session:c1 (system bus name :1.21 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 21:47:22 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 21:47:22 arch_desktop polkitd[306]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 21:47:22 arch_desktop polkitd[306]: Finished loading, compiling and executing 1 rules
    cze 20 21:47:22 arch_desktop polkitd[306]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 21:47:22 arch_desktop polkitd[306]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 21:47:22 arch_desktop polkitd[306]: Started polkitd version 0.112
    cze 20 21:47:22 arch_desktop systemd[1]: Starting Authorization Manager...
    -- Reboot --
    cze 20 19:56:46 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 19:56:45 arch_desktop polkitd[310]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.21, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 19:55:51 arch_desktop polkitd[310]: Registered Authentication Agent for unix-session:c1 (system bus name :1.21 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 19:55:16 arch_desktop systemd[1]: Started Authorization Manager.
    cze 20 19:55:16 arch_desktop polkitd[310]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
    cze 20 19:55:16 arch_desktop polkitd[310]: Finished loading, compiling and executing 1 rules
    cze 20 19:55:16 arch_desktop polkitd[310]: Loading rules from directory /usr/share/polkit-1/rules.d
    cze 20 19:55:16 arch_desktop polkitd[310]: Loading rules from directory /etc/polkit-1/rules.d
    cze 20 19:55:16 arch_desktop polkitd[310]: Started polkitd version 0.112
    cze 20 19:55:16 arch_desktop systemd[1]: Starting Authorization Manager...
    -- Reboot --
    cze 20 19:54:38 arch_desktop systemd[1]: Stopping Authorization Manager...
    cze 20 19:54:13 arch_desktop polkitd[305]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.21, object path /org/kde/PolicyKit1/AuthenticationAgent, locale pl_PL.UTF-8)
    cze 20 16:47:01 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 20 03:02:19 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 21:32:38 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:25:08 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:40 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:38 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:36 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:35 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    cze 19 19:24:34 arch_desktop polkitd[305]: Operator of unix-session:c1 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount-system for system-bus-name::1.10 [kdeinit4: kded4 [kdeinit]] (owned by unix-user:firekage)
    Could somebody help me? I even checked all rules in /etc/polkit-1/rules.d and /usr/share/polkit-1/actions on my notebook, and all files are the same with the same user permission but on notebook i can mount usb without problem, but on my desktop can't at all.

  • KDE mount USB device fails

    Hi,
    I am running KDE and having problems mounting USB devices via the KDE Device Notifier in the task bar. When I insert the USB stick there is the normal little popup giving me the option to open the flash drive in dolphin. When I click it, I get the following error:
    "Could not mount the following device"
    Mounting the device via terminal works fine. I also put my user into the "storage" group like the wiki tells me. Still no change.
    Any ideas?

    willtriv wrote:
    Note: slim is ConsoleKit capable since version 1.3.3. Unless you happen to run an old version, you must no longer include ck-launch-session in your .xinitrc or slim.conf login_cmd.
    These kind of changes without notifications to users cause headaches. Someone was kind enough to update the wiki!
    You are my personal hero for today, I was suffering the same problem. Manifests itself as 2 CK sessions listed by ck-launch-session, with the wrong session being marked as active.
    Last edited by crobe2 (2012-06-11 14:28:12)

  • How to mount USB & CDROM drives from single user mode - Solaris boot disk?

    Hi All,
    I need to carry out ufsrestore on a single newly replaced system disk (no redundancy / mirroring) from either USB or CDROM drives from the following steps:
    ( i ) GRUB => e, e, cdrom –s, Enter, b (boot from Solaris 10 x86 media).
    ( ii ) Choose menu 1 for Install Solaris Interactive Mode to reach single user mode.Below are the commands that I have tried in single user mode without success:
    mount –r –F pcfs /dev/dsk/c1t0d0p0 /cdrom (after unmount Solaris CD)
      mount: /dev/dsk/c1t0d0p0 is not a DOS filesystem.
    svcadm –v enable smserver
      svcadm: Pattern ‘smserver’ doesn’t match any instances
    svcadm enable autofs
      svcadm: Pattern ‘autofs’ doesn’t match any instances
    devfsadm
      devfsadm: mkdir failed for /dev 0s1ed: Read-only file system
    mkdir /mnt
      mkdir: Failed to make directory “/mnt”; Read-only file systemPart of the problem is due to the current READ ONLY filesystems which does not allow the creation of mount point such as /mnt.
    I have been able to create both / root (/dev/dsk/c1t0d0s0) and /export/home (/dev/dsk/c1t0d0s0) filesystems with newfs that are awaiting for restore using ufsrestore.
    The only option I am left with is to attach a secondary disk to install Solaris 10 on either of them before bring the system to multi-user mode so that service such as volmgt, autofs, volfs are available to access USB & CDROM drives.
    Any suggestion on how to resolve this issue?
    Many thanks,
    Jack

    Hi JKGN,
    Is the directory a located under the root filesystem. ie /a? Are there any other mount point for say USB drive as well? I am not in a position to try it out right now but will get back
    to you soon on whether /a exist or not.
    Btw, the last thing I managed to do on this system at the time was added a secondary 1TB internal disk with the intention to restore both / and /export/home data onto this disk while
    making use of all the disk device management services such as the following services only available in a fully installed Solaris system (both single & multi-user modes) installed on the
    primary disk:
    # svcs smserver
    STATE          STIME    FMRI
    online         Jun_08   svc:/network/rpc/smserver:default
    # svcs autofs
    STATE          STIME    FMRI
    online         Jun_08   svc:/system/filesystem/autofs:default
    # devfsadm
    # iostat -En
    c1t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: ATA      Product: SAMSUNG HD321KJ  Revision: 0-11 Serial No: 
    Size: 320.07GB <320072932864 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 41 Predictive Failure Analysis: 0
    c0t0d0           Soft Errors: 0 Hard Errors: 5 Transport Errors: 0
    Vendor: PHILIPS  Product: DVD+-RW DVD8801  Revision: AD21 Serial 
    Size: 17.54GB <17538875392 bytes>
    Media Error: 0 Device Not Ready: 5 No Device: 0 Recoverable: 0
    Illegal Request: 10 Predictive Failure Analysis: 0
    c2t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: JetFlash Product: Transcend 16GB   Revision: 1100 Serial No: 
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 7 Predictive Failure Analysis: 0
    # rmformat
    Looking for devices...
         1. Volmgt Node: /vol/dev/aliases/cdrom0
            Logical Node: /dev/rdsk/c0t0d0s2
            Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0
            Connected Device: PHILIPS  DVD+-RW DVD8801  AD21
            Device Type: DVD Reader/WriterHowever, I was disappointed that "iostat -En" has not found the secondary disk (1 TB) even though it was available earlier, for Solaris installation as the only disk on the same system.
    As a result, I am left with no option but the need to rebuild this system with only a single primary disk while in single user mode. However, the single user mode that I am in is the
    one from Solaris installation disk with restrictive (_cannot create folder for mount point or running disk management utilities_) capability such as those services just covered, compared to one from a completed Solaris installation system with full access to all filesystems and utilities / commands in general.
    I would very much value your assistance on how to mount both CD & USB in this restrictive limited Read Only OS (assume that it is running from memory) in order to get complete access to
    the blank primary disk so that full restore with ufsrestore could take place.
    Thanks in advance,
    Jack
    Edited by: 797805 on 9/06/2012 04:15

  • How to mount USB Flash Drive

    Hello again Arch-Linux users,
    I always search google very hard and for months (off and on) I search for how to mount a USB Flash Drive.  Nothing ever work so I give up than try again months latter.  I don't want to give up anymore and that is why I join this forum.
    Here are some of the code I found on the net.  Some of these commands will only re-mount the entire Arch-Linux running system in  /mnt/usbstick.
    sudo mount -o rw,noauto,async,user,umask=1000 /dev/sda1 /mnt/usbstick
    ... don't work it only re-mount the entire system
    /dev/sda15 /mnt/usbstick  vfat   user,noauto,unhide   0      0
    ... don't work... I found nothing inside /mnt/usbstick
    mount -t vfat -o rw,nosuid,nodev,quiet,shortname=mixed,uid=1001,gid=100,umask=077,iocharset=utf8 /dev/sda1 /mnt/usbstick
    ... don't work... here is the error i get:
    mount: /dev/sda1 already mounted or /mnt/usbstick busy
    mount: according to mtab, /dev/sda1 is mounted on /
    It strange that most USB mount commands use the operating system partition itself- example: /dev/sda1 as the device for USB device, while others use /dev/cdrom for cd - /dev/dvd for dvd and /dev/fd0 for floppy.
    Could someone post the code that will easily mount a usb device under Arch_Linux.
    I'm using Arch-Linux core-64 (08-2009)
    Thanks in advance
    Last edited by sharris (2010-06-17 21:58:43)

    Thanks fsckd,
    I needed a rapid reply because I been wasting too much time not getting anything done because I needed to get pass this flash-drive thing.  I can now have a secure back-up in my pocket on USB to go.  Arch-Linux does it better for what I seen while just dd'ing on disk.
    ...lsusb
    Found it
    http://gd.tuwien.ac.at/linuxcommand.org … susb8.html
    Thanks demian,
    sdb is the location for my single hard-drive machine.  I saw it before in my list above but I changed it to sda1 because I knew no better.  I had no clue it represent a 2nd hard-drive for LINUX if one is not already present.
    This did it for me
    Thanks again

  • [SOLVED] Openbox+Thunar, how to show usb devices in thunar?

    Hi.  I've been running a pretty standard Xfce environment for a while.  When I plug in a usb drive, I get a new item pop up in the "DEVICES" section of the left panel in thunar (note, it doesn't automount the device, it just shows that it's there and only mounts it when I click on it...I like this behaviour).
    Now, I'm setting up an even lighter-weight environment, just openbox and tint2 with thunar as the file manager.  But when I'm logged into the openbox environment, I don't get the item in the "DEVICES" section in thunar (but it still works fine in xfce).
    If it run thunar from the command line and plug in a usb drive I get this message in the terminal
    (thunar:21205): thunar-WARNING **: Failed to launch the volume manager (Failed to execute child process "thunar-volman" (No such file or directory)), make sure you have the "thunar-volman" package installed.
    I don't see why I would need thunar-volman if it works fine in xfce.  If I install thunar-volman and do the same, I get this message
    thunar-volman: Unsupported USB device type.
    thunar-volman: Unsupported USB device type.
    thunar-volman: Unknown block device type.
    So I'm wondering if maybe there is a daemon that is autostarted during an xfce session that makes thunar probe for devices to be plugged in or something like that.  Why does it work in an xfce session, but not in an openbox session?
    Last edited by Pacopag (2013-03-14 15:52:32)

    Thanks for your replies.
    henk:  I tried installing polkit-gnome and creating the rule as per the wiki, but it didn't work.  Volume detection seems to work fine in xfce without this package.
    jv2112:  I added udiskie to .config/openbox/autostart and it seems to work.  I've had problems with udiskie in the past; it seemed to have some trouble unmounting the drives properly after a write as I would find that the newly written files were corrupt.  But it seems to be working fine.
    I'll mark this as solved, but I'm still curious as to how xfce-thunar is mounting the usb devices. 
    One clue is that with udiskie, devices get mounted to /media, whereas in xfce they get mounted to /var/run/media/username/ (or something like that).

  • Mounting USB devices in arch guest

    I'm new to virtualbox, but not to linux.  I have been using arch for at least 3 years, so I have some familiarity with it.  I have recently installed arch as a guest OS on virtualbox (on OSX host).  I am having some trouble accessing an attached USB device from the arch guest.  I have defined the virtualbox USB filter for my device, and it appears to work, detecting the identified device and attaching it to the guest (at least as far as virtualbox is concerned).   I can see the device in the virtualbox pull-down menu, and it shows with a "checkmark" next to it, showing (I think) that it has been attached to my arch guest.
    Problem is, I cannot see the device from the arch guest.  no entry in /dev for any USB device.  symptoms are the same whether i insert ther USB device before or after starting the arch guest.  I have HAL and dbus active in my guest.  Also, I have made this work in arch installed natively.  since there is no /dev entry, this might appear to be some form of udev issue?  is there a specific udev setup that I should be aware of for arch as a guest?
    Please help if you can.  I will appreciate all comments and suggestions.
    -dvh

    hey, ive got Arch setup in virtualbox as well, and can mount usb's and cd's etc. (although with some issues i may need to bring up in another thread...) anyways, im assuming you have the PUEL virtualbox and not the OSE one?
    also, your certain that you've mounted the correct USB (on the Virtual Box pull-down menu)? because you may have mounted a USB which was already attached to your host, and not the actual USB?
    just checking, i dont know much about how to fix this issue so im just going at the simple solutions...

  • Mounting usb devices as non-root user ??

    How can a non-root user mount a usb flash device?
    As root, the device is mounted as:
    mount -F pcfs /dev/dsk/c1tod0s2:c /mnt
    The vfstab entry for this is as follows:
    /dev/dsk/c1t0d0s2:c /dev/rdsk/c1t0d0s2 /flash pcfs 2 no -
    This is running Solaris 8 on a SunBlade150

    Hello.
    I had the same problem.
    If you do not have root rights on the computer the answer is: You cannot mount the device.
    I had root access and I wrote a C program that (un-)mounted all possible device files (the "s2" devices as well as the "s2:c" devices because some flash devices come without partition table).
    I chowned the file to root and set the "set effective user ID" bit in the file's permissions using chmod after logging in as root - so any user can start the program.
    I think this is the most flexible variant because USB devices sometimes are assigned other device names.
    Martin

  • [solved] Permissions issue - can't mount usb device as user, just root

    In my last post I learned how to mount a secondary HDD from the command line.  Problem is I did it as root. Now I have xfce4 running and I need mount permissions as user.
    Here's my fstab:
    [dennis@archlinux media]$ cat /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    devpts /dev/pts devpts defaults 0 0
    shm /dev/shm tmpfs nodev,nosuid 0 0
    #/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    #/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    #/dev/fd0 /media/fl auto user,noauto 0 0
    /dev/sdb /media/disk0 ext4 rw,user,noauto 0 0
    /dev/sdb1 /media/disk1 ext4 rw,user,noauto 0 0
    /dev/sdb3 /media/disk3 ext4 rw.user,noauto 0 0
    UUID=1f813152-615e-41a1-b3e7-ce2b5b6836a5 / ext4 defaults 0 1
    UUID=aba18f0f-5f37-4ab0-8241-5a271dc3dddb swap swap defaults 0 0
    UUID=c4332450-df9e-4571-8256-8e1b10b4d162 /home ext4 defaults 0 1
    UUID=f0a6eca0-9668-454b-b444-371566663510 /boot ext2 defaults 0 1
    [dennis@archlinux media]$
    ....and these are the system messages I got when I plugged the device:
    Unable to mount "74G Volume":
    mount: only root can mount /dev/sdb3 on /media/disk3
    Unable to mount "4G Volume":
    mount: must be superuser to use mount
    What do I do here?
    Last edited by dennola4 (2010-06-28 00:56:51)

    Karol:
    # Cmnd alias specification
    # Defaults specification
    # Runas alias specification
    # User privilege specification
    root ALL=(ALL) ALL
    dennis ALL=(ALL) ALL
    %users ALL=(ALL) NOPASSWD: /usr/sbin/pppd
    %users ALL=(ALL) NOPASSWD: /usr/sbin/hibernate
    %users ALL=(ALL) NOPASSWD: /usr/sbin/standby
    # Uncomment to allow people in group wheel to run all commands
    %wheel ALL=(ALL) ALL
    # Same thing without a password
    %wheel ALL=(ALL) NOPASSWD: ALL
    # Samples
    # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
    # %users localhost=/sbin/shutdown -h now
    Mr. Elendig:
    Why not use automounting instead?
    To install Arch packages I needed an Internet connection, which required use of a Sierra Wireless card, which required chatscripts stored on another filesystem.  In my first Arch forum post ever, the one preceding this one, I learned to mount a device by creating a mountpoint in /media then invoking #mount.  After installing all packages and creating a user name, I signed on with xfce4 and plugged in the usb device again.  It didn't mount.  So I did it manually using sudo.  Since that worked I had the idea that adding the mountpoints to /etc/fstab would be useful, so I did.  When that didn't work I decided to just ask for help.
    So sure, I'm down for some automounting action.  How do I do it?

  • [SOLVED] setting up permissions for mounted usb devices

    Hi all,
    I've been having the following problem when mounting my external hd: in order to mount the external hd I created a folder /mnt/usbstick/ giving permissions to a non-root user to read the files/directories in this folder (using chmod); however, after I mount the external hd, the set of permissions for /mnt/usbstick/ change so that a non-root user cannot  read the mounted files in /mnt/usbstick. This is a problem for me because, when I copy a file from the external hd to the non-root home folder, the copied file can only be read by the root user.   
    Do you know how I can solve this problem? Should I write a udev rule and place it at /etc/udev/rules.d/? Or should I simply add the non-root user to a specific group from /etc/group? Any ideas?
    Thanks!
    Last edited by falsum (2010-05-08 09:21:59)

    You could try adding an entry for your usb device in /etc/fstab and specify the option user to let non-superusers mount it.
    Here's an example of an entry for my external HD. I'm sure there are probably other (and better) ways to do this but it works for me.
    UUID=4376-0BFB /media/FIRELITE vfat rw,user,noauto,async 0 0
    Nice howto found on the wiki: http://wiki.archlinux.org/index.php/Fstab

  • How to get USB device in the list of VISA resource Name field of VISA Open VI

    I have followed the below tutorial to communicate with my device using USB port. But i didn't get the name of the USB port in Measurement & Automation Explorer devices list. How to get it? Can anyone suggest something?
    http://zone.ni.com/devzone/cda/tut/p/id/4478
    Solved!
    Go to Solution.

    Hi kimhyun,
                     I have attempted this.But succeeded.I used pendrive as my USB device.my sugesstion is you don't disconnect your device at any point of your work.Check the device is connected properly.IF your system has recognized your device,you can view the device in control panel>>Device Manager>>Then open your particular device from the list of connected device then Details>>device description>>Hardware Ids>>Then you can find your vendor id there.
    Try this.I think your device is loosly connected.Which USB device are you using??Also you must install THE DRIVER OF YOUR USB DEVICE.
    GOOD LUCK
    Thanks as kudos only

  • How to detect USB device drives

    Hi
    I want to write a program which will detect the drive letter when a usb device is plugged in. i.e., if a usb device is plugged in and the drive letter is "F:", then my program will instantly detect the presense of the device as well as get the drive letter. How's that possible in Java?
    Thanx in advance
    Regards
    Mathew

    cotton.m wrote:
    Well if you're looking for the newUSBDriveListener API you're out of luck.
    There is no way to do what you are looking for in a number of ways.
    1) If something is listed as a drive the best you can now (from FileSystemView) is that it's a drive.
    2) There isn't "new drive/or device added" event API.
    So what you would have to do is when your program starts get the list of roots. Then poll at some intervals to get the list of roots and see if there are changes. If new drives show up then they show up.I agree!!!

  • Issues mounting USB devices in Thunar under Openbox

    Basically, whenever I attempt to mount a USB device in Thunar, I get a message that says:
    Failed to mount "4.0 GB Filesystem
    Not authorized
    My .xinitrc looks like:
    exec ck-launch-session dbus-launch openbox-session
    It works when I use GDM to start openbox, but when I use slim, it fails no matter what I try. If anyone could help me out, I'd really appreciate it.

    Check for *.pacnew files in '/etc/pam.d/' (specifically /etc/pam.d/slim.pacnew).

  • How To Share USB Devices Between Two Mac's?

    I am musician and have several USB controllers that I would like to share between my Mac pro and my Macbook Pro. (drum pad, keyboard controller,USB midi interface etc.) I have seen several switches offered on the net, however they all seem to be for PC from what I have found really.
    Belkin 7-Port Desktop USB Hub (F4U017) was recommended but the language in the the description does not mirror the same types of functions I am seeing mentioned in units made specifically for the PC. (ie "share USB devices between 2 computers.") Did I taint my mind by looking at the PC items first? Is it really as easy as to plug two Macs into the same USB hub and share their devices? Does anyone have a working solution they are using for this type of situation? How do you do it?
    If I could share 7 USB devices between the two systems, I think I would be just this side close to Heaven in ease!
    thank you!
    Cheers,
    Marty

    Thank you for the lead Direwolf, it felt like there might be a little more to it than just connecting to a hub. I just converted from PC about 8 months ago. Loving my macs!! A KVM switch I had not thought of that. I will look into. I read the wiki page and it seems like a kvm would replace the screen sharing feature the two machines can now use easy enough, only without using the cpu overhead to do it??? (i think is what I understood)
    Does anyone have a model they are using and can recommend? (it's a jungle +out there+) I just did a quick search and found mostly kvm switches with 2-ports USB,. ... looking for seven, come on lucky seven! lol!
    I will keep looking. In the mean time if readers have additional ideas, I will be very grateful! Cheers!

  • How to clear USB Device Information

    Hi,
    I'm developing USB hardware as operate as HID keyboard,
    Some Wrong Informations about USB keyboard device are saved OSX under debug,
    that seems to be keyed by USB VID/PID.
    Is there way to clear this informations and set as never connected that USB device before?

    Does this help?
    http://developer.apple.com/hardwaredrivers/download/usbdebug.html

Maybe you are looking for

  • WD external hard drive doesn't appear on my Desktop or in Finder

    Hi,  I have a Western Digital hard drive connected to my iMac (Intel).  When I first intstalled it, it worked fine.  Then it began to intermittently exit my desktop, generating the message This Device Was Not Properly Disconnected.  If I restarted my

  • Mac mini doesn't send sound to HP LA2206xc Monitor

    I have attached my Mac Mini (late 2009) with a DVI - Mini DVI connector on a the HP LA2206xc Monitor, but I don't have any sound through the speakers of the monitor. Also the webcam doen't work with facetime. Any ideas?

  • SIU in 10.6

    Hi Everyone, Does anyone know if SIU (NetRestore application for image creation) is part of 10.6 or exist only in 10.6 server edition? Thanks,

  • Internal table on Start Routine

    Hello I have 5 key figures. They have an standard routine with a select statement. Basically they have to read an external DSO and get some fields values. As all of them have the same SELECT statement I think it would be better to replace this with a

  • Tax flow from SABRIX to Invoice

    Hi Gurus, Need your help/ comments on the following scenario: Billing document has only one line item and the accounting document can't be generated since the system gives an error message stating "Pricing error in item 000010" message number if VF07