mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Undoing chroot?
@ 2001-01-26 18:31 Paul Powell
  2001-01-26 18:54 ` alex
  2001-01-27  2:47 ` Chris Wedgwood
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Powell @ 2001-01-26 18:31 UTC (permalink / raw)
  To: linux-kernel

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <0C01A29FBAE24448A792F5C68F5EA47D04E323@nasdaq.ms.ensim.com>]

end of thread, other threads:[~2001-01-27  2:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-26 18:31 Undoing chroot? Paul Powell
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

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®