You are not logged in.
before today I use KDE4 , but today I remove KDE and start use Gnome3 ,everything is good , but when I plug USB disk flash , I see message and I can use flash disk with natulius ,and I can copy and paste files , b ut when
I open Terminal and start use MC , I can not use flash USB disk with with MC , when I go to media directory , I see this directory is empty ,
I do not have this problem with KDE4
Offline
when I plug USB disk flash I can see it with file application ,but when I want see it with terminal I can not see it or browse it with command line , I want copy an d paste files with command line
Offline
Can soneone help to solve this problem
Offline
I don't use Gnome 3, but does it use udisks or udisks2?
You can see that with 'ps -ef': what udisks process is running.
If it uses udisks2, the default directory is '/run/media/username/...'
To see where the flash disk is mounted: let Nautilus mount it and in a console run 'mount'.
If it doesn't use udisks, I don't know what happens on your system.
Offline
mfaridi, you should probably be aware of this https://wiki.archlinux.org/index.php/Fo … te#Bumping .
In any case, mount your drive using whatever it is that you prefer to use (nautilus, dolphin, just udisks[2], whatever), and then
$ mount -l to see where that given tool mounts your device.
This is indeed what berbae just told you, but a bit more spelled out. Personally I just prefer to mount stuff manually.
Offline
thanks all guys
when I pluig or attach my USB flash disk and run this command
mount -l I see these
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=1681016k,nr_inodes=216203,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda3 on / type ext4 (rw,relatime,data=ordered)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
/dev/sda4 on /home type ext4 (rw,relatime,data=ordered)
/dev/sda1 on /boot type ext2 (rw,relatime)
binfmt on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
gvfs-fuse-daemon on /home/mostafa/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
/dev/sdc1 on /run/media/mostafa/E1A5-58A5 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udisks2 but when I run this command
cd /media/ and run ls command ,ls command does not have output
when I run this command
ps -ef I see this
[mostafa@mfaridiarch media]$ ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 00:18 ? 00:00:00 init [5]
root 2 0 0 00:18 ? 00:00:00 [kthreadd]
root 3 2 0 00:18 ? 00:00:00 [ksoftirqd/0]
root 6 2 0 00:18 ? 00:00:00 [migration/0]
root 7 2 0 00:18 ? 00:00:00 [watchdog/0]
root 8 2 0 00:18 ? 00:00:00 [migration/1]
root 10 2 0 00:18 ? 00:00:00 [ksoftirqd/1]
root 11 2 0 00:18 ? 00:00:00 [watchdog/1]
root 12 2 0 00:18 ? 00:00:00 [cpuset]
root 13 2 0 00:18 ? 00:00:00 [khelper]
root 14 2 0 00:18 ? 00:00:00 [kdevtmpfs]
root 15 2 0 00:18 ? 00:00:00 [netns]
root 16 2 0 00:18 ? 00:00:00 [sync_supers]
root 17 2 0 00:18 ? 00:00:00 [bdi-default]
root 18 2 0 00:18 ? 00:00:00 [kblockd]
root 19 2 0 00:18 ? 00:00:00 [kworker/0:1]
root 20 2 0 00:18 ? 00:00:00 [kworker/1:1]
root 21 2 0 00:18 ? 00:00:00 [khungtaskd]
root 22 2 0 00:18 ? 00:00:00 [kswapd0]
root 23 2 0 00:18 ? 00:00:00 [ksmd]
root 24 2 0 00:18 ? 00:00:00 [khugepaged]
root 25 2 0 00:18 ? 00:00:00 [fsnotify_mark]
root 26 2 0 00:18 ? 00:00:00 [crypto]
root 29 2 0 00:18 ? 00:00:00 [kthrotld]
root 30 2 0 00:18 ? 00:00:00 [kworker/0:2]
root 31 2 0 00:18 ? 00:00:00 [deferwq]
root 97 2 0 00:18 ? 00:00:00 [khubd]
root 98 2 0 00:18 ? 00:00:00 [ata_sff]
root 100 2 0 00:18 ? 00:00:00 [scsi_eh_0]
root 101 2 0 00:18 ? 00:00:00 [scsi_eh_1]
root 102 2 0 00:18 ? 00:00:00 [kworker/u:2]
root 103 2 0 00:18 ? 00:00:00 [kworker/u:3]
root 104 2 0 00:18 ? 00:00:00 [scsi_eh_2]
root 105 2 0 00:18 ? 00:00:00 [scsi_eh_3]
root 108 2 0 00:18 ? 00:00:00 [scsi_eh_4]
root 109 2 0 00:18 ? 00:00:00 [scsi_eh_5]
root 121 2 0 00:18 ? 00:00:00 [jbd2/sda3-8]
root 122 2 0 00:18 ? 00:00:00 [ext4-dio-unwrit]
root 164 1 0 00:18 ? 00:00:00 /usr/lib/systemd/systemd-udevd --daemon
root 170 2 0 00:18 ? 00:00:00 [iprt]
root 261 2 0 00:18 ? 00:00:00 [cfg80211]
root 263 2 0 00:18 ? 00:00:00 [firewire]
root 265 2 0 00:18 ? 00:00:00 [kvm-irqfd-clean]
root 302 2 0 00:18 ? 00:00:00 [kworker/1:3]
root 322 2 0 00:18 ? 00:00:00 [flush-8:0]
root 332 2 0 00:18 ? 00:00:00 [jbd2/sda4-8]
root 333 2 0 00:18 ? 00:00:00 [ext4-dio-unwrit]
root 334 2 0 00:18 ? 00:00:00 [ext4-dio-unwrit]
root 394 1 0 00:18 ? 00:00:00 supervising syslog-ng
root 395 394 0 00:18 ? 00:00:00 /usr/sbin/syslog-ng
dbus 420 1 0 00:18 ? 00:00:00 dbus-daemon --system
root 473 1 0 00:18 ? 00:00:00 dhcpcd -q eth0
root 496 1 0 00:18 ? 00:00:00 /usr/sbin/gdm-binary
root 571 1 0 00:18 ? 00:00:00 /usr/sbin/crond -S -l info
tor 599 1 0 00:18 ? 00:00:02 /usr/bin/tor -f /etc/tor/torrc --quiet
root 603 1 0 00:18 tty1 00:00:00 /sbin/agetty -8 38400 tty1 linux
root 604 1 0 00:18 tty2 00:00:00 /sbin/agetty -8 38400 tty2 linux
root 605 1 0 00:18 tty3 00:00:00 /sbin/agetty -8 38400 tty3 linux
root 606 1 0 00:18 tty4 00:00:00 /sbin/agetty -8 38400 tty4 linux
root 607 1 0 00:18 tty5 00:00:00 /sbin/agetty -8 38400 tty5 linux
root 608 1 0 00:18 tty6 00:00:00 /sbin/agetty -8 38400 tty6 linux
root 619 1 0 00:18 ? 00:00:00 /usr/sbin/vnstatd -d
root 622 496 0 00:18 ? 00:00:00 /usr/lib/gdm/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1
root 624 622 2 00:18 tty7 00:00:12 /usr/bin/Xorg :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-9GDyKn/database -nolisten tcp vt7
root 644 1 0 00:18 ? 00:00:00 /usr/lib/accountsservice/accounts-daemon
root 648 1 0 00:18 ? 00:00:00 /usr/lib/polkit-1/polkitd --no-debug
root 652 1 0 00:18 ? 00:00:00 /usr/sbin/console-kit-daemon --no-daemon
root 742 1 0 00:18 ? 00:00:00 /usr/lib/upower/upowerd
rtkit 805 1 0 00:19 ? 00:00:00 /usr/lib/rtkit/rtkit-daemon
root 842 622 0 00:19 ? 00:00:00 gdm-session-worker [pam/gdm-password]
mostafa 846 1 0 00:20 ? 00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --login
mostafa 865 842 0 00:20 ? 00:00:00 gnome-session
mostafa 882 1 0 00:20 ? 00:00:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
mostafa 883 1 0 00:20 ? 00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
mostafa 891 1 0 00:20 ? 00:00:00 /usr/lib/GConf/gconfd-2
mostafa 895 865 0 00:20 ? 00:00:00 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
mostafa 908 1 0 00:20 ? 00:00:00 /usr/lib/gvfs/gvfsd
mostafa 910 1 0 00:20 ? 00:00:00 /usr/lib/gvfs//gvfs-fuse-daemon -f /home/mostafa/.gvfs
mostafa 919 1 0 00:20 ? 00:00:00 /usr/bin/pulseaudio --start --log-target=syslog
mostafa 924 919 0 00:20 ? 00:00:00 /usr/lib/pulse/gconf-helper
mostafa 928 1 0 00:20 ? 00:00:00 /usr/lib/gnome-settings-daemon/gsd-printer
root 933 1 0 00:20 ? 00:00:00 /usr/lib/colord/colord
mostafa 934 865 2 00:20 ? 00:00:14 /usr/bin/gnome-shell
mostafa 942 865 0 00:20 ? 00:00:00 /usr/lib/tracker/tracker-miner-fs
root 946 1 0 00:20 ? 00:00:00 /usr/lib/colord/colord-sane
mostafa 948 865 0 00:20 ? 00:00:01 /usr/lib/tracker/tracker-store
mostafa 949 865 0 00:20 ? 00:00:00 nm-applet
mostafa 951 865 0 00:20 ? 00:00:00 gnome-screensaver
mostafa 967 865 0 00:20 ? 00:00:00 /usr/lib/evolution/3.4/evolution-alarm-notify
mostafa 976 1 0 00:20 ? 00:00:00 /usr/lib/dconf/dconf-service
mostafa 992 1 0 00:20 ? 00:00:00 /usr/lib/gnome-shell/gnome-shell-calendar-server
mostafa 994 1 0 00:20 ? 00:00:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
root 997 1 0 00:20 ? 00:00:00 /usr/lib/udisks2/udisksd --no-debug
mostafa 1006 1 0 00:20 ? 00:00:00 /usr/lib/telepathy/mission-control-5
mostafa 1012 1 0 00:20 ? 00:00:00 /usr/lib/gnome-online-accounts/goa-daemon
mostafa 1052 1 0 00:20 ? 00:00:00 /usr/lib/libsocialweb/libsocialweb-core
mostafa 1081 934 4 00:21 ? 00:00:23 firefox
mostafa 1096 1 0 00:21 ? 00:00:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
mostafa 1124 934 0 00:22 ? 00:00:00 gnome-terminal
mostafa 1130 1124 0 00:22 ? 00:00:00 gnome-pty-helper
mostafa 1132 1124 0 00:22 pts/0 00:00:00 bash
root 1149 2 0 00:22 ? 00:00:00 [scsi_eh_6]
root 1150 2 0 00:22 ? 00:00:00 [usb-storage]
mostafa 1170 1 0 00:22 ? 00:00:00 nautilus /run/media/mostafa/E1A5-58A5
mostafa 1177 1 0 00:22 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
mostafa 1181 1 0 00:22 ? 00:00:00 /usr/lib/gvfs/gvfsd-burn --spawner :1.7 /org/gtk/gvfs/exec_spaw/1
root 1183 2 0 00:22 ? 00:00:00 [flush-8:32]
root 1199 2 0 00:24 ? 00:00:00 [kworker/0:0]
root 1202 2 0 00:27 ? 00:00:00 [kworker/1:0]
mostafa 1214 1132 0 00:29 pts/0 00:00:00 ps -efI want use USB flash disk with command line , but I do not why I can not find in media directory
when I run this command
tail -f /var/log/errors.logI see this
Sep 23 00:18:43 localhost dhcpcd[446]: eth0: sendmsg: Cannot assign requested address
Sep 23 00:19:03 localhost pulseaudio[803]: [pulseaudio] bluetooth-util.c: org.bluez.Manager.ListAdapters() failed: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
Sep 23 00:20:05 localhost pulseaudio[919]: [pulseaudio] bluetooth-util.c: org.bluez.Manager.ListAdapters() failed: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
Sep 23 00:20:08 localhost pulseaudio[971]: [pulseaudio] pid.c: Daemon already running.
Sep 23 00:22:38 localhost kernel: [ 245.326988] sd 6:0:0:0: [sdc] No Caching mode page present
Sep 23 00:22:38 localhost kernel: [ 245.326991] sd 6:0:0:0: [sdc] Assuming drive cache: write through
Sep 23 00:22:38 localhost kernel: [ 245.330986] sd 6:0:0:0: [sdc] No Caching mode page present
Sep 23 00:22:38 localhost kernel: [ 245.330988] sd 6:0:0:0: [sdc] Assuming drive cache: write through
Sep 23 00:22:38 localhost kernel: [ 245.334986] sd 6:0:0:0: [sdc] No Caching mode page present
Sep 23 00:22:38 localhost kernel: [ 245.334988] sd 6:0:0:0: [sdc] Assuming drive cache: write throughLast edited by mfaridi (2012-09-21 20:47:40)
Offline
Like everyone else said, it's under /run/media, not /media. Look after /dev/sdc1 in your output. That's where it's mounted.
cd /run/media/mostafa/E1A5-58A5Offline
thanks all guys
when I pluig or attach my USB flash disk and run this commandmount -lI see these
/dev/sdc1 on /run/media/mostafa/E1A5-58A5 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udisks2but when I run this command
cd /media/and run ls command ,ls command does not have output
/dev/sdc1 on /run/media/mostafa/E1A5-58A5
You should really read the output, rather than just blindly copy-pasting it. It clearly says where the media is mounted.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
thanks all guys
when I open mc and go to media directory , this directory is empty ,but when I run this command
cd /run/media/mostafa/E1A5-58A5 and open mc and go to media directory , this directory is NOT empty and I can use usb flash disk
Offline
Please mark the thread as solved to keep out forums organized.
Offline
Gnome3 likes to automatically mount your volumes, and then lock out any other users from using it. I don't like my flash drive being in the machine and having someone else login and mount my drive as an automatic feature. It won't be released until they unmount it. Systemd did something strange like this at one or it could have been a combination of both.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline