Bug 7059 - attaching disk image to loop doesn't make it perform partition check
Summary: attaching disk image to loop doesn't make it perform partition check
Status: REJECTED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: drivers_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-26 06:26 UTC by Grzegorz jaskiewicz
Modified: 2008-09-22 17:00 UTC (History)
1 user (show)

See Also:
Kernel Version: Linux puppet 2.6.17.10 #1 SMP Wed Aug 23 16:35:49 CEST 2006 i686
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Grzegorz jaskiewicz 2006-08-26 06:26:25 UTC
Most recent kernel where this bug did not occur:

Distribution:
debian unstable

Hardware Environment:
x86 pM

Software Environment:
gnu

Problem Description and Steps to reproduce:
let's say that I made image of HDD for backup:
dd if=/dev/sdd of=/spool/sdd-backup
losetup /dev/loop0 /spool/sdd-backup
fdisk -l /dev/loop0
Disk /dev/loop0: 536 MB, 536870912 bytes
32 heads, 63 sectors/track, 520 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes

      Device Boot      Start         End      Blocks   Id  System
/dev/loop0p1   *           1         520      524128+   6  FAT16

now, all nice - but there's no device called /dev/loop0p1 so I can't mount it!

I wish kernel somehow scan that loop device, just like it does when I insert 
any sort of device, whether that's usb stick or removable drive.
thank you!
Comment 1 Natalie Protasevich 2008-03-29 22:14:14 UTC
This is a feature request, but we don't have way yet to track those.
Have you tried proposing this on LKML?

Note You need to log in before you can comment on or make changes to this bug.