First, make your config file:
vi /etc/avahi/services/smb.service
Add this XML:
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_smb._tcp</type>
<port>445</port>
</service>
</service-group>
Then, restart the avahi MDNS broadcast service:
svcadm restart svc:/system/avahi-bridge-dsd:default
ok boot
blake irvin's smattering of useful bits.
>Hire< him if you like.
Tuesday, January 05, 2010
Broadcasting the OpenSolaris CIFS/SMB Service Automagically
Posted by
blake
at
12:16 AM
0
comments
Labels: leopard, opensolaris, os x, solaris, unix
Thursday, August 13, 2009
Seeing Where Big ZFS Snapshots Are
Here's a handy command to find out how much data is used by snapshots in your zfs filesystems:
zfs get -r usedbysnapshots [dataset] | grep -v @
A command that gives a higher-level overview is:
zfs list -r -o space [dataset]
Posted by
blake
at
2:10 PM
0
comments
Subscribe to:
Posts (Atom)