![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need some help..Comparison | bluesilo | Shell Programming and Scripting | 0 | 02-23-2008 04:43 PM |
| string comparison | fedora | Shell Programming and Scripting | 2 | 01-03-2007 03:20 PM |
| Date comparison | sumesh.abraham | Shell Programming and Scripting | 6 | 12-14-2006 01:28 AM |
| dir comparison help | ghazi | Shell Programming and Scripting | 5 | 12-20-2004 05:54 PM |
| comparison | cnf | Filesystems, Disks and Memory | 2 | 05-14-2002 02:52 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Comparison doubt..
Hi,
/etc/fstab file contains: ================== cluster_root#root / advfs rw 0 1 cluster_usr#usr /usr advfs rw 0 2 cluster_var#var /var advfs rw 0 2 /proc /proc procfs rw 0 0 t_d#t_f /t_m advfs rw 0 2 /dev/disk/dsk1c /ufs_mnt ufs rw,userquota=/advfs_mnt/quota.user 1 2 test#test /advfs_mnt advfs rw,userquota=/ufs_mnt/quota.advfs 0 2 Need to check whether quota file(say quota.user and quota.group) is within the same fileset or not. Second argument of /etc/fstab file is nothing but fileset location and 4th argument of /etc/fstab file is also fileset location.So need to compare 2nd and 4th argument of /etc/fstab file.If both locations are same then we can confirm that quota files are in same fileset). Consider below situation say, 1./dev/disk/dsk1c /ufs_mnt ufs rw,userquota=/advfs_mnt/quota.user 1 2 2.test#test /advfs_mnt advfs rw,userquota=/ufs_mnt/quota.advfs 0 2 Second argument of Line1 is /ufs_mnt and 4th argument is rw,userquota=/advfs_mnt/quota.user.In this case both locations are different i.e (/ufs_mnt and /advfs_mnt). Could you please let me know how to compare 2nd and 4th argument in /etc/fstab file. Thanks, Mansa |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|