Operating System - HP-UX
1747990 Members
5024 Online
108756 Solutions
New Discussion

Re: filesystem of a service guard package (style modular)

 
support_billa
Valued Contributor

filesystem of a service guard package (style modular)

hello,

 

is there a better to get a filesystem(s) of a service guard package (style modular)

 

filesystem relationship to service guard package (style modular or legacy)

 

here my idea :

 

# cmgetconf -v -p package |grep -E "^fs_name|^fs_directory|^fs_type|^fs_mount_opt|^fs_umount_opt|^fs_fsck_opt"

 

# output
fs_name            /dev/vgpackage/config
fs_directory        /package/fs
fs_type            ""
fs_mount_opt        ""
fs_umount_opt        ""
fs_fsck_opt        ""

regards

1 REPLY 1
Patrick Wallek
Honored Contributor

Re: filesystem of a service guard package (style modular)

Why not just:

 

# cmgetconf -p <pkgname> | grep ^fs_

 

That will grab all lines starting with fs_.

 

If you don't want the first two lines, fs_mount_retry_count and fs_umount_retry_count, then:

 

# cmgetconf -p <pkgname> | grep ^fs | grep -v retry