Bug 381198

Summary: Storage::GetPartition doesn't return info about encrypted partition?
Product: [openSUSE] openSUSE 11.0 Reporter: Jiří Suchomel <jsuchome>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aschnell
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jiří Suchomel 2008-04-18 08:08:54 UTC
Calling Storage::GetPartition (Storage::GetTargetMap(), dev_name), where dev_name is taken from /etc/fstab (and is currently /dev/mapper/cr_sda7) returns an empty map. How should I construct correct device name from the fstab entry? Is there any function for that?
Comment 1 Arvin Schnell 2008-04-21 12:47:02 UTC
No, there isn't a function to get the correct real device.

You can just remove "mapper/cr_", this is a fixed mapping.
Another possibility is to look in /etc/crypttab where you
will find cr_sda7 and the device.
Comment 2 Jiří Suchomel 2008-05-06 09:25:36 UTC
Ah, this was already fixed in  2.16.9