FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 08-21-2008, 03:12 AM
Sean Bruno
 
Default Mounting partitions of a loopback device

I found today, that I was unable to mount or detect partitions in a loop
back device that I had configured via losetup.

Was there any discussion on the LKML about this patch or is there anyone
"championing" it into the kernel?
http://lwn.net/Articles/274113/


Sean


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-21-2008, 03:25 AM
Jeremy Katz
 
Default Mounting partitions of a loopback device

On Wed, 2008-08-20 at 20:12 -0700, Sean Bruno wrote:
> I found today, that I was unable to mount or detect partitions in a loop
> back device that I had configured via losetup.

See kpartx(8)

Jeremy

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-21-2008, 03:55 AM
Sean Bruno
 
Default Mounting partitions of a loopback device

On Wed, 2008-08-20 at 23:25 -0400, Jeremy Katz wrote:
> On Wed, 2008-08-20 at 20:12 -0700, Sean Bruno wrote:
> > I found today, that I was unable to mount or detect partitions in a loop
> > back device that I had configured via losetup.
>
> See kpartx(8)
>
> Jeremy
>

Thanks! I'll check it out tomorrow.


Sean

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-21-2008, 09:34 AM
Pádraig Brady
 
Default Mounting partitions of a loopback device

Sean Bruno wrote:
> I found today, that I was unable to mount or detect partitions in a loop
> back device that I had configured via losetup.
>
> Was there any discussion on the LKML about this patch or is there anyone
> "championing" it into the kernel?
> http://lwn.net/Articles/274113/

See also http://www.pixelbeat.org/scripts/lomount.sh

Pádraig.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-21-2008, 10:03 AM
Karel Zak
 
Default Mounting partitions of a loopback device

On Wed, Aug 20, 2008 at 08:12:34PM -0700, Sean Bruno wrote:
> I found today, that I was unable to mount or detect partitions in a loop
> back device that I had configured via losetup.
>
> Was there any discussion on the LKML about this patch or is there anyone
> "championing" it into the kernel?
> http://lwn.net/Articles/274113/

I see the patch in Linus's tree:

commit 476a4813cfddf7cf159956cc0e2d3c830c1507e3
Author: Laurent Vivier <Laurent.Vivier@bull.net>
Date: Wed Mar 26 12:11:53 2008 +0100

loop: manage partitions in disk image


and it works for me:

# ./losetup -f -s /root/kzak/disk.img
/dev/loop0

# ls -la /dev/loop0*
brw-r----- 1 root disk 7, 0 2008-08-21 11:34 /dev/loop0
brw-r----- 1 root disk 7, 1 2008-08-21 11:56 /dev/loop0p1
brw-r----- 1 root disk 7, 2 2008-08-21 11:56 /dev/loop0p2
brw-r----- 1 root disk 7, 3 2008-08-21 11:56 /dev/loop0p3

# mount /dev/loop0p1 /mnt

# ls -la /mnt
total 21
drwxr-xr-x 3 root root 1024 2008-08-21 11:52 .
drwxr-xr-x 23 root root 4096 2008-07-14 10:07 ..
drwx------ 2 root root 12288 2008-08-21 11:52 lost+found


# uname -a
Linux ppc03.englab.brq.redhat.com 2.6.26-0.115.rc9.git2.fc10.ppc64 #1
SMP Mon Jul 7 22:29:44 EDT 2008 ppc64 ppc64 ppc64 GNU/Linux


Karel


--
Karel Zak <kzak@redhat.com>

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 05:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org