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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to