>Greetings,
>
>When installing Microsoft Office with Wine, we find that some
>MS CDs have certain files marked as hidden on the CD.
>Unfortunately, I don't have a strong feeling for what the
>'right' solution is. I see several options:
>
> 1. Invert the logic of the option, make it 'hide' instead
> of unhide, and so unhide is the default.
I don't see the point of this...
> 2. Make it possible to set this mount option from user
> space (I don't like this, but it would get me around
> the problem).
?? do you mean use of -oremount ? possible, I suppose. Doesn't seem much
better than (1) to me though.
> 3. Make it so that isofs/dir.c still strips out hidden
> files, but enable isofs/namei.c to return a hidden file that
> is opened directly by name.
Yes. Do this, or something like it.
AFAIK, Windows "hidden" files are supposed to behave much like Unix 'dot'
files (.login, etc), so IMO the kernel should not use the hidden bit at all.
Instead, it should be 'ls' et al that do this. Now, I guess this isn't
particularly practical without changing fileutils and many other things, so I
would suggest that the kernel is changed to pass on, if possible, but
basically ignore the 'hidden' bit.
Regards,
Ruth
-- Ruth Ivimey-Cook Software engineer and technical writer.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/