Commit Graph

25 Commits

Author SHA1 Message Date
pooka 0a69bf315a Fill canon_dev so that mntfromname gets properly set for p2k mounts.
Fixes problem pointed out by Nicolas Joly.

XXX: would probably be better to forget canon_dev from the parseargs
interface completely and do rump_sys_statvfs() in p2k after mounting
the fail system in the virtual kernel.
2009-09-07 13:52:05 +00:00
pooka 4f4e18947d Make mount_smbfs follow the standard MOUNT_NOMAIN and parseargs() structure.
(yes, this is dist, but considering the last and only import from
upstream was 7 years ago, I'm not exactly worried this will make
importing future versions harder)
2009-09-04 18:22:37 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
rumble 23622f237e Ensure that the special host token '*SMBSERVER' is not automatically
hyphenated, as this can lead to some confusion (e.g.: '*SMB-SERVER' isn't
valid).

(Thanks Wiz!)
2007-07-21 22:41:09 +00:00
dsl 71edd4968d Add new 'data_len' parameter to mount(). 2007-07-14 16:03:05 +00:00
dsl 91d3fe12d9 Add (unsigned char) cast to ctype function 2004-10-29 19:15:20 +00:00
jdolecek 55447aba3b change the default SMB share owner - when run by non-root, use same uid as
the owner of the mount point (or user specified via -u); this is necessary
to succeed the permission check in the kernel SMB share code

owner setting via -O would still apply, but it's now not necessary when
doing non-root mount
2004-03-21 08:35:18 +00:00
wiz 3df7a01f61 Ar -I -> Fl I; bump date for previous. 2003-11-09 21:24:15 +00:00
hubertf 007e11ede2 Document the special server name "*SMBSERVER" 2003-11-09 21:19:31 +00:00
jdolecek c94b972ba9 terminate Xo/Xc, they are not needed with groff and new tmac macros 2003-07-04 20:20:22 +00:00
jdolecek 96af0b754d use Xo/Xc for the //user@server/share part of synopsis, to avoid
the argument count limit
2003-04-11 12:02:09 +00:00
jdolecek 1233bcc56f sprinle __RCSID() 2003-04-04 08:05:32 +00:00
jdolecek 9801788f6d add /etc/nsmb.conf to FILES
refer to /usr/share/examples/smbfs/dot.nsmbrc rather than ./examples/dot.nsmbrc
2003-04-04 07:57:58 +00:00
jdolecek d9bc15eb32 there is no nsmb(8), so don't xref it here
pointed out in private mail by Kurt Schreiner
2003-04-01 11:24:47 +00:00
jdolecek 102ae64e46 remove BUGS section & don't Xr send-pr(1) - the code seems to be generally
working well and could be used without particular fear

use "SMB/CIFS" in the description

bump date
2003-03-31 17:22:31 +00:00
wiz bf95548fc6 Sort sections. 2003-03-03 07:32:29 +00:00
jdolecek 02229c5641 print also the description of error if mount(2) fails 2003-02-24 09:13:08 +00:00
jdolecek f31ba31b00 change smbfs_args:
* g/c unused members 'mount_point', 'root_path', which only take space
* rename 'dev' to 'dev_fd' to more closely match what it is
* add 'export' member to avoid changing this again if ever smbfs would
  be made exportable

bump SMBFS_VERMIN - ABI/API change; mount_smbfs needs to be recompiled
to work again
2003-02-23 22:31:17 +00:00
jdolecek a2e6fb66e5 do not initialize/use member 'mount_point' of struct smbfs_args
allocate mount_point[] on stack
2003-02-23 22:14:09 +00:00
jdolecek 5bfb055309 add TNF copyright and $NetBSD$ RCS Id
add SEE ALSO, HISTORY
adjust BUGS to stress this is experimental and to use send-pr
adjust AUTHORS to include people who did NetBSD port (Matt Debergalis and me)
2003-02-18 20:31:19 +00:00
jdolecek 488fc89a73 use Xo/Xc to work-around our current tmac macro limitation of nine
arguments
2003-02-18 09:55:09 +00:00
jdolecek 0f48fcb071 g/c code not used by NetBSD
constify mopts[]
2003-02-18 09:53:55 +00:00
jdolecek 8fec3ea9ce Import once more, this time stripping $'s from RCS Ids, so that they
are kept intact.
2003-02-16 09:19:10 +00:00
jdolecek ccd9e5eeff g/c, use version from sbin/mount/ directly 2003-02-16 09:14:33 +00:00
jdolecek 42cf4439c1 Import the userland part of FreeBSD smbfs (mount_smbfs, smutil, libsmb) 2003-02-16 08:15:07 +00:00