From: Paul Powell <moloch16@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Undoing chroot?
Date: Fri, 26 Jan 2001 10:31:40 -0800 (PST) [thread overview]
Message-ID: <20010126183140.17534.qmail@web112.yahoomail.com> (raw)
Hello,
I have a linux bootable CD which executes a custom
init. The job of init is to figure out on which
device the CD is located. After finding the CD, init
mounts the device and executes a CHROOT to set the
root directory to the CD.
After I'm done I'd like to umount the CD and then
eject it by sending an IOCTL eject command. But since
I executed a CHROOT I can't umount the CD, umount
complains that the device is busy.
So how do you reverse a CHROOT?
BTW, I use an initrd image and init is a C program,
not a script.
Thanks
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2001-01-26 18:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-26 18:31 Paul Powell [this message]
2001-01-26 18:54 ` alex
2001-01-27 2:47 ` Chris Wedgwood
[not found] <0C01A29FBAE24448A792F5C68F5EA47D04E323@nasdaq.ms.ensim.com>
2001-01-26 22:15 ` Paul Menage
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=20010126183140.17534.qmail@web112.yahoomail.com \
--to=moloch16@yahoo.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®