PDA

View Full Version : What order does Disk Management use?


micky[_2_]
August 5th 15, 06:34 PM
What order does Disk Management use?

I have three hard drives, 1 intenrnal and 2 in a dock, and the
partitions in each are
D
E, F, G, I
H, J

But in the list at the top the order is, from top to bottom,
F, I, C, G, Y, D, H, J

This isn't in order by size, or by percentage full
FAT32 is interspersed with NTFS

What order is it in?

Paul
August 5th 15, 07:39 PM
micky wrote:
> What order does Disk Management use?
>
> I have three hard drives, 1 intenrnal and 2 in a dock, and the
> partitions in each are
> D
> E, F, G, I
> H, J
>
> But in the list at the top the order is, from top to bottom,
> F, I, C, G, Y, D, H, J
>
> This isn't in order by size, or by percentage full
> FAT32 is interspersed with NTFS
>
> What order is it in?
>

You're going to need some articles.

http://windowsitpro.com/storage/mini-treatise-storage-device-identifiers-ntfs

http://www.uwe-sieber.de/usbdlm_e.html

When you're bored, you can try "mountvol"
for additional fun.

So the question would be, which "reliable"
disk identifier can be used in a script ?
That's the real question (it isn't a drive
letter obviously), and I don't have an answer
for you. I tried the identifier from "mountvol"
here, and it didn't work! Try

dir <mountvol_identifier_string>

and see if you can get it to work for you.

You're supposed to be able to do

CHKDSK <mountvol_identifier_string>

but I'm not going to even try that, unless
I can get the "dir" version working first.

Paul

B00ze[_2_]
August 5th 15, 11:47 PM
On 2015-08-05 14:39, Paul > wrote:

[snip]

> You're going to need some articles.
>
> http://windowsitpro.com/storage/mini-treatise-storage-device-identifiers-ntfs
> http://www.uwe-sieber.de/usbdlm_e.html
>
> When you're bored, you can try "mountvol"
> for additional fun.
>
> So the question would be, which "reliable"
> disk identifier can be used in a script ?
> That's the real question (it isn't a drive
> letter obviously), and I don't have an answer
> for you. I tried the identifier from "mountvol"
> here, and it didn't work! Try
>
> dir <mountvol_identifier_string>
>
> and see if you can get it to work for you.
>
> You're supposed to be able to do
>
> CHKDSK <mountvol_identifier_string>
>
> but I'm not going to even try that, unless
> I can get the "dir" version working first.
>
> Paul

Strangely, you can't list the root directory of a \\?\volume, at least "I" can't get it to work, but I can list the contents of folders. Assume you have a TEMP folder on D: drive, then you can do:

D:\>dir \\?\Volume{1a0d09c9-111e-11e3-9a16-806e6f6e6963}\temp

Volume in drive \\?\Volume{1a0d09c9-111e-11e3-9a16-806e6f6e6963} is WORK
Volume Serial Number is 1A8A-8D3F

Directory of \\?\Volume{1a0d09c9-111e-11e3-9a16-806e6f6e6963}\temp

2015-08-04 18:52 <DIR> .
2015-08-04 18:52 <DIR> ..
2015-04-30 23:19 <DIR> Apps
2015-08-04 18:52 <DIR> MyTemp
2015-08-05 18:36 <DIR> System
2015-08-05 18:37 <DIR> User

Regards,

--
! _\|/_ Sylvain /
! (o o) Member-+-David-Suzuki-Fdn/EFF/Red+Cross/Planetary-Society-+-
oO-( )-Oo Redundant book title: "Macs for dummies."

Paul
August 6th 15, 12:32 AM
B00ze wrote:
> On 2015-08-05 14:39, Paul > wrote:
>
> [snip]
>
>> You're going to need some articles.
>>
>> http://windowsitpro.com/storage/mini-treatise-storage-device-identifiers-ntfs
>> http://www.uwe-sieber.de/usbdlm_e.html
>>
>> When you're bored, you can try "mountvol"
>> for additional fun.
>>
>> So the question would be, which "reliable"
>> disk identifier can be used in a script ?
>> That's the real question (it isn't a drive
>> letter obviously), and I don't have an answer
>> for you. I tried the identifier from "mountvol"
>> here, and it didn't work! Try
>>
>> dir <mountvol_identifier_string>
>>
>> and see if you can get it to work for you.
>>
>> You're supposed to be able to do
>>
>> CHKDSK <mountvol_identifier_string>
>>
>> but I'm not going to even try that, unless
>> I can get the "dir" version working first.
>>
>> Paul
>
> Strangely, you can't list the root directory of a \\?\volume, at least "I" can't get it to work, but I can list the contents of folders. Assume you have a TEMP folder on D: drive, then you can do:
>
> D:\>dir \\?\Volume{1a0d09c9-111e-11e3-9a16-806e6f6e6963}\temp
>
> Volume in drive \\?\Volume{1a0d09c9-111e-11e3-9a16-806e6f6e6963} is WORK
> Volume Serial Number is 1A8A-8D3F
>
> Directory of \\?\Volume{1a0d09c9-111e-11e3-9a16-806e6f6e6963}\temp
>
> 2015-08-04 18:52 <DIR> .
> 2015-08-04 18:52 <DIR> ..
> 2015-04-30 23:19 <DIR> Apps
> 2015-08-04 18:52 <DIR> MyTemp
> 2015-08-05 18:36 <DIR> System
> 2015-08-05 18:37 <DIR> User
>
> Regards,
>

I wouldn't have guessed that :-)

So maybe there is a reliable way for Micky to do scripting.

Just as the output of icacls "save" can't be applied to a
full partition - except if you exit the file and add "."
to the first line. Then, it works (apparently). Something
I haven't bothered to test. One file permissions expert claimed,
that you couldn't edit such a file, but someone did and it
worked. Maybe it was a change to icacls on a later OS
that made it possible.

paul


Paul

B00ze[_2_]
August 7th 15, 01:09 AM
On 2015-08-05 19:32, Paul > wrote:

> Just as the output of icacls "save" can't be applied to a
> full partition - except if you exit the file and add "."
> to the first line. Then, it works (apparently). Something
> I haven't bothered to test. One file permissions expert claimed,
> that you couldn't edit such a file, but someone did and it
> worked. Maybe it was a change to icacls on a later OS
> that made it possible.

Ya, icacls is strange, you can save the ACL of a FILE, but when it comes
time to restore, you have to specify the FOLDER in which the file
resides, and it doesn't like quotes, so I've had to use SUBST to map a
drive to the folder in order to restore security. I never tried it on
the root of a volume tho, didn't know it didn't work. And sure, you can
edit the saved ACL dump, it's plain text :-)

Best Regards,

--
! _\|/_ Sylvain /
! (o o) Member-+-David-Suzuki-Fdn/EFF/Red+Cross/Planetary-Society-+-
oO-( )-Oo An elephant is a mouse built to government specs.

Billy Ray Ferrell Running For \USA Vice President 2016\
August 8th 15, 05:45 PM
"micky" > wrote in message
...
> What order does Disk Management use?
>
> I have three hard drives, 1 intenrnal and 2 in a dock, and the
> partitions in each are
> D
> E, F, G, I
> H, J
>
> But in the list at the top the order is, from top to bottom,
> F, I, C, G, Y, D, H, J
>
> This isn't in order by size, or by percentage full
> FAT32 is interspersed with NTFS
>
> What order is it in?
>

First Boot on ?

You can set it up in any order you like
But keep F at the First one in order
to start up your pc

Google