All of lore.kernel.org
 help / color / mirror / Atom feed
From: luc deschenaux <luc.deschenaux@freesurf.ch>
To: linux-fsdevel@vger.kernel.org
Subject: opening files
Date: Thu, 06 Nov 2003 15:01:05 +0100	[thread overview]
Message-ID: <3FAA5421.5000809@freesurf.ch> (raw)

maybe somebody did it already, knows where i need to do it, or has 
something to say about it; so while i start looking how to implement the 
functionality described below, i post a message here

When booting from a livecd, the empty directory tree is duplicated in a 
tmpfs partition and all the cdrom files are linked in it

If a process need to open a file with write permission you have to 
remove the link in ramdisk and replace it with the real file from the cd 
at user level

I'm looking to patch the kernel or libraries so that when a process try 
to open such linked file with write permission, the kernel or library 
replace the link in ramdisk with the real file from cd before opening it 
and returning the file descriptor instead of a "permission denied" error.

infos and suggestions welcome

regards,

Luc


             reply	other threads:[~2003-11-06 14:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-06 14:01 luc deschenaux [this message]
2003-11-07 22:53 ` opening files Jan Hudec

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=3FAA5421.5000809@freesurf.ch \
    --to=luc.deschenaux@freesurf.ch \
    --cc=linux-fsdevel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.