Driver and Utility
3-19
PCIe Flash Drive FlashMAX2&3 User’s Guide
(3) Use “restorecon” to restore the new security context.
Example: restorecon -v /dev/vgc*0*
restorecon reset /dev/vgca0 context
system_u:object_r:device_t:s0-
>system_u:object_r:fixed_disk_device_t:s0
restorecon reset /dev/vgcb0 context
system_u:object_r:device_t:s0-
>system_u:object_r:fixed_disk_device_t:s0
(4) Use “ls –lZ” to check that “device_t” in the security context has changed
to “fixed_disk_device_t”.
Example: ls -lZ /dev/vgc*0*
brw-rw----. root disk system_u:object_r:fixed_disk_device_t:s0
/dev/vgca0
brw-rw----. root disk system_u:object_r:fixed_disk_device_t:s0
/dev/vgcb0
(5) Reboot the system.
Uninstalling driver and utility
1. Uninstall the utility
(1) Unmount all Flash Drives.
(2) If the SWRAID of the OS is running, stop the SWRAID service.
Example: mdadm --misc --stop /dev/mdx
mdx is a RAID number (x=0, 1, 2, etc.)
(3) Stop the service of the Flash Drive.
Example: service vgcd stop
(4) Use “rpm -q vgc-utils” to look for old utility.
(5) Use “rpm -e <UtilityName>” to uninstall the utility indicated in (4).
Example: rpm -e vgc-utils-*******************.x86_64
(6) Use “rpm -q vgc-utils” to make sure the old utility no longer appears.