I want to know how to add options in /etc/fstab for smbfs mount. I would
like to add fmask dmask or -f -d

And some other thing. I have command

awk -- '/^# \/.*[[:space:]]+smbfs[[:space:]]+/ { print $2,$3 }' /etc/fstab

I want that output is set to some array. If I use

vols=`awk -- '/^# \/.*[[:space:]]+smbfs[[:space:]]+/ { print $2,$3 }'

and then

for vol in ${vols}; do
    echo "$vol"

output is separeted by space, but i want $2 and $3 to be in one row so I
can execute mount command

Best regards,

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to