VPB SerialNumber field...

What is the purpose of the SerialNumber field in the VPB stuct, and does its value persist?

This is a filesystem question, but I’m going to answer it anyways. NTFSD
is the better alias as the list owner will happy
to point out. It’s the ‘volume serial number’ (the one you see displayed
when you type ‘label’ in the cmd window.
You shouldn’t be changing it. It will not be persisted to the boot
sector & you will just tamper with filesystems (such as FAT) that cache
handles for removable media that reappear
Ravi

-----Original Message-----
From: Nate Bushman [mailto:xxxxx@powerquest.com]
Sent: Thursday, October 03, 2002 2:40 PM
To: NT Developers Interest List
Subject: [ntdev] VPB SerialNumber field…

What is the purpose of the SerialNumber field in the VPB stuct, and does
its value persist?


You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%

>What is the purpose of the SerialNumber field in the VPB stuct, and
does its value persist?

It is filled at mount to some value derived from the metadata. For
FAT, Volume Serial Number is used. The on-disk value for this is never
changed, just set on creating a blank volume once.

The purpose of this field is FSD’s remount path - namely the
comparison whether the newly arrived removable media was already
mounted a bit ago, and the old volume must be remounted.

Max