On 07/13/2017 03:38 PM, Patrick Dupre wrote:
> Sorry,
> 
> fdisk does not show the disk (df shows loopx)

Huh? If "df" shows something on a loop device, then it's mounted
somewhere or df wouldn't know how to extract the size data. For example,
with an ISO image mounted via loop to /mnt/Misc using the command

        mount -t loop /path/to/iso/image.iso /mnt/Misc

I see:

        [root@prophead ~]# df -h
        ...
        /dev/loop0               1.2G  1.2G     0 100% /mnt/Misc

It shows up in fdisk using an "fdisk -l":

        [root@prophead ~]# fdisk -l
        ...
        Disk /dev/loop0: 1.1 GiB, 1222639616 bytes, 2387968 sectors
        Units: sectors of 1 * 512 = 512 bytes
        Sector size (logical/physical): 512 bytes / 512 bytes
        I/O size (minimum/optimal): 512 bytes / 512 bytes
        Disklabel type: dos
        Disk identifier: 0x6b8b4567

        Device       Boot  Start     End Sectors  Size Id Type
        /dev/loop0p1 *         0 2387967 2387968  1.1G  0 Empty
        /dev/loop0p2      105336  118339   13004  6.4M ef EFI (FAT-12/16/32)
        /dev/loop0p3      118340  146419   28080 13.7M  0 Empty

If you mount external media via the GUI or if it's automounted, it
should mount in

        /run/media/your-user-name/blah

with "blah" being either the media's filesystem label or some string
that identifies the USB device. If you don't see somewhat similar
things, then check dmesg and your logs for errors and/or hints.

And you know better than to top-post on this list, right? You've been
a member long enough.

>> Sent: Friday, July 14, 2017 at 12:35 AM
>> From: "Patrick Dupre" <pdu...@gmx.com>
>> To: fedora <users@lists.fedoraproject.org>
>> Subject: /dev/loop
>>
>> Hello,
>>
>> When I pluck a USB Hard Drive, it mounts as /dev/loop0 and /dev/loop3
>>
>> df does not show the disk.
>>
>> What is wrong?
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-    Overweight:  When you step on your dog's tail...and it dies.    -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to