Shared disks

Vram lamsokvr at xprt.net
Mon Jun 27 21:04:07 UTC 2005


Dennis Kaarsemaker wrote:

>On ma, 2005-06-27 at 13:32 -0700, Vram wrote:
>  
>
>>Sorry to be so dim but, I don't see a script on that link...<????>
>>
>>Do I need to click somewhere??
>>    
>>
>
>Aaah... my bad... forgot part of the path.
>
>http://www.ubuntulinux.nl/files/windows_fstab
>  
>
hehe

Thank you..

Now I SEE!!!!!!!

# Simple command line argument for installers
# -w: mount them with user,umask=0111
# -r: mount them with user,umask=0133,uid=1000,gid=1000
RWALL=-1;
if [[ $1 == '-w' ]]; then RWALL=1; fi
if [[ $1 == '-r' ]]; then RWALL=0; fi



I am confused here..

Are we passing a command line argument.  like

# ./windows_fstab -w

What is $1

Thanks

Vram







More information about the ubuntu-users mailing list