Show Table of Contents
A.2.4. dmsetup deps 指令
dmsetup deps device 指令會提供一列裝置配對(major、minor),並且這些裝置配對已被指定裝置的映射表格所參照。若您不指定裝置名稱的話,輸出將會是有關於所有目前已配置的 Device Mapper 裝置的相關資訊。
下列範例顯示了用來列出目前已配置的映射裝置的所有相依的指令。
# dmsetup deps
testgfsvg-testgfslv3: 1 dependencies : (8, 16)
testgfsvg-testgfslv2: 1 dependencies : (8, 16)
testgfsvg-testgfslv1: 1 dependencies : (8, 16)
VolGroup00-LogVol01: 1 dependencies : (8, 2)
VolGroup00-LogVol00: 1 dependencies : (8, 2)
下列範例顯示了只用來列出
lock_stress-grant--02.1722 裝置之相依的指令:
# dmsetup deps lock_stress-grant--02.1722
3 dependencies : (253, 33) (253, 32) (253, 31)

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.