summaryrefslogtreecommitdiffstats
path: root/discover/paths.h
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2015-03-23 16:54:45 +1100
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2015-03-26 16:26:02 +1100
commita2bf5c1d47998a13351ccb6c35e3cf8f6e79909b (patch)
treee764064bc1806a621361e14f37c646d67ccb34af /discover/paths.h
parent49d7e0f299f96125620003e4b2388e1327b15d3e (diff)
downloadtalos-petitboot-a2bf5c1d47998a13351ccb6c35e3cf8f6e79909b.tar.gz
talos-petitboot-a2bf5c1d47998a13351ccb6c35e3cf8f6e79909b.zip
discover: Mount with norecovery, avoid rw mount of XFS filesystems
Journaled filesytems may still write to their disk even if the disk is mounted read only. Petitboot should avoid modifying any disks automatically, and in mixed-endian systems this can also cause journal operations to fail. Use the 'norecovery' option on filesystems that support it to skip the journal replay. Additionally, mounting an XFS filesystem as read-write in such a case will cause the call to mount to hang indefinitely. Avoid this generally by explicitly unmounting and (re)mounting when mounting read-write. Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Diffstat (limited to 'discover/paths.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud