cd-roms that need unhide

Dan Kegel dank at kegel.com
Sat Jun 6 21:43:49 CDT 2009


Despite jwhite's kernel fix,
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9769f4eb3fad2dd53a5d24c81ee5f7f05450742b
I find I have to use 'norock' on some discs, e.g.
Macromedia Studio 8,
http://bugs.winehq.org/show_bug.cgi?id=9467
Microsoft Dynamics GP demo,
http://bugs.winehq.org/show_bug.cgi?id=8178
... and the stupid DKNY perfume promo DVD-ROM that
came in the newspaper today.

Running it with Wine yields... a black screen, as the flash player can't
get at its data.

Mounting the DKNY disc with -o unhide or -o norock lets it work fine with wine.

Here's what one sees without either flag:
$ ls /media/cdrom/ -l
total 3668
dr-xr-xr-x 2 4294967295 4294967295      40 2007-07-24 15:54 AUDIO_TS
-r-xr-xr-x 1 4294967295 4294967295 2144972 2007-07-17 20:18 DKNYDeliciousNight
-r-xr-xr-x 1 4294967295 4294967295 1602372 2007-07-17 20:18
DKNYDeliciousNight.exe
-r-xr-xr-x 1 4294967295 4294967295    1616 2007-02-14 06:34 Readme.txt
dr--r--r-- 3 4294967295 4294967295     560 2007-07-24 15:54 VIDEO_TS

(The VIDEO_TS directory is not searchable!  )

Here's what one sees with unhide:

dank at lappy:~$ ls -l /media/cdrom/
total 3788
dr-xr-xr-x 2 4294967295 4294967295      40 2007-07-24 15:54 AUDIO_TS
-r-xr-xr-x 1 4294967295 4294967295      67 2007-07-05 11:20 autorun.inf
dr-xr-xr-x 2 4294967295 4294967295    1032 2007-07-09 12:11 backgroundLoops
dr-xr-xr-x 2 4294967295 4294967295      92 2007-06-25 14:48 css
-rwxr-xr-x 1 4294967295 4294967295    1024 2007-01-03 08:47 Desktop DB
-rwxr-xr-x 1 4294967295 4294967295       2 2007-01-03 08:47 Desktop DF
-r-xr-xr-x 1 4294967295 4294967295 2144972 2007-07-17 20:18 DKNYDeliciousNight
-r-xr-xr-x 1 4294967295 4294967295 1602372 2007-07-17 20:18
DKNYDeliciousNight.exe
-r-xr-xr-x 1 4294967295 4294967295   97566 2007-06-27 14:30
DKNYDeliciousNight.ico
dr-xr-xr-x 2 4294967295 4294967295     244 2007-07-13 09:30 exit
dr-xr-xr-x 2 4294967295 4294967295    3400 2007-07-17 17:18 flv
dr-xr-xr-x 9 4294967295 4294967295     684 2007-07-18 15:41 fscommand
-r-xr-xr-x 1 4294967295 4294967295    1616 2007-02-14 06:34 Readme.txt
dr-xr-xr-x 2 4294967295 4294967295     240 2007-07-09 12:11 soundFx
dr-xr-xr-x 2 4294967295 4294967295     996 2007-07-18 18:50 swf
dr--r--r-- 3 4294967295 4294967295     560 2007-07-24 15:54 VIDEO_TS
dr-xr-xr-x 2 4294967295 4294967295     140 2007-07-05 09:23 xml

(The VIDEO_TS directory is not searchable, but the app works anyway.  )

norock is similar, but VIDEO_TS is searchable.

Given that these poorly mastered discs are turning up periodically --
widely distributed -- it seems like it might be time for another kernel change,
or at least some userland kludge that does a remount.

The heuristic I imagine is:
  If the top level directory has any subdirectories that are
  completely nonsearchable or nonreadable, remount with unhide.

What say?  Would this help users more than it would hurt?
- Dan



More information about the wine-devel mailing list