Bug 56071
Summary: | mkinitrd should pick up the options field from /etc/fstab | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Chris Adams <linux> | ||||
Component: | mkinitrd | Assignee: | Matt Wilson <msw> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.2 | CC: | dark.lite, jn, tinus | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2002-05-16 12:05:24 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
Chris Adams
2001-11-12 15:05:58 UTC
After considering bug #55495 ( http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=55495 ) , it seems that a root ext3fs will always be mounted with data=ordered and cannot currently be changed with a remount. This is rather anoying for people who would rather see it mounted data=journal or data=writeback. I know that the journaling mode can't be changed with a -remount option. However, the root filesystem is mounted from an initial ramdisk (not the kernel) if it is an ext3 filesystem. If the scripts that build the initrd looked in /etc/fstab, they could pick up the journaling mode and pass those options to the mount command used to mount the root filesystem. That way, changing the journaling mode of the root filesystem would require editing /etc/fstab and re-running mkinitrd. Created attachment 57564 [details]
patch to make mkinitrd recognise and honour options for root fs in fstab
This patch is against mkinitrd-3.2.6-1 . It changes mkinitrd to include a -o argument for the mount statement if there are options for the root filesystem in fstab. Patch wouldn't work (nash didn't support mount options!), but the idea is now implemented in mkinitrd-3.3.11 I can confirm that this works with mkinitrd-3.4.2-1 . Thanks! Where can I find a fixed version of mkinitrd which works with RedHat 7.2? mkinitrd-3.4.2-1 appears to be gone and mkinitrd-3.4.28-1 which appears to be the latest I can't get to work with RH7.2. |