mount_smbfs locking?
Zahemszky Gábor
Gabor at Zahemszky.HU
Wed May 10 06:09:24 PDT 2006
Hi!
Are there any mechanism to "lock" files (as the Win-clients), shared by
a Windows-server, and reached on a smbfs-mounted file system? I haven'
found any mount options in mount_smbfs's manual.
Bye,
Gábor
--
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ
';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ???
]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ???
]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set --
$Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j
$i";typeset +l i;};print "$j"
More information about the freebsd-questions
mailing list