Bug 159636
Summary: | nash should clean out initramfs before switching to real rootfs | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeff Layton <jlayton> | ||||||
Component: | mkinitrd | Assignee: | Peter Jones <pjones> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | mitr, steved | ||||||
Target Milestone: | --- | Keywords: | FutureFeature | ||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Enhancement | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-06-06 20:06:04 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Jeff Layton
2005-06-06 13:31:06 UTC
Created attachment 115164 [details]
patch to make nash clean out initramfs prior to switchrooting
Eek! Just realized that this patch will clean out the real root filesystem as well. I'll need to add some way to make this not traverse mountpoints. Don't use the above patch! Created attachment 115167 [details]
updated patch, recursiveRemove shouldn't cross mountpoints
Ok, new patch that should prevent the recursiveRemove from crossing
mountpoints. If the stat.st_dev of a directory does not match that of the
parent directory, then we don't descend into that directory.
|