Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109765 - eutils/cdrom_locate_file_on_cd() - better submount detection
Summary: eutils/cdrom_locate_file_on_cd() - better submount detection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-18 18:20 UTC by James Le Cuirot
Modified: 2005-10-19 04:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Le Cuirot gentoo-dev 2005-10-18 18:20:50 UTC
cdinstall wasn't working for me. I realised that adding fs=cdfss to the 
following line in cdrom_locate_file_on_cd() (eutils.eclass) would allow all CDs 
mounted using submount to be detected.

for mline in $(mount | egrep -e '(iso|cdrom)' | awk '{print $3}') ; do

This would become...

for mline in $(mount | egrep -e '(iso|cdrom|fs=cdfss)' | awk '{print $3}') ; do
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-18 20:15:20 UTC
Does submount actually report disc changes properly?  The reason that I ask is
that all of the previous "automounting" or "mount on demand" type filesystems
did not work, as they wouldn't report changed discs properly.  Basically, will
this also work for ut2003/ut2004, or anything else with more than 1 CD?
Comment 2 SpanKY gentoo-dev 2005-10-18 20:38:09 UTC
boo, i just added it to cvs :)

i guess you'll have to back it out if the answer is 'no'
Comment 3 James Le Cuirot gentoo-dev 2005-10-19 02:02:25 UTC
As I understand it, it simply checks for the presence of a certain file after 
you press enter so I don't think "notification" is an issue. It worked for me 
when using more than one CD anyway.

Thanks. (-:
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-19 04:41:47 UTC
OK...

Like, for example, supermount wouldn't notify the kernel properly on a disc
change, so even when you put in the new CD and hit enter, it didn't work.  If
you're saying it works, then great, it's now in CVS... =]