Thanks for the reply, The command is helpful. But my concern is output should be customized.
df_pre is the mount points details before reboot.
df_post is the mount points details after reboot.
see the below output.. I just swapped lines but I got the difference though both files have the same lines.This should not be given difference when both files has the same line.
[root@kathir1 kathir]# sdiff -s df-pre df-post
| adc08ntap17-bkp:/vol/aoh_17a_upgrade/upgrade /autofs/upgrade
> adc08ntap18-bkp:/vol/aoh_18a_admin/ptsadmin /ptsadmin
> adc08stor14-bkp:/export/cabo_ood_14/ood_repository /ood_repos
adc08ntap17-bkp:/vol/aoh_17a_upgrade/upgrade /autofs/upgrade <
adc08ntap18-bkp:/vol/aoh_18a_admin/ptsadmin /ptsadmin <
adc08stor14-bkp:/export/cabo_ood_14/ood_repository /ood_repos <
I want to display these mount points was there before mount point and these mounted extra after activity like that.
Hope with this command I can do that.But still I want a clear idea to be compared perfectly. Because in customer environment if this scripts works fine we don't need to check manually while doing migrations.
If you have idea give me pls....
Last edited by kathirvel; 01-07-2014 at 07:48 AM.