Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 47

Thread: usb flash drive works in 12.04 but not in 13.10

  1. #31
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,175

    Re: usb flash drive works in 12.04 but not in 13.10

    A small fraction of all the updates are kernel updates. Probably you have a few kernels, that are available to select at the grub menu. You can also see files belonging to different kernels in /boot

    Code:
     ls -l /boot
    The difference between 12.04 and 13.10: They are systems with different kernels and drivers. That there are different partitions has no influence.

  2. #32
    Join Date
    May 2009
    Location
    London
    Beans
    118
    Distro
    Ubuntu

    Re: usb flash drive works in 12.04 but not in 13.10

    That does'nt explain why my 13.10 install writes the mount of my usb dongle to the adjacent 12.04 tho

  3. #33
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,175

    Re: usb flash drive works in 12.04 but not in 13.10

    Sorry, but I don't understand what you mean by
    my 13.10 install writes the mount of my usb dongle to the adjacent 12.04

  4. #34
    Join Date
    May 2009
    Location
    London
    Beans
    118
    Distro
    Ubuntu

    Re: usb flash drive works in 12.04 but not in 13.10

    Sorry if I have not made myself clear, how else do I explain that the pendrive is recognised as mounted in 13.10 when there is no file in media to support it, whereas on the working 12.10 the pendrive files are in media.
    I am using 3.10.0-6 generic on 13.10 and 3.2.something on the 12.04 these two distros share a 500gb hd half and half.
    So it seems to me that 13.10 is looking over the partition seeing the drive as mounted, already active, there.
    That's not very scientific I know, but I like to think i'm a bit intuitive.
    Thanks everyone, I have learned something more, I've never really investigated the kernel till now that's another few cups of coffee for the future.

  5. #35
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: usb flash drive works in 12.04 but not in 13.10

    ortermagic,

    Do this. unplug the usb device, then monitor the output of syslog,
    Code:
    tail -f /var/log/syslog
    , then plug the usb device back in.
    Wait for either it got mount or 5 minutes. Then copy the results back here.
    [When you've copy&paste, then Ctrl+c will exit the tail.]

    Example:
    Code:
    Sep  9 15:27:04 0823 kernel: [ 2251.907460] usb 2-8: new full-speed USB device number 5 using ohci-pciSep  9 15:27:04 0823 kernel: [ 2252.123545] usb 2-8: New USB device found, idVendor=0ea0, idProduct=6803
    Sep  9 15:27:04 0823 kernel: [ 2252.123558] usb 2-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Sep  9 15:27:04 0823 kernel: [ 2252.123566] usb 2-8: Product: Solid state disk
    Sep  9 15:27:04 0823 kernel: [ 2252.123571] usb 2-8: Manufacturer: USB
    Sep  9 15:27:04 0823 kernel: [ 2252.123577] usb 2-8: SerialNumber: 22D07D7386D8C6F
    Sep  9 15:27:04 0823 kernel: [ 2252.126677] usb-storage 2-8:1.0: USB Mass Storage device detected
    Sep  9 15:27:04 0823 kernel: [ 2252.126850] scsi8 : usb-storage 2-8:1.0
    Sep  9 15:27:04 0823 mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:02.0/usb2/2-8"
    Sep  9 15:27:04 0823 mtp-probe: bus: 2, device: 5 was not an MTP device
    Sep  9 15:27:05 0823 kernel: [ 2253.133280] scsi 8:0:0:0: Direct-Access     OTi      Flash Disk       1.11 PQ: 0 ANSI: 2
    Sep  9 15:27:05 0823 kernel: [ 2253.133990] sd 8:0:0:0: Attached scsi generic sg3 type 0
    Sep  9 15:27:05 0823 kernel: [ 2253.144227] sd 8:0:0:0: [sdd] 516096 512-byte logical blocks: (264 MB/252 MiB)
    Sep  9 15:27:05 0823 kernel: [ 2253.151242] sd 8:0:0:0: [sdd] Write Protect is off
    Sep  9 15:27:05 0823 kernel: [ 2253.151256] sd 8:0:0:0: [sdd] Mode Sense: 03 00 00 00
    Sep  9 15:27:05 0823 kernel: [ 2253.158248] sd 8:0:0:0: [sdd] No Caching mode page present
    Sep  9 15:27:05 0823 kernel: [ 2253.158263] sd 8:0:0:0: [sdd] Assuming drive cache: write through
    Sep  9 15:27:05 0823 kernel: [ 2253.198298] sd 8:0:0:0: [sdd] No Caching mode page present
    Sep  9 15:27:05 0823 kernel: [ 2253.198316] sd 8:0:0:0: [sdd] Assuming drive cache: write through
    Sep  9 15:27:06 0823 kernel: [ 2253.208348]  sdd: sdd1
    Sep  9 15:27:06 0823 kernel: [ 2253.246291] sd 8:0:0:0: [sdd] No Caching mode page present
    Sep  9 15:27:06 0823 kernel: [ 2253.246301] sd 8:0:0:0: [sdd] Assuming drive cache: write through
    Sep  9 15:27:06 0823 kernel: [ 2253.246308] sd 8:0:0:0: [sdd] Attached SCSI removable disk
    Sep  9 15:27:08 0823 kernel: [ 2255.207708] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null)
    boot_info_script | AMD64 Athlon X2 Dual-Core - nVidia Geforce 6150 SE - 4GB DDR3

  6. #36
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,175

    Re: usb flash drive works in 12.04 but not in 13.10

    Please try all these commands (in 13.10) in a row and note carefully what happens after each step, just to check if you can mount the pendrive manually and after that actually read and write file to and from it. After rebooting

    Plug in the pendrive and wait for 10 seconds.

    1. Try to mount the pendrive

    Code:
    sudo mount /dev/sdb1 /mnt
    2. Check if mounted and how it is mounted. The pendrive should be mounted now.

    Code:
    df
    Code:
    cat /etc/mtab
    3. If the pendrive is not mounted (not found by df), please wait for 5 minutes and try again

    (go back to item 1. a couple of times before giving up.)

    4. Try to list files and watch the permissions

    Code:
    sudo ls -l /
    sudo ls -l /mnt
    5. Try to create an empty file in the pendrive and check that it is there

    Code:
    sudo touch /mnt/empty
    sudo ls -l /mnt/empty
    6. Try to create a file and write contents to it, check that it is there, and that it's content can be read

    Code:
    sudo -s  # enter a superuser shell
    echo "hello world" > /mnt/hello.txt
    ls -l /mnt
    cat /mnt/hello.txt
    exit   # exit from the superuser shell (important to remember this command)
    7. Check that the pendrive is mounted (after the writing tests)

    Code:
    df
    8. Try to unmount the pendrive

    Code:
    sudo umount /mnt
    9. Check if the pendrive is mounted (after trying to unmount the pendrive). It should not be mounted now.

    Code:
    df
    10. Check again if the files are there (at /mnt)

    Code:
    sudo ls -l /mnt
    If the pendrive was mounted there, when you wrote to /mnt, the files should be in the pendrive, and should not be seen at /mnt after unmounting. But they should be seen again after mounting the pendrive (in 12.04 or 13.10 or another computer).

  7. #37
    Join Date
    May 2009
    Location
    London
    Beans
    118
    Distro
    Ubuntu

    Re: usb flash drive works in 12.04 but not in 13.10

    there you go man
    ortermagic@ortermagic-Centurion-CPD-1303:~$ tail -f /var/log/syslog
    Sep 10 00:29:24 ortermagic-Centurion-CPD-1303 dbus[634]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
    Sep 10 00:29:24 ortermagic-Centurion-CPD-1303 dbus[634]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
    Sep 10 00:29:28 ortermagic-Centurion-CPD-1303 dbus[634]: [system] Activating service name='org.freedesktop.UDisks2' (using servicehelper)
    Sep 10 00:29:28 ortermagic-Centurion-CPD-1303 udisksd[2144]: udisks daemon version 2.1.0 starting
    Sep 10 00:29:28 ortermagic-Centurion-CPD-1303 dbus[634]: [system] Successfully activated service 'org.freedesktop.UDisks2'
    Sep 10 00:29:28 ortermagic-Centurion-CPD-1303 udisksd[2144]: Acquired the name org.freedesktop.UDisks2 on the system message bus
    Sep 10 00:31:00 ortermagic-Centurion-CPD-1303 whoopsie[1053]: online
    Sep 10 00:31:52 whoopsie[1053]: last message repeated 3 times
    Sep 10 00:32:48 whoopsie[1053]: last message repeated 2 times
    Sep 10 00:32:48 ortermagic-Centurion-CPD-1303 kernel: [ 648.690889] usb 1-5: USB disconnect, device number 3
    Sep 10 00:33:27 ortermagic-Centurion-CPD-1303 kernel: [ 688.096043] usb 1-5: new high-speed USB device number 4 using ehci-pci
    Sep 10 00:33:27 ortermagic-Centurion-CPD-1303 kernel: [ 688.230623] usb 1-5: New USB device found, idVendor=0951, idProduct=1643
    Sep 10 00:33:27 ortermagic-Centurion-CPD-1303 kernel: [ 688.230636] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    Sep 10 00:33:27 ortermagic-Centurion-CPD-1303 kernel: [ 688.230643] usb 1-5: Product: DataTraveler G3
    Sep 10 00:33:27 ortermagic-Centurion-CPD-1303 kernel: [ 688.230648] usb 1-5: Manufacturer: Kingston
    Sep 10 00:33:27 ortermagic-Centurion-CPD-1303 kernel: [ 688.230653] usb 1-5: SerialNumber: 001CC0EC3466AC20D71E4B9C
    Sep 10 00:33:27 ortermagic-Centurion-CPD-1303 kernel: [ 688.231685] usb-storage 1-5:1.0: USB Mass Storage device detected
    Sep 10 00:33:27 ortermagic-Centurion-CPD-1303 kernel: [ 688.231790] scsi10 : usb-storage 1-5:1.0
    Sep 10 00:33:27 ortermagic-Centurion-CPD-1303 mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5"
    Sep 10 00:33:27 ortermagic-Centurion-CPD-1303 mtp-probe: bus: 1, device: 4 was not an MTP device
    Sep 10 00:33:29 ortermagic-Centurion-CPD-1303 kernel: [ 690.067157] scsi 10:0:0:0: Direct-Access Kingston DataTraveler G3 1.00 PQ: 0 ANSI: 4
    Sep 10 00:33:29 ortermagic-Centurion-CPD-1303 kernel: [ 690.067785] sd 10:0:0:0: Attached scsi generic sg2 type 0
    Sep 10 00:33:29 ortermagic-Centurion-CPD-1303 kernel: [ 690.070345] sd 10:0:0:0: [sdb] 31195136 512-byte logical blocks: (15.9 GB/14.8 GiB)
    Sep 10 00:33:29 ortermagic-Centurion-CPD-1303 kernel: [ 690.072599] sd 10:0:0:0: [sdb] Write Protect is off
    Sep 10 00:33:29 ortermagic-Centurion-CPD-1303 kernel: [ 690.072612] sd 10:0:0:0: [sdb] Mode Sense: 2f 00 00 00
    Sep 10 00:33:29 ortermagic-Centurion-CPD-1303 kernel: [ 690.075799] sd 10:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA

  8. #38
    Join Date
    May 2009
    Location
    London
    Beans
    118
    Distro
    Ubuntu

    Re: usb flash drive works in 12.04 but not in 13.10

    thats a reply to VLC I will now run sudodu's precription,
    hang on!

  9. #39
    Join Date
    May 2009
    Location
    London
    Beans
    118
    Distro
    Ubuntu

    Re: usb flash drive works in 12.04 but not in 13.10

    sudodus I have followed your prescription as follows..

    Code:
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo mount /dev/sdb1 /mnt
    [sudo] password for ortermagic: 
    ortermagic@ortermagic-Centurion-CPD-1303:~$ df
    Filesystem     1K-blocks    Used Available Use% Mounted on
    /dev/sda6      243191836 8928344 221910076   4% /
    none                   4       0         4   0% /sys/fs/cgroup
    udev             1981288       4   1981284   1% /dev
    tmpfs             404856    1160    403696   1% /run
    none                5120       0      5120   0% /run/lock
    none             2024264     152   2024112   1% /run/shm
    none              102400      36    102364   1% /run/user
    /dev/sdb1       15581128 7563736   8017392  49% /mnt
    ortermagic@ortermagic-Centurion-CPD-1303:~$ cat /etc/mtab
    /dev/sda6 / ext2 rw,errors=remount-ro 0 0
    proc /proc proc rw,noexec,nosuid,nodev 0 0
    sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
    none /sys/fs/cgroup tmpfs rw 0 0
    none /sys/fs/fuse/connections fusectl rw 0 0
    none /sys/kernel/debug debugfs rw 0 0
    none /sys/kernel/security securityfs rw 0 0
    udev /dev devtmpfs rw,mode=0755 0 0
    devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
    tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
    none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
    none /run/shm tmpfs rw,nosuid,nodev 0 0
    none /run/user tmpfs rw,noexec,nosuid,nodev,size=104857600,mode=0755 0 0
    systemd /sys/fs/cgroup/systemd cgroup rw,noexec,nosuid,nodev,none,name=systemd 0 0
    gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,user=ortermagic 0 0
    /dev/sdb1 /mnt vfat rw 0 0
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo ls -l /
    total 136
    drwxr-xr-x   2 root root  4096 Sep  7 10:58 bin
    drwxr-xr-x   3 root root  4096 Sep  7 10:59 boot
    drwxr-xr-x   2 root root  4096 Jul 17 19:13 cdrom
    drwxr-xr-x  17 root root  4460 Sep 10 00:37 dev
    drwxr-xr-x 146 root root  8192 Sep 10 00:43 etc
    drwxr-xr-x   3 root root  4096 Jul 17 19:13 home
    lrwxrwxrwx   1 root root    32 Jul 28 02:52 initrd.img -> boot/initrd.img-3.10.0-6-generic
    lrwxrwxrwx   1 root root    33 Jul 28 02:51 initrd.img.old -> /boot/initrd.img-3.10.0-6-generic
    drwxr-xr-x  26 root root  4096 Sep  8 19:58 lib
    drwxr-xr-x   2 root root  4096 Aug  2 09:05 lib32
    drwxr-xr-x   2 root root  4096 Aug  2 09:05 lib64
    drwxr-xr-x   2 root root 49152 Jul 17 19:10 lost+found
    drwxr-xr-x  11 root root  4096 Sep  8 16:46 media
    drwxr-xr-x  19 root root 16384 Jan  1  1970 mnt
    drwxr-xr-x   2 root root  4096 Jul 17 08:31 opt
    dr-xr-xr-x 206 root root     0 Sep 10 00:21 proc
    drwx------   7 root root  4096 Aug 18 18:36 root
    drwxr-xr-x  24 root root   760 Sep 10 00:29 run
    drwxr-xr-x   2 root root  8192 Sep  7 10:57 sbin
    drwxr-xr-x   2 root root  4096 Jul 17 08:31 srv
    dr-xr-xr-x  13 root root     0 Sep 10 00:22 sys
    drwxrwxrwt   7 root root  4096 Sep 10 00:44 tmp
    drwxr-xr-x  12 root root  4096 Jul 17 19:30 usr
    drwxr-xr-x  13 root root  4096 Jul 17 08:38 var
    lrwxrwxrwx   1 root root    29 Jul 28 02:52 vmlinuz -> boot/vmlinuz-3.10.0-6-generic
    lrwxrwxrwx   1 root root    29 Jul 28 02:51 vmlinuz.old -> boot/vmlinuz-3.10.0-6-generic
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo ls -l /mnt
    total 1919400
    -rwxr-xr-x  1 root root   3247976 Dec  2  2012 Adam Ant_s, New Single _Cool Zombie_ [Official Preview Trail.mp4
    -rwxr-xr-x  1 root root 106660241 Jul  9  2012 amd-driver-installer-12-6-x86.x86_64.run
    -rwxr-xr-x  1 root root      1050 Oct  6  2012 amd-driver-installer-12-9-x86.x86_64.run
    -rwxr-xr-x  1 root root     87451 Jul 16 18:43 andy-murray-dog-medal.jpg
    -rwxr-xr-x  1 root root    178166 Jul 16 18:38 andy murray.jpg
    -rwxr-xr-x  1 root root     67687 Jul 16 18:54 Andy-Murray.jpg
    -rwxr-xr-x  1 root root    155772 Jul 16 16:31 Andy-Murray-of-Great-Britain-holds-trophy-2038035.jpg
    -rwxr-xr-x  1 root root     21618 Jun 19 19:38 arch.odt
    -rwxr-xr-x  1 root root  50650432 Dec 27  2012 army of two.wav
    -rwxr-xr-x  1 root root  47729248 Dec 27  2012 beneath your beautiful.wav
    -rwxr-xr-x  1 root root    323184 Nov 30  2012 Bike Riding.pptx
    -rwxr-xr-x  1 root root   1368151 Jan 21  2013 bikes.PPTX.odp
    -rwxr-xr-x  1 root root     53777 Jul  4 12:40 bio adam.odt
    -rwxr-xr-x  1 root root  53648743 Oct 18  2012 blender-2.64a-linux-glibc27-x86_64.tar.bz2
    drwxr-xr-x  2 root root      8192 Nov 15  2012 canada pics
    -rwxr-xr-x  1 root root      5579 Nov 29  2012 carl andrej.odt
    -rwxr-xr-x  1 root root     30360 Jun 20 12:29 citylit.odt
    drwxr-xr-x  4 root root      8192 Jul 17  2012 claires
    drwxr-xr-x  2 root root      8192 May 18  2012 claires animation starts
    drwxr-xr-x 14 root root      8192 Sep  8 18:28 claires blender tuts 1
    -rwxr-xr-x  1 root root    563332 Jun 29  2012 claires.zip
    drwxr-xr-x  3 root root      8192 Feb 26  2011 Conky-lua
    -rwxr-xr-x  1 root root  36404368 Dec 27  2012 dear darling.wav
    -rwxr-xr-x  1 root root  39144448 Dec 27  2012 dont wake me up.wav
    -rwxr-xr-x  1 root root    462667 Feb  7  2009 DSC00110.JPG
    -rwxr-xr-x  1 root root    145842 Feb  7  2009 DSC00117.JPG
    -rwxr-xr-x  1 root root    546600 Feb  7  2009 DSC00118.JPG
    -rwxr-xr-x  1 root root    125683 Feb 24  2009 DSC00145.JPG
    -rwxr-xr-x  1 root root     25088 Nov 22  2012 dutch.doc
    drwxr-xr-x  2 root root      8192 Apr  2 13:58 ed sheeran
    -rwxr-xr-x  1 root root  15784567 Sep  3 13:17 Ellie Goulding - Burn - YouTube.mp4
    -rwxr-xr-x  1 root root    122791 Jun  9 16:50 enterprise.odt
    drwxr-xr-x  3 root root     32768 Sep 26  2012 Family Slides
    -rwxr-xr-x  1 root root   5045891 Jun  9 18:41 farthers day gift.odp
    -rwxr-xr-x  1 root root   5045891 Jun  9 18:41 farthers day gift.pptx
    -rwxr-xr-x  1 root root  35524720 Dec 27  2012 hall of fame.wav
    -rwxr-xr-x  1 root root  34741504 Dec 27  2012 hand on heart.wav
    -rwxr-xr-x  1 root root   3586089 Dec 13  2012 heart skips a beat.mpeg
    -rwxr-xr-x  1 root root  32916352 Dec 27  2012 hey your beautiful.wav
    -rwxr-xr-x  1 root root     17652 Jan 17  2013 hmv.odt
    -rwxr-xr-x  1 root root     42118 Feb 28  2013 hooligans.odt
    -rwxr-xr-x  1 root root     17531 Feb 14  2013 horse2 (copy).PPTX.odt
    -rwxr-xr-x  1 root root    142851 Feb 14  2013 horse2.odt
    -rwxr-xr-x  1 root root   1353753 Feb 10  2013 horsemeat2 (copy).PPTX.odp
    -rwxr-xr-x  1 root root   1367509 Feb 10  2013 horsemeat2.odp
    -rwxr-xr-x  1 root root     13793 May 12 11:33 IMG00346-20130511-2252.jpg
    -rwxr-xr-x  1 root root     48654 Jun 14 20:02 IMG00364-20130614-1834.jpg
    -rwxr-xr-x  1 root root   8835565 Jun 14 21:02 international night 2013 jocelin.3GP
    drwxr-xr-x  2 root root      8192 Jul 31 16:00 james blunt
    -rwxr-xr-x  1 root root  17926198 Sep  3 13:21 Lawson - Brokenhearted ft. B.O.B. - YouTube.mp4
    -rwxr-xr-x  1 root root  13514775 Sep  3 13:19 Lawson - Juliet - YouTube.mp4
    -rwxr-xr-x  1 root root  16122967 Sep  3 13:19 Lawson - Learn To Love Again - YouTube.mp4
    -rwxr-xr-x  1 root root  13796004 Sep  3 13:20 Lawson - Standing In The Dark - YouTube.mp4
    -rwxr-xr-x  1 root root  15178789 Sep  3 13:20 Lawson - When She Was Mine - YouTube.mp4
    drwxr-xr-x  2 root root      8192 May 21  2012 LearningUnit01VideoTutorials
    -rwxr-xr-x  1 root root  35103712 Dec 27  2012 live while were young.wav
    drwxr-xr-x  2 root root      8192 Jun 10  2012 more advanced blender videos
    -rwxr-xr-x  1 root root  17917185 Dec 30  2012 Mumford _ Sons - Little Lion Man.mp4
    drwxr-xr-x  3 root root      8192 Dec  5  2012 New folder
    -rwxr-xr-x  1 root root  14298142 Aug 23  2012 Noel Gallagher emotional Where did it all go wrong_ w_ lyric.mp4
    -rwxr-xr-x  1 root root  32810512 Dec 27  2012 one of these days.wav
    -rwxr-xr-x  1 root root    787236 Dec  3  2012 Organic of Life pres.pptx
    drwxr-xr-x  2 root root      8192 Sep  9 15:32 Pendrive
    -rwxr-xr-x  1 root root     18033 Jan 30  2009 Picture(101).jpg
    -rwxr-xr-x  1 root root      9537 Oct  3  2009 Picture(140).jpg
    -rwxr-xr-x  1 root root      8540 Jan 31  2009 Picture(144).jpg
    -rwxr-xr-x  1 root root     12626 Jan 31  2009 Picture(157).jpg
    -rwxr-xr-x  1 root root      8450 Feb  9  2009 Picture(20).jpg
    -rwxr-xr-x  1 root root     10852 Oct  3  2009 Picture(23).jpg
    -rwxr-xr-x  1 root root      7459 Oct  3  2009 Picture(50).jpg
    -rwxr-xr-x  1 root root      6704 Oct  3  2009 Picture(51).jpg
    -rwxr-xr-x  1 root root      9992 Oct  3  2009 Picture(95).jpg
    drwxr-xr-x  2 root root      8192 Nov 28  2012 presentation project 2
    -rwxr-xr-x  1 root root  14338197 Aug  4  2012 Queen - _Don_t Stop Me Now_.mp4
    -rwxr-xr-x  1 root root     14799 Nov 15  2012 radio DJ.odt
    -rwxr-xr-x  1 root root    624379 Dec  4  2012 ride 1.odp
    -rwxr-xr-x  1 root root    623558 Dec  7  2012 ride 1.pptx
    drwxr-xr-x  6 root root      8192 Nov 12  2012 saved website
    -rwxr-xr-x  1 root root  39184432 Dec 27  2012 say nothing.wav
    -rwxr-xr-x  1 root root     34525 Nov 29  2012 shark.odt
    -rwxr-xr-x  1 root root 474409284 Sep  3 13:31 Sonic Adventure 2 Versus _ Episode 1 - YouTube.webm
    -rwxr-xr-x  1 root root 293060242 Sep  3 13:47 Sonic Adventure 2 Versus _ Episode 2 - YouTube.flv
    -rwxr-xr-x  1 root root      6296 Nov 22  2012 target.odt
    -rwxr-xr-x  1 root root     18245 Nov 15  2012 tdj.odt
    -rwxr-xr-x  1 root root  24201866 Sep  3 13:25 Tenacious D - Tribute - YouTube.mp4
    -rwxr-xr-x  1 root root    180457 Feb 11  2013 tesco (copy).PPTX.odt
    -rwxr-xr-x  1 root root    164031 Feb 11  2013 tesco.odt
    -rwxr-xr-x  1 root root   8618793 Aug  9  2012 The party - The Young Ones - BBC comedy.mp4
    -rwxr-xr-x  1 root root     22281 Jan 23  2013 the turtle and the apple.odt
    -rwxr-xr-x  1 root root  18591282 Sep  3 13:22 The Wanted - Walks Like Rihanna - YouTube.mp4
    -rwxr-xr-x  1 root root  40727344 Dec 25  2012 Track 13.wav
    -rwxr-xr-x  1 root root  43589728 Dec 25  2012 Track 19.wav
    -rwxr-xr-x  1 root root  38878672 Dec 25  2012 Track 1.wav
    -rwxr-xr-x  1 root root  37072336 Dec 25  2012 Track 20.wav
    -rwxr-xr-x  1 root root  35195440 Dec 25  2012 Track 2.wav
    -rwxr-xr-x  1 root root  37643872 Dec 25  2012 Track 3.wav
    -rwxr-xr-x  1 root root  32737600 Dec 27  2012 troublemaker ma.wav
    -rwxr-xr-x  1 root root  32937520 Dec 25  2012 try.wav
    -rwxr-xr-x  1 root root  40757920 Dec 27  2012 turn arownd.wav
    -rwxr-xr-x  1 root root     21445 Nov 26  2012 Untitled par.odt
    -rwxr-xr-x  1 root root  43686160 Dec 25  2012 vanity.wav
    -rwxr-xr-x  1 root root   5100363 Sep 12  2012 VID 00054-20120906-2100.3GP
    -rwxr-xr-x  1 root root  38683456 Dec 27  2012 whatchtower.wav
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo touch /mnt/empty
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo ls -l /mnt/empty
    -rwxr-xr-x 1 root root 0 Sep 10 00:45 /mnt/empty
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo -s  # enter a superuser shell
    root@ortermagic-Centurion-CPD-1303:~# echo "hello world" > /mnt/hello.txt
    root@ortermagic-Centurion-CPD-1303:~# ls -l /mnt
    total 1919408
    -rwxr-xr-x  1 root root   3247976 Dec  2  2012 Adam Ant_s, New Single _Cool Zombie_ [Official Preview Trail.mp4
    -rwxr-xr-x  1 root root 106660241 Jul  9  2012 amd-driver-installer-12-6-x86.x86_64.run
    -rwxr-xr-x  1 root root      1050 Oct  6  2012 amd-driver-installer-12-9-x86.x86_64.run
    -rwxr-xr-x  1 root root     87451 Jul 16 18:43 andy-murray-dog-medal.jpg
    -rwxr-xr-x  1 root root    178166 Jul 16 18:38 andy murray.jpg
    -rwxr-xr-x  1 root root     67687 Jul 16 18:54 Andy-Murray.jpg
    -rwxr-xr-x  1 root root    155772 Jul 16 16:31 Andy-Murray-of-Great-Britain-holds-trophy-2038035.jpg
    -rwxr-xr-x  1 root root     21618 Jun 19 19:38 arch.odt
    -rwxr-xr-x  1 root root  50650432 Dec 27  2012 army of two.wav
    -rwxr-xr-x  1 root root  47729248 Dec 27  2012 beneath your beautiful.wav
    -rwxr-xr-x  1 root root    323184 Nov 30  2012 Bike Riding.pptx
    -rwxr-xr-x  1 root root   1368151 Jan 21  2013 bikes.PPTX.odp
    -rwxr-xr-x  1 root root     53777 Jul  4 12:40 bio adam.odt
    -rwxr-xr-x  1 root root  53648743 Oct 18  2012 blender-2.64a-linux-glibc27-x86_64.tar.bz2
    drwxr-xr-x  2 root root      8192 Nov 15  2012 canada pics
    -rwxr-xr-x  1 root root      5579 Nov 29  2012 carl andrej.odt
    -rwxr-xr-x  1 root root     30360 Jun 20 12:29 citylit.odt
    drwxr-xr-x  4 root root      8192 Jul 17  2012 claires
    drwxr-xr-x  2 root root      8192 May 18  2012 claires animation starts
    drwxr-xr-x 14 root root      8192 Sep  8 18:28 claires blender tuts 1
    -rwxr-xr-x  1 root root    563332 Jun 29  2012 claires.zip
    drwxr-xr-x  3 root root      8192 Feb 26  2011 Conky-lua
    -rwxr-xr-x  1 root root  36404368 Dec 27  2012 dear darling.wav
    -rwxr-xr-x  1 root root  39144448 Dec 27  2012 dont wake me up.wav
    -rwxr-xr-x  1 root root    462667 Feb  7  2009 DSC00110.JPG
    -rwxr-xr-x  1 root root    145842 Feb  7  2009 DSC00117.JPG
    -rwxr-xr-x  1 root root    546600 Feb  7  2009 DSC00118.JPG
    -rwxr-xr-x  1 root root    125683 Feb 24  2009 DSC00145.JPG
    -rwxr-xr-x  1 root root     25088 Nov 22  2012 dutch.doc
    drwxr-xr-x  2 root root      8192 Apr  2 13:58 ed sheeran
    -rwxr-xr-x  1 root root  15784567 Sep  3 13:17 Ellie Goulding - Burn - YouTube.mp4
    -rwxr-xr-x  1 root root         0 Sep 10 00:45 empty
    -rwxr-xr-x  1 root root    122791 Jun  9 16:50 enterprise.odt
    drwxr-xr-x  3 root root     32768 Sep 26  2012 Family Slides
    -rwxr-xr-x  1 root root   5045891 Jun  9 18:41 farthers day gift.odp
    -rwxr-xr-x  1 root root   5045891 Jun  9 18:41 farthers day gift.pptx
    -rwxr-xr-x  1 root root  35524720 Dec 27  2012 hall of fame.wav
    -rwxr-xr-x  1 root root  34741504 Dec 27  2012 hand on heart.wav
    -rwxr-xr-x  1 root root   3586089 Dec 13  2012 heart skips a beat.mpeg
    -rwxr-xr-x  1 root root        12 Sep 10 00:46 hello.txt
    -rwxr-xr-x  1 root root  32916352 Dec 27  2012 hey your beautiful.wav
    -rwxr-xr-x  1 root root     17652 Jan 17  2013 hmv.odt
    -rwxr-xr-x  1 root root     42118 Feb 28  2013 hooligans.odt
    -rwxr-xr-x  1 root root     17531 Feb 14  2013 horse2 (copy).PPTX.odt
    -rwxr-xr-x  1 root root    142851 Feb 14  2013 horse2.odt
    -rwxr-xr-x  1 root root   1353753 Feb 10  2013 horsemeat2 (copy).PPTX.odp
    -rwxr-xr-x  1 root root   1367509 Feb 10  2013 horsemeat2.odp
    -rwxr-xr-x  1 root root     13793 May 12 11:33 IMG00346-20130511-2252.jpg
    -rwxr-xr-x  1 root root     48654 Jun 14 20:02 IMG00364-20130614-1834.jpg
    -rwxr-xr-x  1 root root   8835565 Jun 14 21:02 international night 2013 jocelin.3GP
    drwxr-xr-x  2 root root      8192 Jul 31 16:00 james blunt
    -rwxr-xr-x  1 root root  17926198 Sep  3 13:21 Lawson - Brokenhearted ft. B.O.B. - YouTube.mp4
    -rwxr-xr-x  1 root root  13514775 Sep  3 13:19 Lawson - Juliet - YouTube.mp4
    -rwxr-xr-x  1 root root  16122967 Sep  3 13:19 Lawson - Learn To Love Again - YouTube.mp4
    -rwxr-xr-x  1 root root  13796004 Sep  3 13:20 Lawson - Standing In The Dark - YouTube.mp4
    -rwxr-xr-x  1 root root  15178789 Sep  3 13:20 Lawson - When She Was Mine - YouTube.mp4
    drwxr-xr-x  2 root root      8192 May 21  2012 LearningUnit01VideoTutorials
    -rwxr-xr-x  1 root root  35103712 Dec 27  2012 live while were young.wav
    drwxr-xr-x  2 root root      8192 Jun 10  2012 more advanced blender videos
    -rwxr-xr-x  1 root root  17917185 Dec 30  2012 Mumford _ Sons - Little Lion Man.mp4
    drwxr-xr-x  3 root root      8192 Dec  5  2012 New folder
    -rwxr-xr-x  1 root root  14298142 Aug 23  2012 Noel Gallagher emotional Where did it all go wrong_ w_ lyric.mp4
    -rwxr-xr-x  1 root root  32810512 Dec 27  2012 one of these days.wav
    -rwxr-xr-x  1 root root    787236 Dec  3  2012 Organic of Life pres.pptx
    drwxr-xr-x  2 root root      8192 Sep  9 15:32 Pendrive
    -rwxr-xr-x  1 root root     18033 Jan 30  2009 Picture(101).jpg
    -rwxr-xr-x  1 root root      9537 Oct  3  2009 Picture(140).jpg
    -rwxr-xr-x  1 root root      8540 Jan 31  2009 Picture(144).jpg
    -rwxr-xr-x  1 root root     12626 Jan 31  2009 Picture(157).jpg
    -rwxr-xr-x  1 root root      8450 Feb  9  2009 Picture(20).jpg
    -rwxr-xr-x  1 root root     10852 Oct  3  2009 Picture(23).jpg
    -rwxr-xr-x  1 root root      7459 Oct  3  2009 Picture(50).jpg
    -rwxr-xr-x  1 root root      6704 Oct  3  2009 Picture(51).jpg
    -rwxr-xr-x  1 root root      9992 Oct  3  2009 Picture(95).jpg
    drwxr-xr-x  2 root root      8192 Nov 28  2012 presentation project 2
    -rwxr-xr-x  1 root root  14338197 Aug  4  2012 Queen - _Don_t Stop Me Now_.mp4
    -rwxr-xr-x  1 root root     14799 Nov 15  2012 radio DJ.odt
    -rwxr-xr-x  1 root root    624379 Dec  4  2012 ride 1.odp
    -rwxr-xr-x  1 root root    623558 Dec  7  2012 ride 1.pptx
    drwxr-xr-x  6 root root      8192 Nov 12  2012 saved website
    -rwxr-xr-x  1 root root  39184432 Dec 27  2012 say nothing.wav
    -rwxr-xr-x  1 root root     34525 Nov 29  2012 shark.odt
    -rwxr-xr-x  1 root root 474409284 Sep  3 13:31 Sonic Adventure 2 Versus _ Episode 1 - YouTube.webm
    -rwxr-xr-x  1 root root 293060242 Sep  3 13:47 Sonic Adventure 2 Versus _ Episode 2 - YouTube.flv
    -rwxr-xr-x  1 root root      6296 Nov 22  2012 target.odt
    -rwxr-xr-x  1 root root     18245 Nov 15  2012 tdj.odt
    -rwxr-xr-x  1 root root  24201866 Sep  3 13:25 Tenacious D - Tribute - YouTube.mp4
    -rwxr-xr-x  1 root root    180457 Feb 11  2013 tesco (copy).PPTX.odt
    -rwxr-xr-x  1 root root    164031 Feb 11  2013 tesco.odt
    -rwxr-xr-x  1 root root   8618793 Aug  9  2012 The party - The Young Ones - BBC comedy.mp4
    -rwxr-xr-x  1 root root     22281 Jan 23  2013 the turtle and the apple.odt
    -rwxr-xr-x  1 root root  18591282 Sep  3 13:22 The Wanted - Walks Like Rihanna - YouTube.mp4
    -rwxr-xr-x  1 root root  40727344 Dec 25  2012 Track 13.wav
    -rwxr-xr-x  1 root root  43589728 Dec 25  2012 Track 19.wav
    -rwxr-xr-x  1 root root  38878672 Dec 25  2012 Track 1.wav
    -rwxr-xr-x  1 root root  37072336 Dec 25  2012 Track 20.wav
    -rwxr-xr-x  1 root root  35195440 Dec 25  2012 Track 2.wav
    -rwxr-xr-x  1 root root  37643872 Dec 25  2012 Track 3.wav
    -rwxr-xr-x  1 root root  32737600 Dec 27  2012 troublemaker ma.wav
    -rwxr-xr-x  1 root root  32937520 Dec 25  2012 try.wav
    -rwxr-xr-x  1 root root  40757920 Dec 27  2012 turn arownd.wav
    -rwxr-xr-x  1 root root     21445 Nov 26  2012 Untitled par.odt
    -rwxr-xr-x  1 root root  43686160 Dec 25  2012 vanity.wav
    -rwxr-xr-x  1 root root   5100363 Sep 12  2012 VID 00054-20120906-2100.3GP
    -rwxr-xr-x  1 root root  38683456 Dec 27  2012 whatchtower.wav
    root@ortermagic-Centurion-CPD-1303:~# cat /mnt/hello.txt
    hello world
    root@ortermagic-Centurion-CPD-1303:~# exit   # exit from the superuser shell (important to remember this command)df
    exit
    ortermagic@ortermagic-Centurion-CPD-1303:~$ df
    Filesystem     1K-blocks    Used Available Use% Mounted on
    /dev/sda6      243191836 8928196 221910224   4% /
    none                   4       0         4   0% /sys/fs/cgroup
    udev             1981288       4   1981284   1% /dev
    tmpfs             404856    1152    403704   1% /run
    none                5120       0      5120   0% /run/lock
    none             2024264     152   2024112   1% /run/shm
    none              102400      32    102368   1% /run/user
    /dev/sdb1       15581128 7563744   8017384  49% /mnt
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo umount /mnt
    ortermagic@ortermagic-Centurion-CPD-1303:~$ df
    Filesystem     1K-blocks    Used Available Use% Mounted on
    /dev/sda6      243191836 8928224 221910196   4% /
    none                   4       0         4   0% /sys/fs/cgroup
    udev             1981288       4   1981284   1% /dev
    tmpfs             404856    1152    403704   1% /run
    none                5120       0      5120   0% /run/lock
    none             2024264     152   2024112   1% /run/shm
    none              102400      32    102368   1% /run/user
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo ls -l /mnt
    total 0
    ortermagic@ortermagic-Centurion-CPD-1303:~$
    I'm not sure what it all means, I will get back to it tomorrow thanks.
    Last edited by cariboo907; September 10th, 2013 at 02:11 AM. Reason: changed code for quote tags

  10. #40
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,175

    Re: usb flash drive works in 12.04 but not in 13.10

    Quote Originally Posted by ortermagic View Post
    sudodus I have followed your prescription as follows..



    I'm not sure what it all means, I will get back to it tomorrow thanks.
    Please use code tags instead of quote tags (mark the text and click the # icon above this editing window instead)

    Code:
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo mount /dev/sdb1 /mnt
    [sudo] password for ortermagic: 
    ortermagic@ortermagic-Centurion-CPD-1303:~$ df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda6 243191836 8928344 221910076 4% /
    none 4 0 4 0% /sys/fs/cgroup
    udev 1981288 4 1981284 1% /dev
    tmpfs 404856 1160 403696 1% /run
    none 5120 0 5120 0% /run/lock
    none 2024264 152 2024112 1% /run/shm
    none 102400 36 102364 1% /run/user
    /dev/sdb1 15581128 7563736 8017392 49% /mnt                  # the pendrive is mounted :-)
    ortermagic@ortermagic-Centurion-CPD-1303:~$ cat /etc/mtab
    /dev/sda6 / ext2 rw,errors=remount-ro 0 0
    proc /proc proc rw,noexec,nosuid,nodev 0 0
    sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
    none /sys/fs/cgroup tmpfs rw 0 0
    none /sys/fs/fuse/connections fusectl rw 0 0
    none /sys/kernel/debug debugfs rw 0 0
    none /sys/kernel/security securityfs rw 0 0
    udev /dev devtmpfs rw,mode=0755 0 0
    devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
    tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
    none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
    none /run/shm tmpfs rw,nosuid,nodev 0 0
    none /run/user tmpfs rw,noexec,nosuid,nodev,size=104857600,mode=0755 0 0
    systemd /sys/fs/cgroup/systemd cgroup rw,noexec,nosuid,nodev,none,name=systemd 0 0
    gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,user=ortermagic 0 0
    /dev/sdb1 /mnt vfat rw 0 0                                             # confirmed, the pendrive is mounted and it has a fat file system with read and write permissions
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo ls -l /
    total 136
    drwxr-xr-x 2 root root 4096 Sep 7 10:58 bin
    drwxr-xr-x 3 root root 4096 Sep 7 10:59 boot
    drwxr-xr-x 2 root root 4096 Jul 17 19:13 cdrom
    drwxr-xr-x 17 root root 4460 Sep 10 00:37 dev
    drwxr-xr-x 146 root root 8192 Sep 10 00:43 etc
    drwxr-xr-x 3 root root 4096 Jul 17 19:13 home
    lrwxrwxrwx 1 root root 32 Jul 28 02:52 initrd.img -> boot/initrd.img-3.10.0-6-generic
    lrwxrwxrwx 1 root root 33 Jul 28 02:51 initrd.img.old -> /boot/initrd.img-3.10.0-6-generic
    drwxr-xr-x 26 root root 4096 Sep 8 19:58 lib
    drwxr-xr-x 2 root root 4096 Aug 2 09:05 lib32
    drwxr-xr-x 2 root root 4096 Aug 2 09:05 lib64
    drwxr-xr-x 2 root root 49152 Jul 17 19:10 lost+found
    drwxr-xr-x 11 root root 4096 Sep 8 16:46 media
    drwxr-xr-x 19 root root 16384 Jan 1 1970 mnt                 # checking the permissions of /mnt
    drwxr-xr-x 2 root root 4096 Jul 17 08:31 opt
    dr-xr-xr-x 206 root root 0 Sep 10 00:21 proc
    drwx------ 7 root root 4096 Aug 18 18:36 root
    drwxr-xr-x 24 root root 760 Sep 10 00:29 run
    drwxr-xr-x 2 root root 8192 Sep 7 10:57 sbin
    drwxr-xr-x 2 root root 4096 Jul 17 08:31 srv
    dr-xr-xr-x 13 root root 0 Sep 10 00:22 sys
    drwxrwxrwt 7 root root 4096 Sep 10 00:44 tmp
    drwxr-xr-x 12 root root 4096 Jul 17 19:30 usr
    drwxr-xr-x 13 root root 4096 Jul 17 08:38 var
    lrwxrwxrwx 1 root root 29 Jul 28 02:52 vmlinuz -> boot/vmlinuz-3.10.0-6-generic
    lrwxrwxrwx 1 root root 29 Jul 28 02:51 vmlinuz.old -> boot/vmlinuz-3.10.0-6-generic
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo ls -l /mnt
    total 1919400                   # here we go, there are a lot of files, that you can read in the pendrive
    -rwxr-xr-x 1 root root 3247976 Dec 2 2012 Adam Ant_s, New Single _Cool Zombie_ [Official Preview Trail.mp4
    -rwxr-xr-x 1 root root 106660241 Jul 9 2012 amd-driver-installer-12-6-x86.x86_64.run
    -rwxr-xr-x 1 root root 1050 Oct 6 2012 amd-driver-installer-12-9-x86.x86_64.run
    -rwxr-xr-x 1 root root 87451 Jul 16 18:43 andy-murray-dog-medal.jpg
    -rwxr-xr-x 1 root root 178166 Jul 16 18:38 andy murray.jpg
    -rwxr-xr-x 1 root root 67687 Jul 16 18:54 Andy-Murray.jpg
    -rwxr-xr-x 1 root root 155772 Jul 16 16:31 Andy-Murray-of-Great-Britain-holds-trophy-2038035.jpg
    -rwxr-xr-x 1 root root 21618 Jun 19 19:38 arch.odt
    -rwxr-xr-x 1 root root 50650432 Dec 27 2012 army of two.wav
    -rwxr-xr-x 1 root root 47729248 Dec 27 2012 beneath your beautiful.wav
    -rwxr-xr-x 1 root root 323184 Nov 30 2012 Bike Riding.pptx
    -rwxr-xr-x 1 root root 1368151 Jan 21 2013 bikes.PPTX.odp
    -rwxr-xr-x 1 root root 53777 Jul 4 12:40 bio adam.odt
    -rwxr-xr-x 1 root root 53648743 Oct 18 2012 blender-2.64a-linux-glibc27-x86_64.tar.bz2
    drwxr-xr-x 2 root root 8192 Nov 15 2012 canada pics
    -rwxr-xr-x 1 root root 5579 Nov 29 2012 carl andrej.odt
    -rwxr-xr-x 1 root root 30360 Jun 20 12:29 citylit.odt
    drwxr-xr-x 4 root root 8192 Jul 17 2012 claires
    drwxr-xr-x 2 root root 8192 May 18 2012 claires animation starts
    drwxr-xr-x 14 root root 8192 Sep 8 18:28 claires blender tuts 1
    -rwxr-xr-x 1 root root 563332 Jun 29 2012 claires.zip
    drwxr-xr-x 3 root root 8192 Feb 26 2011 Conky-lua
    -rwxr-xr-x 1 root root 36404368 Dec 27 2012 dear darling.wav
    -rwxr-xr-x 1 root root 39144448 Dec 27 2012 dont wake me up.wav
    -rwxr-xr-x 1 root root 462667 Feb 7 2009 DSC00110.JPG
    -rwxr-xr-x 1 root root 145842 Feb 7 2009 DSC00117.JPG
    -rwxr-xr-x 1 root root 546600 Feb 7 2009 DSC00118.JPG
    -rwxr-xr-x 1 root root 125683 Feb 24 2009 DSC00145.JPG
    -rwxr-xr-x 1 root root 25088 Nov 22 2012 dutch.doc
    drwxr-xr-x 2 root root 8192 Apr 2 13:58 ed sheeran
    -rwxr-xr-x 1 root root 15784567 Sep 3 13:17 Ellie Goulding - Burn - YouTube.mp4
    -rwxr-xr-x 1 root root 122791 Jun 9 16:50 enterprise.odt
    drwxr-xr-x 3 root root 32768 Sep 26 2012 Family Slides
    -rwxr-xr-x 1 root root 5045891 Jun 9 18:41 farthers day gift.odp
    -rwxr-xr-x 1 root root 5045891 Jun 9 18:41 farthers day gift.pptx
    -rwxr-xr-x 1 root root 35524720 Dec 27 2012 hall of fame.wav
    -rwxr-xr-x 1 root root 34741504 Dec 27 2012 hand on heart.wav
    -rwxr-xr-x 1 root root 3586089 Dec 13 2012 heart skips a beat.mpeg
    -rwxr-xr-x 1 root root 32916352 Dec 27 2012 hey your beautiful.wav
    -rwxr-xr-x 1 root root 17652 Jan 17 2013 hmv.odt
    -rwxr-xr-x 1 root root 42118 Feb 28 2013 hooligans.odt
    -rwxr-xr-x 1 root root 17531 Feb 14 2013 horse2 (copy).PPTX.odt
    -rwxr-xr-x 1 root root 142851 Feb 14 2013 horse2.odt
    -rwxr-xr-x 1 root root 1353753 Feb 10 2013 horsemeat2 (copy).PPTX.odp
    -rwxr-xr-x 1 root root 1367509 Feb 10 2013 horsemeat2.odp
    -rwxr-xr-x 1 root root 13793 May 12 11:33 IMG00346-20130511-2252.jpg
    -rwxr-xr-x 1 root root 48654 Jun 14 20:02 IMG00364-20130614-1834.jpg
    -rwxr-xr-x 1 root root 8835565 Jun 14 21:02 international night 2013 jocelin.3GP
    drwxr-xr-x 2 root root 8192 Jul 31 16:00 james blunt
    -rwxr-xr-x 1 root root 17926198 Sep 3 13:21 Lawson - Brokenhearted ft. B.O.B. - YouTube.mp4
    -rwxr-xr-x 1 root root 13514775 Sep 3 13:19 Lawson - Juliet - YouTube.mp4
    -rwxr-xr-x 1 root root 16122967 Sep 3 13:19 Lawson - Learn To Love Again - YouTube.mp4
    -rwxr-xr-x 1 root root 13796004 Sep 3 13:20 Lawson - Standing In The Dark - YouTube.mp4
    -rwxr-xr-x 1 root root 15178789 Sep 3 13:20 Lawson - When She Was Mine - YouTube.mp4
    drwxr-xr-x 2 root root 8192 May 21 2012 LearningUnit01VideoTutorials
    -rwxr-xr-x 1 root root 35103712 Dec 27 2012 live while were young.wav
    drwxr-xr-x 2 root root 8192 Jun 10 2012 more advanced blender videos
    -rwxr-xr-x 1 root root 17917185 Dec 30 2012 Mumford _ Sons - Little Lion Man.mp4
    drwxr-xr-x 3 root root 8192 Dec 5 2012 New folder
    -rwxr-xr-x 1 root root 14298142 Aug 23 2012 Noel Gallagher emotional Where did it all go wrong_ w_ lyric.mp4
    -rwxr-xr-x 1 root root 32810512 Dec 27 2012 one of these days.wav
    -rwxr-xr-x 1 root root 787236 Dec 3 2012 Organic of Life pres.pptx
    drwxr-xr-x 2 root root 8192 Sep 9 15:32 Pendrive
    -rwxr-xr-x 1 root root 18033 Jan 30 2009 Picture(101).jpg
    -rwxr-xr-x 1 root root 9537 Oct 3 2009 Picture(140).jpg
    -rwxr-xr-x 1 root root 8540 Jan 31 2009 Picture(144).jpg
    -rwxr-xr-x 1 root root 12626 Jan 31 2009 Picture(157).jpg
    -rwxr-xr-x 1 root root 8450 Feb 9 2009 Picture(20).jpg
    -rwxr-xr-x 1 root root 10852 Oct 3 2009 Picture(23).jpg
    -rwxr-xr-x 1 root root 7459 Oct 3 2009 Picture(50).jpg
    -rwxr-xr-x 1 root root 6704 Oct 3 2009 Picture(51).jpg
    -rwxr-xr-x 1 root root 9992 Oct 3 2009 Picture(95).jpg
    drwxr-xr-x 2 root root 8192 Nov 28 2012 presentation project 2
    -rwxr-xr-x 1 root root 14338197 Aug 4 2012 Queen - _Don_t Stop Me Now_.mp4
    -rwxr-xr-x 1 root root 14799 Nov 15 2012 radio DJ.odt
    -rwxr-xr-x 1 root root 624379 Dec 4 2012 ride 1.odp
    -rwxr-xr-x 1 root root 623558 Dec 7 2012 ride 1.pptx
    drwxr-xr-x 6 root root 8192 Nov 12 2012 saved website
    -rwxr-xr-x 1 root root 39184432 Dec 27 2012 say nothing.wav
    -rwxr-xr-x 1 root root 34525 Nov 29 2012 shark.odt
    -rwxr-xr-x 1 root root 474409284 Sep 3 13:31 Sonic Adventure 2 Versus _ Episode 1 - YouTube.webm
    -rwxr-xr-x 1 root root 293060242 Sep 3 13:47 Sonic Adventure 2 Versus _ Episode 2 - YouTube.flv
    -rwxr-xr-x 1 root root 6296 Nov 22 2012 target.odt
    -rwxr-xr-x 1 root root 18245 Nov 15 2012 tdj.odt
    -rwxr-xr-x 1 root root 24201866 Sep 3 13:25 Tenacious D - Tribute - YouTube.mp4
    -rwxr-xr-x 1 root root 180457 Feb 11 2013 tesco (copy).PPTX.odt
    -rwxr-xr-x 1 root root 164031 Feb 11 2013 tesco.odt
    -rwxr-xr-x 1 root root 8618793 Aug 9 2012 The party - The Young Ones - BBC comedy.mp4
    -rwxr-xr-x 1 root root 22281 Jan 23 2013 the turtle and the apple.odt
    -rwxr-xr-x 1 root root 18591282 Sep 3 13:22 The Wanted - Walks Like Rihanna - YouTube.mp4
    -rwxr-xr-x 1 root root 40727344 Dec 25 2012 Track 13.wav
    -rwxr-xr-x 1 root root 43589728 Dec 25 2012 Track 19.wav
    -rwxr-xr-x 1 root root 38878672 Dec 25 2012 Track 1.wav
    -rwxr-xr-x 1 root root 37072336 Dec 25 2012 Track 20.wav
    -rwxr-xr-x 1 root root 35195440 Dec 25 2012 Track 2.wav
    -rwxr-xr-x 1 root root 37643872 Dec 25 2012 Track 3.wav
    -rwxr-xr-x 1 root root 32737600 Dec 27 2012 troublemaker ma.wav
    -rwxr-xr-x 1 root root 32937520 Dec 25 2012 try.wav
    -rwxr-xr-x 1 root root 40757920 Dec 27 2012 turn arownd.wav
    -rwxr-xr-x 1 root root 21445 Nov 26 2012 Untitled par.odt
    -rwxr-xr-x 1 root root 43686160 Dec 25 2012 vanity.wav
    -rwxr-xr-x 1 root root 5100363 Sep 12 2012 VID 00054-20120906-2100.3GP
    -rwxr-xr-x 1 root root 38683456 Dec 27 2012 whatchtower.wav
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo touch /mnt/empty
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo ls -l /mnt/empty
    -rwxr-xr-x 1 root root 0 Sep 10 00:45 /mnt/empty                                      # yes, it is there :-)
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo -s # enter a superuser shell
    root@ortermagic-Centurion-CPD-1303:~# echo "hello world" > /mnt/hello.txt
    root@ortermagic-Centurion-CPD-1303:~# ls -l /mnt
    total 1919408
    -rwxr-xr-x 1 root root 3247976 Dec 2 2012 Adam Ant_s, New Single _Cool Zombie_ [Official Preview Trail.mp4
    -rwxr-xr-x 1 root root 106660241 Jul 9 2012 amd-driver-installer-12-6-x86.x86_64.run
    -rwxr-xr-x 1 root root 1050 Oct 6 2012 amd-driver-installer-12-9-x86.x86_64.run
    -rwxr-xr-x 1 root root 87451 Jul 16 18:43 andy-murray-dog-medal.jpg
    -rwxr-xr-x 1 root root 178166 Jul 16 18:38 andy murray.jpg
    -rwxr-xr-x 1 root root 67687 Jul 16 18:54 Andy-Murray.jpg
    -rwxr-xr-x 1 root root 155772 Jul 16 16:31 Andy-Murray-of-Great-Britain-holds-trophy-2038035.jpg
    -rwxr-xr-x 1 root root 21618 Jun 19 19:38 arch.odt
    -rwxr-xr-x 1 root root 50650432 Dec 27 2012 army of two.wav
    -rwxr-xr-x 1 root root 47729248 Dec 27 2012 beneath your beautiful.wav
    -rwxr-xr-x 1 root root 323184 Nov 30 2012 Bike Riding.pptx
    -rwxr-xr-x 1 root root 1368151 Jan 21 2013 bikes.PPTX.odp
    -rwxr-xr-x 1 root root 53777 Jul 4 12:40 bio adam.odt
    -rwxr-xr-x 1 root root 53648743 Oct 18 2012 blender-2.64a-linux-glibc27-x86_64.tar.bz2
    drwxr-xr-x 2 root root 8192 Nov 15 2012 canada pics
    -rwxr-xr-x 1 root root 5579 Nov 29 2012 carl andrej.odt
    -rwxr-xr-x 1 root root 30360 Jun 20 12:29 citylit.odt
    drwxr-xr-x 4 root root 8192 Jul 17 2012 claires
    drwxr-xr-x 2 root root 8192 May 18 2012 claires animation starts
    drwxr-xr-x 14 root root 8192 Sep 8 18:28 claires blender tuts 1
    -rwxr-xr-x 1 root root 563332 Jun 29 2012 claires.zip
    drwxr-xr-x 3 root root 8192 Feb 26 2011 Conky-lua
    -rwxr-xr-x 1 root root 36404368 Dec 27 2012 dear darling.wav
    -rwxr-xr-x 1 root root 39144448 Dec 27 2012 dont wake me up.wav
    -rwxr-xr-x 1 root root 462667 Feb 7 2009 DSC00110.JPG
    -rwxr-xr-x 1 root root 145842 Feb 7 2009 DSC00117.JPG
    -rwxr-xr-x 1 root root 546600 Feb 7 2009 DSC00118.JPG
    -rwxr-xr-x 1 root root 125683 Feb 24 2009 DSC00145.JPG
    -rwxr-xr-x 1 root root 25088 Nov 22 2012 dutch.doc
    drwxr-xr-x 2 root root 8192 Apr 2 13:58 ed sheeran
    -rwxr-xr-x 1 root root 15784567 Sep 3 13:17 Ellie Goulding - Burn - YouTube.mp4
    -rwxr-xr-x 1 root root 0 Sep 10 00:45 empty                                                        # yes it is there among your 'real' files
    -rwxr-xr-x 1 root root 122791 Jun 9 16:50 enterprise.odt
    drwxr-xr-x 3 root root 32768 Sep 26 2012 Family Slides
    -rwxr-xr-x 1 root root 5045891 Jun 9 18:41 farthers day gift.odp
    -rwxr-xr-x 1 root root 5045891 Jun 9 18:41 farthers day gift.pptx
    -rwxr-xr-x 1 root root 35524720 Dec 27 2012 hall of fame.wav
    -rwxr-xr-x 1 root root 34741504 Dec 27 2012 hand on heart.wav
    -rwxr-xr-x 1 root root 3586089 Dec 13 2012 heart skips a beat.mpeg
    -rwxr-xr-x 1 root root 12 Sep 10 00:46 hello.txt                                                        # yes it is there among your 'real' files
    -rwxr-xr-x 1 root root 32916352 Dec 27 2012 hey your beautiful.wav
    -rwxr-xr-x 1 root root 17652 Jan 17 2013 hmv.odt
    -rwxr-xr-x 1 root root 42118 Feb 28 2013 hooligans.odt
    -rwxr-xr-x 1 root root 17531 Feb 14 2013 horse2 (copy).PPTX.odt
    -rwxr-xr-x 1 root root 142851 Feb 14 2013 horse2.odt
    -rwxr-xr-x 1 root root 1353753 Feb 10 2013 horsemeat2 (copy).PPTX.odp
    -rwxr-xr-x 1 root root 1367509 Feb 10 2013 horsemeat2.odp
    -rwxr-xr-x 1 root root 13793 May 12 11:33 IMG00346-20130511-2252.jpg
    -rwxr-xr-x 1 root root 48654 Jun 14 20:02 IMG00364-20130614-1834.jpg
    -rwxr-xr-x 1 root root 8835565 Jun 14 21:02 international night 2013 jocelin.3GP
    drwxr-xr-x 2 root root 8192 Jul 31 16:00 james blunt
    -rwxr-xr-x 1 root root 17926198 Sep 3 13:21 Lawson - Brokenhearted ft. B.O.B. - YouTube.mp4
    -rwxr-xr-x 1 root root 13514775 Sep 3 13:19 Lawson - Juliet - YouTube.mp4
    -rwxr-xr-x 1 root root 16122967 Sep 3 13:19 Lawson - Learn To Love Again - YouTube.mp4
    -rwxr-xr-x 1 root root 13796004 Sep 3 13:20 Lawson - Standing In The Dark - YouTube.mp4
    -rwxr-xr-x 1 root root 15178789 Sep 3 13:20 Lawson - When She Was Mine - YouTube.mp4
    drwxr-xr-x 2 root root 8192 May 21 2012 LearningUnit01VideoTutorials
    -rwxr-xr-x 1 root root 35103712 Dec 27 2012 live while were young.wav
    drwxr-xr-x 2 root root 8192 Jun 10 2012 more advanced blender videos
    -rwxr-xr-x 1 root root 17917185 Dec 30 2012 Mumford _ Sons - Little Lion Man.mp4
    drwxr-xr-x 3 root root 8192 Dec 5 2012 New folder
    -rwxr-xr-x 1 root root 14298142 Aug 23 2012 Noel Gallagher emotional Where did it all go wrong_ w_ lyric.mp4
    -rwxr-xr-x 1 root root 32810512 Dec 27 2012 one of these days.wav
    -rwxr-xr-x 1 root root 787236 Dec 3 2012 Organic of Life pres.pptx
    drwxr-xr-x 2 root root 8192 Sep 9 15:32 Pendrive
    -rwxr-xr-x 1 root root 18033 Jan 30 2009 Picture(101).jpg
    -rwxr-xr-x 1 root root 9537 Oct 3 2009 Picture(140).jpg
    -rwxr-xr-x 1 root root 8540 Jan 31 2009 Picture(144).jpg
    -rwxr-xr-x 1 root root 12626 Jan 31 2009 Picture(157).jpg
    -rwxr-xr-x 1 root root 8450 Feb 9 2009 Picture(20).jpg
    -rwxr-xr-x 1 root root 10852 Oct 3 2009 Picture(23).jpg
    -rwxr-xr-x 1 root root 7459 Oct 3 2009 Picture(50).jpg
    -rwxr-xr-x 1 root root 6704 Oct 3 2009 Picture(51).jpg
    -rwxr-xr-x 1 root root 9992 Oct 3 2009 Picture(95).jpg
    drwxr-xr-x 2 root root 8192 Nov 28 2012 presentation project 2
    -rwxr-xr-x 1 root root 14338197 Aug 4 2012 Queen - _Don_t Stop Me Now_.mp4
    -rwxr-xr-x 1 root root 14799 Nov 15 2012 radio DJ.odt
    -rwxr-xr-x 1 root root 624379 Dec 4 2012 ride 1.odp
    -rwxr-xr-x 1 root root 623558 Dec 7 2012 ride 1.pptx
    drwxr-xr-x 6 root root 8192 Nov 12 2012 saved website
    -rwxr-xr-x 1 root root 39184432 Dec 27 2012 say nothing.wav
    -rwxr-xr-x 1 root root 34525 Nov 29 2012 shark.odt
    -rwxr-xr-x 1 root root 474409284 Sep 3 13:31 Sonic Adventure 2 Versus _ Episode 1 - YouTube.webm
    -rwxr-xr-x 1 root root 293060242 Sep 3 13:47 Sonic Adventure 2 Versus _ Episode 2 - YouTube.flv
    -rwxr-xr-x 1 root root 6296 Nov 22 2012 target.odt
    -rwxr-xr-x 1 root root 18245 Nov 15 2012 tdj.odt
    -rwxr-xr-x 1 root root 24201866 Sep 3 13:25 Tenacious D - Tribute - YouTube.mp4
    -rwxr-xr-x 1 root root 180457 Feb 11 2013 tesco (copy).PPTX.odt
    -rwxr-xr-x 1 root root 164031 Feb 11 2013 tesco.odt
    -rwxr-xr-x 1 root root 8618793 Aug 9 2012 The party - The Young Ones - BBC comedy.mp4
    -rwxr-xr-x 1 root root 22281 Jan 23 2013 the turtle and the apple.odt
    -rwxr-xr-x 1 root root 18591282 Sep 3 13:22 The Wanted - Walks Like Rihanna - YouTube.mp4
    -rwxr-xr-x 1 root root 40727344 Dec 25 2012 Track 13.wav
    -rwxr-xr-x 1 root root 43589728 Dec 25 2012 Track 19.wav
    -rwxr-xr-x 1 root root 38878672 Dec 25 2012 Track 1.wav
    -rwxr-xr-x 1 root root 37072336 Dec 25 2012 Track 20.wav
    -rwxr-xr-x 1 root root 35195440 Dec 25 2012 Track 2.wav
    -rwxr-xr-x 1 root root 37643872 Dec 25 2012 Track 3.wav
    -rwxr-xr-x 1 root root 32737600 Dec 27 2012 troublemaker ma.wav
    -rwxr-xr-x 1 root root 32937520 Dec 25 2012 try.wav
    -rwxr-xr-x 1 root root 40757920 Dec 27 2012 turn arownd.wav
    -rwxr-xr-x 1 root root 21445 Nov 26 2012 Untitled par.odt
    -rwxr-xr-x 1 root root 43686160 Dec 25 2012 vanity.wav
    -rwxr-xr-x 1 root root 5100363 Sep 12 2012 VID 00054-20120906-2100.3GP
    -rwxr-xr-x 1 root root 38683456 Dec 27 2012 whatchtower.wav
    root@ortermagic-Centurion-CPD-1303:~# cat /mnt/hello.txt
    hello world                                                                                                     # yes it is there and you can read its content :-)
    root@ortermagic-Centurion-CPD-1303:~# exit # exit from the superuser shell (important to remember this command)df
    exit
    ortermagic@ortermagic-Centurion-CPD-1303:~$ df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda6 243191836 8928196 221910224 4% /
    none 4 0 4 0% /sys/fs/cgroup
    udev 1981288 4 1981284 1% /dev
    tmpfs 404856 1152 403704 1% /run
    none 5120 0 5120 0% /run/lock
    none 2024264 152 2024112 1% /run/shm
    none 102400 32 102368 1% /run/user
    /dev/sdb1 15581128 7563744 8017384 49% /mnt                          # the pendrive is still mounted
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo umount /mnt
    ortermagic@ortermagic-Centurion-CPD-1303:~$ df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda6 243191836 8928224 221910196 4% /
    none 4 0 4 0% /sys/fs/cgroup
    udev 1981288 4 1981284 1% /dev
    tmpfs 404856 1152 403704 1% /run
    none 5120 0 5120 0% /run/lock
    none 2024264 152 2024112 1% /run/shm
    none 102400 32 102368 1% /run/user
                                                            # the pendrive is no longer mounted (this is correct after unmounting)
    ortermagic@ortermagic-Centurion-CPD-1303:~$ sudo ls -l /mnt
    total 0                                               # nothing is found (this is correct after unmounting)
    ortermagic@ortermagic-Centurion-CPD-1303:~$ 
    You can mount and read/write from/to the pendrive this way. Do you want to find a way to do it also without using sudo (superuser privileges)?

Page 4 of 5 FirstFirst ... 2345 LastLast

Bookmarks

Posting Permissions

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