David Dyer-Bennet <[email protected]> wrote: > On Sat, January 10, 2009 18:05, Alan M Wright wrote: >> On 01/10/09 08:29, David Dyer-Bennet wrote: >>> How do I set the "volume label" as seen on the windows boxes? Both CIFS >>> and ZFS manuals come up empty on that search string. >> >> The ZFS pool name is returned as the volume name. > > That's not what I'm getting, quite. > > The pool is zp1, but it mounts at /home, and *that's* what I'm getting as > the volume name (well, not with the slash).
Sorry, to be more accurate, the volume name will be the first component of the shared path. > I don't know how common this is, but Thumbs Plus (a photo indexing > program) keeps track of non-local volumes by the volume label. This is > useful since removable and network drives can show up on different drive > letters or whatever. I'm replacing Samba on an older Nevada build with > CIFS on Open Solaris 2008.11, and this appears to have changed the volume > label on me, invalidating the database. This is a problem since the > database has all the keyword-to-image mapping information. > > So there's no way for me to change the volume label on a CIFS export now? Only by changing the shared path such that the first component of the path is the volume name you need. > (I believe I have ways to get into the database and modify the fields > describing where the files exist, if I have to, so this isn't disastrous > for me; but if the database were in a more proprietary format, or if I > were less adventurous, this could be a show-stopper.) > > I would urge that there be a way to set the volume label on each CIFS > export (a property or something). Please submit an RFE and I'll look into it. Please include the context above as to why it would be desirable to add this functionality. Thanks, Alan > David Dyer-Bennet, [email protected]; http://dd-b.net/ > Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ > Photos: http://dd-b.net/photography/gallery/ > Dragaera: http://dragaera.info > > _______________________________________________ > cifs-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/cifs-discuss > _______________________________________________ cifs-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
