Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liberate
backupninja
Commits
7dce2f11
Commit
7dce2f11
authored
15 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
sys: only run mdadm if RAID devices actually exist (Closes: #572450)
parent
81921efa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+5
-0
5 additions, 0 deletions
ChangeLog
handlers/sys.in
+3
-1
3 additions, 1 deletion
handlers/sys.in
with
8 additions
and
1 deletion
ChangeLog
+
5
−
0
View file @
7dce2f11
version 0.9.8 -- UNRELEASED
handler changes
sys:
. Only run mdadm if RAID devices actually exist (Closes: #572450)
version 0.9.7 -- January 27, 2010
backupninja changes
. fix bug in reportspace, thanks Dan Garthwaite
...
...
This diff is collapsed.
Click to expand it.
handlers/sys.in
+
3
−
1
View file @
7dce2f11
...
...
@@ -462,7 +462,9 @@ STATUS="Collecting Software RAID information (/etc/mdadm.conf)"
catiffile
"/etc/mdadm.conf"
STATUS
=
"Collecting Software RAID information (/sbin/mdadm -Q)"
catifexec
"/sbin/mdadm"
"-Q"
"--detail"
'/dev/md?*'
if
ls
/dev/md?
*
>
/dev/null 2>&1
;
then
catifexec
"/sbin/mdadm"
"-Q"
"--detail"
'/dev/md?*'
fi
STATUS
=
"Collecting Automount information (auto.master)"
catiffile
"/etc/auto.master"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment