[PATCH] Volume serial number
Jeremy Allison
jra at samba.org
Mon Nov 7 19:00:47 GMT 2005
On Mon, Nov 07, 2005 at 11:51:47AM -0500, Alexander Bokovoy wrote:
> On Mon, Nov 07, 2005 at 08:39:56AM -0800, Jeremy Allison wrote:
> > On Mon, Nov 07, 2005 at 10:16:08AM -0600, Gerald (Jerry) Carter wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Alexander Bokovoy wrote:
> > >
> > > | This needs to be coordinated with my code in Samba4 for
> > > | volume id management. I'm intending to port it back to Samba
> > > | 3 and put a smb.conf override too.
> > >
> > > So can I assume that you will be ersponsibile for this one?
> > > And I can I can ignore this thread? :-)
> >
> > 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.
Jeremy.
More information about the samba-technical
mailing list