J
Justin C
I have the following:
my @args = ("mount", "-t smbfs -o username=boris,password=drowssap",
"\"//255.255.255.255/Some Share with spaces\"", "/mnt/foo");
The error is *nix, not perl, but, please bear with me and read on. Here
is the error:
mount: unknown filesystem type 'password=drowssap"'
I chaned @args to be one string only:
my @args = ("mount -t smbfs -o username=boris,password=drowssap \"//255.255.255.255/Some Share with spaces\" /mnt/foo");
And it all works just fine. I thought that maybe @args weren't being
presented in order so a line just prior to 'system' I did a print, all
looked OK.
Any ideas why the mount command was thinking that 'password' was the
filesystem type?
Justin.
my @args = ("mount", "-t smbfs -o username=boris,password=drowssap",
"\"//255.255.255.255/Some Share with spaces\"", "/mnt/foo");
The error is *nix, not perl, but, please bear with me and read on. Here
is the error:
mount: unknown filesystem type 'password=drowssap"'
I chaned @args to be one string only:
my @args = ("mount -t smbfs -o username=boris,password=drowssap \"//255.255.255.255/Some Share with spaces\" /mnt/foo");
And it all works just fine. I thought that maybe @args weren't being
presented in order so a line just prior to 'system' I did a print, all
looked OK.
Any ideas why the mount command was thinking that 'password' was the
filesystem type?
Justin.