Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353151 - sys-apps/uam unnecessarily tries to mount whole UDF-formatted disk
Summary: sys-apps/uam unnecessarily tries to mount whole UDF-formatted disk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-29 15:58 UTC by Michał Górny
Modified: 2011-01-31 22:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Env for UDF-formatted disk (a1,860 bytes, text/plain)
2011-01-29 15:59 UTC, Michał Górny
Details
Env for UDF volume (a2,967 bytes, text/plain)
2011-01-29 15:59 UTC, Michał Górny
Details
Env for simple VFAT partition (for comparison) (a3,969 bytes, text/plain)
2011-01-29 16:00 UTC, Michał Górny
Details
Env for VFAT-formatted (non-partitioned) disk (a4,809 bytes, text/plain)
2011-01-29 16:00 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-29 15:58:59 UTC
uam needs to be able to foresee when a disk is UDF-formatted and don't try to mount it as a whole.

It seems that a good solution is to assume that mount should not happen if DEVTYPE==disk && ID_PART_TABLE_TYPE is set.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-29 15:59:28 UTC
Created attachment 261003 [details]
Env for UDF-formatted disk
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-29 15:59:45 UTC
Created attachment 261004 [details]
Env for UDF volume
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-29 16:00:03 UTC
Created attachment 261006 [details]
Env for simple VFAT partition (for comparison)
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-29 16:00:28 UTC
Created attachment 261008 [details]
Env for VFAT-formatted (non-partitioned) disk
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-31 22:20:13 UTC
Fixed in 0.1.1.

/var/cvsroot/gentoo-x86/sys-apps/uam/uam-0.1.1.ebuild,v  <--  uam-0.1.1.ebuild
initial revision: 1.1