From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 Description of problem: If you want to use a subdirectory of a filesystem as your root, a bindmount is needed before pivot_root. It is quite simple to add --bind and --move support to nash. Version-Release number of selected component (if applicable): mkinitrd-3.5.22-1 How reproducible: Always Steps to Reproduce: 1. nash --force 2. mount --bind -t none /mnt /mnt Actual Results: (forcing normal run) Red Hat nash version 3.5.22 starting mount --bind -t none /mnt /mnt mount: error 19 mounting none Expected Results: nash sets up a bindmount: (forcing normal run) Red Hat nash version 3.5.22 starting mount --bind -t none /mnt /mnt Additional info: I'll attach a patch in a moment. After that I'll try to enhance the mkinitrd script to make use of this new feature.
Created attachment 109366 [details] Add --bind and --move support to nash builtin mount command
Fedora Core 2 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC3 updates or in the FC4 test release, reopen and change the version to match.