Project

General

Profile

Bug #1075

smbsrv missing /dev/* link

Added by Gordon Ross over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2011-05-29
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Drivers normally arrange to have a symbolic link like:

  /dev/smbsrv -> /devices/pseudo/...

For a driver that supports zones, the zone will also
get a /dev/* entry, but in that case true device node.
The zone setup uses the /dev/* links in the global zone
to get the major/minor for the per-zone /dev nodes,
so the GZ needs these /dev/* links.

Want this fixed for smbsrv, as a prerequisite for
supporting non-global zones with this driver.

History

#1

Updated by Gordon Ross over 8 years ago

  • Subject changed from smbsrv missing /etc/devlink.tab entry to smbsrv missing /dev/* link

External packages with a driver do this via devlink.tab, updated via a devlink property in the driver entry in the package manifest.

Internal packages (part of the OS) normally use an entry in $SRC/cmd/devfsadm, i.e. misc_link.c. Updating devfsadm for smbsrv.

#2

Updated by Gordon Ross over 8 years ago

  • Status changed from New to Resolved

changeset: 13383:47508b8cd2eb
tag: tip
user: Gordon Ross <>
date: Fri Jun 03 11:40:03 2011 -0400

description:
1075 smbsrv missing /dev/* link
1076 smbsrv install and packaging cleanup
1088 smbclient devlink.tab and devfsadm cleanup
Reviewed by: Garrett D'Amore <>
Reviewed by: Eric Schrock <>
Reviewed by: Dan McDonald <>
Approved by: Garrett D'Amore <>

modified:
exception_lists/packaging
usr/src/cmd/devfsadm/misc_link.c
usr/src/cmd/mdb/intel/amd64/smbsrv/Makefile
usr/src/cmd/mdb/intel/ia32/smbsrv/Makefile
usr/src/cmd/mdb/sparc/v9/smbsrv/Makefile
usr/src/cmd/smbsrv/smbd/smbd_main.c
usr/src/lib/smbsrv/libsmb/common/smb_kmod.c
usr/src/pkg/manifests/service-file-system-smb.mf
usr/src/pkg/manifests/system-file-system-smb.mf
usr/src/uts/intel/smbsrv/Makefile
usr/src/uts/sparc/smbsrv/Makefile

Also available in: Atom PDF