Bug 144889 - initscripts loads dm-mod even when no logical volume
Summary: initscripts loads dm-mod even when no logical volume
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts   
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2005-01-12 15:20 UTC by Sammy
Modified: 2014-03-17 02:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-01-12 17:48:48 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Sammy 2005-01-12 15:20:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux; X11; en_US) KHTML/3.3.2 (like Gecko)

Description of problem:
On my laptop and desktop when there is just one disk and no logical 
volumes, the initscripts still starts the dm-mod module. if I do:

# fgrep  "device-mapper" /proc/device
fgrep: /proc/device: No such file or directory

OK. I think the "!" in front of it should be removed. I do not understand
the fgrep man page:

"Exit immediately with zero status if any match is found, even if an error was  detected."

If the error is that the device is not found, then it will exit with 0? confusing.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.update to 8.02-1
2.restart system
3.dm_mod is installed

Additional info:

Comment 1 Bill Nottingham 2005-01-12 17:48:48 UTC
It's intentional, it's loaded if it's not already loaded; it needs to
be loaded for LVM to work (even just for checking to see if any LVM
volumes are there.)

Note You need to log in before you can comment on or make changes to this bug.