public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Ralph Jones <ralph.jones@altavista.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: pivot_root from non-interactive script
Date: 18 Jun 2001 15:54:51 +0200	[thread overview]
Message-ID: <jepuc199lg.fsf@sykes.suse.de> (raw)
In-Reply-To: <20010618130302.15892.cpmta@c012.sfo.cp.net>
In-Reply-To: <20010618130302.15892.cpmta@c012.sfo.cp.net> (Ralph Jones's message of "18 Jun 2001 06:03:02 -0700")

Ralph Jones <ralph.jones@altavista.com> writes:

|> I have followed the instructions given in Documentation/initrd.txt with regard to pivot_root, but am unable to unmount the filesystem, when everything is called from a non-interactive script. 
|> 
|> ie. When I set a link from linuxrc to /bin/ash and then manually go through the commands in the shell script, I am able to unmount the old initrd filesystem.  However, when linuxrc is a shell script containing the same commands, I am unable to umount the old initrd fs.  I get instead: "Device or resource busy".

Perhaps the shell didn't close the filedescriptor on the script.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5

  reply	other threads:[~2001-06-18 13:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-18 13:03 pivot_root from non-interactive script Ralph Jones
2001-06-18 13:54 ` Andreas Schwab [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-06-19  9:58 Ralph Jones
2001-06-19 12:10 ` Andreas Schwab
2001-06-20 12:32 Ralph Jones

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=jepuc199lg.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ralph.jones@altavista.com \
    /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