[parted-devel] freaky loop device handling

Joel Granados jgranado at redhat.com
Mon May 11 12:24:51 UTC 2009


The loop label might be used to detect device-mapper filesystems (like
those found in an LV).  From this another two questions stem out:
1. Why is it called loop? And 2. If its only for device-mapper detection
purposes, why is it working on a real device?

any insight appreciated.

Regards.

On Mon, May 11, 2009 at 01:27:13PM +0200, Joel Granados wrote:
> Hey list.
> 
> Here is another freaky parted bug from the realms of parted code :)
> I just ran into this and my analysis might be wrong, so suggestions and
> corrections are appreciated.
> Unfortunately this does not work with loop devices...
> 
> <snip>
> #!/bin/bash
> parted="/usr/local/sbin/parted"
> dd if=/dev/zero of=/dev/sdc bs=1M count=10
> yes | mkfs.ext3 /dev/sdc
> $parted /dev/sdc print free
> </snip>
> 
.
.
.
.
> way.
> 
> I'll keep investigating and get back to the list when I have more info.
> Any suggestions/explinations are greatly appreciated.
> 
> Regards.
> 
> -- 
> Joel Andres Granados
> Brno, Czech Republic, Red Hat.
> 
> _______________________________________________
> parted-devel mailing list
> parted-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/parted-devel

-- 
Joel Andres Granados
Brno, Czech Republic, Red Hat.



More information about the parted-devel mailing list