[PATCH] Volume serial number
Alexander Bokovoy
ab at samba.org
Mon Nov 7 20:06:06 GMT 2005
On Mon, Nov 07, 2005 at 11:00:47AM -0800, Jeremy Allison wrote:
> > > This is a really simple patch for Samba3 so I'm inclined to
> > > just add it in. I can't see any possible conflicts with Samba4.
> > We do it differently so it is not good to have different behaviour.
>
> Well Samba3 has been generating these volume-id's using a hash
> on the name for a long time. Samba4 uses the ino from the directory
> containing the share. It doesn't use a uuid. We're not talking
> about the same thing. Samba4 uses uuids in RAW_QFS_OBJECTID_INFORMATION:
> which in Samba3 is returned as zero.
Yes, that's correct -- I've been wrong and actually mixed them up. Does it
make sense to unify the code for both paths and:
- return hash of uuid or smb.conf-set value for volume-id
- return uuid or smb.conf-set value for object-id
?
--
/ Alexander Bokovoy
Samba Team http://www.samba.org/
ALT Linux Team http://www.altlinux.org/
Midgard Project Ry http://www.midgard-project.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20051107/95d1d7c2/attachment.bin
More information about the samba-technical
mailing list