Ubuntu: How do I check where devices mounted 14.04



Question:

Can anyone tell me the command thats lets me see what and where devices are mounted? I'm having trouble changing songs on my old ipod and i have a feeling its because of the mount point.


Solution:1

There are at least three programs I know of that list device mount points: mount, df and lsblk:

$ mount  /dev/sda3 on / type ext4 (rw,errors=remount-ro)  proc on /proc type proc (rw,noexec,nosuid,nodev)  sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)  ...  /dev/mapper/lvmg-homelvm on /home type btrfs (rw,relatime,compress=lzo,space_cache)  /dev/sda5 on /home/muru/arch type btrfs (rw,relatime,compress=lzo,space_cache)  binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)  systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)  $ df         Filesystem                1K-blocks      Used Available Use% Mounted on  /dev/sda3                  30832636  11993480  17249912  42% /  none                              4         0         4   0% /sys/fs/cgroup  ...  /dev/sda5                  31457280   3948600  25396496  14% /home/bro3886/arch  $ lsblk  NAME                    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT  sda                       8:0    0 465.8G  0 disk   â"œâ"€sda1                    8:1    0   100M  0 part   â"œâ"€sda2                    8:2    0  58.5G  0 part   â"œâ"€sda3                    8:3    0    30G  0 part /  â"œâ"€sda4                    8:4    0     1K  0 part   â"œâ"€sda5                    8:5    0    30G  0 part   â"œâ"€sda6                    8:6    0 339.2G  0 part   â"‚ â""â"€lvmg-homelvm (dm-0) 252:0    0   1.2T  0 lvm    â""â"€sda7                    8:7    0     8G  0 part [SWAP]  sdb                       8:16   0 931.5G  0 disk   â""â"€sdb1                    8:17   0 931.5G  0 part     â""â"€lvmg-homelvm (dm-0) 252:0    0   1.2T  0 lvm    

Only mount lists all the mountpoints, AFAICT. The others have their weaknesses.


Solution:2

If it's an iPod, it will probably be mounted by gvfs.

Have a look in /run/user/1000/gvfs/afc* (assuming your uid is 1000)

The other command that might help is gvfs-mount -l


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »