mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lionel Bouton <Lionel.Bouton@inet6.fr>
To: Jeremy White <jwhite@codeweavers.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: isofs unhide option:  troubles with Wine
Date: Sat, 25 May 2002 23:07:35 +0200	[thread overview]
Message-ID: <20020525230735.A18560@bouton.inet6-interne.fr> (raw)
In-Reply-To: <1022301029.2443.28.camel@jwhiteh>

On Fri, May 24, 2002 at 11:30:29PM -0500, Jeremy White wrote:
> 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.
> 
>     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).
> 
>     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.
> 
> I am willing to submit a patch to implement the appropriate solution.
> 
> Comments and opinions are greatly appreciated; please copy me directly
> though, as I am not subscribed.
> 
> Thanks,
> 
> Jeremy
> 

With 3. Wine's FindFirstFile and FindNextFile wont't be able to report
hidden files and Win32 programs could rely on that instead of using
hard-coded filenames.
If I'm not mistaken these functions return all files and put file flags
in a struct. User apps are responsible of the hiding.
One could argue that Win32 programs could rely on the file flags being
reported correctly, but I find this far less probable.

If one goal is to allow Wine to implement the Win32 syscalls as correctly as
possible 3. is not an option IMHO.

Moreover I don't like the idea of files readable but not findable by common
tools, seems broken to me.

2. will lead to entries in FAQ:

Q: What does the "unhide" option mean in my /etc/fstab ?
A: Lengthy explanation on ISO9660, Windows FS versus Unix FS and so on...

1. will do what Linux already does for other FAT/NTFS contents, simply show
the info to the users even if Windows' tools hide it by default.

Personnaly I would choose 1. (I prefer short FAQs).

LB.

  parent reply	other threads:[~2002-05-25 21:07 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-25  4:30 Jeremy White
2002-05-25 13:46 ` Olaf Dietsche
2002-05-25 13:49   ` Jeremy White
2002-05-25 14:01     ` Joseph Mathewson
2002-05-25 14:23       ` Jeremy White
2002-06-10  3:12       ` Francois Gouget
2002-06-10 11:52         ` Thunder from the hill
2002-06-10 12:38           ` Guest section DW
2002-05-25 15:50     ` Alan Cox
2002-06-03 17:05       ` Jeremy White
2002-06-03 18:06         ` Thunder from the hill
2002-06-03 18:40           ` H. Peter Anvin
2002-06-03 19:40             ` Thunder from the hill
2002-06-03 19:43               ` H. Peter Anvin
2002-06-04  0:23         ` Alan Cox
2002-06-19  2:36           ` Jeremy White
2002-05-25 14:18 ` Ruth Ivimey-Cook
2002-05-25 14:25   ` Jeremy White
2002-05-25 19:31   ` H. Peter Anvin
2002-05-25 19:40 ` Linus Torvalds
2002-05-25 20:31   ` H. Peter Anvin
2002-05-25 21:20     ` Lionel Bouton
2002-05-25 21:51       ` H. Peter Anvin
2002-05-25 21:07 ` Lionel Bouton [this message]
2002-05-25 17:04 Andries.Brouwer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020525230735.A18560@bouton.inet6-interne.fr \
    --to=lionel.bouton@inet6.fr \
    --cc=jwhite@codeweavers.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®