Ticket #226 (new defect)
Undesired disks show up as available under Live CD
| Reported by: | Frisco | Owned by: | lars |
|---|---|---|---|
| Priority: | normal | Milestone: | cryptonas-live-cd 0.4.0 |
| Component: | debian-package | Version: | svn |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Running a Live CD based on r1180, some disks are still improperly displayed in the /disks listing. /dev/hdc is really the boot CD-ROM, but shows up; /dev/loop0, used for the Live CD environment, also shows up. From blockdevice.py, r1174:
## loop devices are ignored, if they are unused 232 if (self.major == MAJOR_DEVNUM_LOOP) and (self.size == 0): 233 return False
It would be easy to filter out loop devices by major number; is there a reason for the self.size == 0 check? The output of /debug_show_all_devices is attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
