Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 312182 Details for
Bug 455945
Resizing a lv results in the fstab entry being altered
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
avoid updating fstab in at least some cases
system-config-lvm.fstabp (text/plain), 1.04 KB, created by
Jonathan Peatfield
on 2008-07-19 02:29:37 UTC
(
hide
)
Description:
avoid updating fstab in at least some cases
Filename:
MIME Type:
Creator:
Jonathan Peatfield
Created:
2008-07-19 02:29:37 UTC
Size:
1.04 KB
patch
obsolete
>--- /usr/share/system-config-lvm/InputController.py~ 2008-05-22 02:41:01.000000000 +0100 >+++ /usr/share/system-config-lvm/InputController.py 2008-07-19 03:19:35.000000000 +0100 >@@ -2185,9 +2185,18 @@ > fsname = filesys_new.fsname > if mount_new and not mounted: > self.command_handler.mount(lv_path, mountpoint_new, fsname) >- # remove old fstab entry >+ >+ # do we want a new fstab written? >+ fstabnew = rename or (self.mount_point != mountpoint_new) or filesys_change >+ >+ # remove old fstab entry only if we arn't mounting at boot >+ # or it is being renamed >+ if fstabnew or not mount_at_reboot_new: > Fstab.remove(self.mount_point) >- if mount_at_reboot_new: >+ >+ # add an entry if mount_at_boot but only if being renamed >+ # or not already mounted >+ if (mount_at_reboot_new and fstabnew): > # add new entry > Fstab.add(lv_path, mountpoint_new, fsname) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 455945
: 312182