Re: How to mount a volume as a current user.

Tech-Archive recommends: Fix windows errors by optimizing your registry



I understant what you mean.

But in my case, I've got a driver which instantiate a volume (it's a file
behind).
This action is not a "mount" it's a volume creation.
After that my driver create an entry in the mount manager. Is itnot a
"mount", for me it's a reference with a name like "Volume{GUID}"
(IOCTL_MOUNTMGR_CREATE_POINT).
Then, and it was what i was missing, I create a junction point to this
"POINT". And THAT is, on my point of view, a "mount".

Do I miss something ?

Thanks for the discussion.


"Pavel A." wrote:

"JPB" <JPB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:20293D0F-FC79-4F0E-B378-3B9010EA4A0D@xxxxxxxxxxxxxxxx
So just a word to explain that it can be done.

A mount point is just a kind of "reparse point".

A user can create a reparse point if he add NTFS rights.

Here is the URL wich help me :

http://www.flexhex.com/docs/articles/hard-links.phtml#download

I wrote a small tool Mountvol like wich can be used as user.

thanks for your suggestions.

Then you do _not_ mount the volume, you just add another hard or soft link
to already mounted volume (so the link target is accessible).
This is not obvious, because usually Windows auto-mounts
new disks.

Try to remove all mount points to the disk (by using disk manager as admin).
This will dismount the volume, and then your additional links will cease to
work
(acessing them as regular user will not cause remount).

Thanks for reading.
--PA


"Pavel A." wrote:

"JPB" <JPB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1ADEB990-189E-4273-9633-110DF1C2E491@xxxxxxxxxxxxxxxx
....
Not be able to mount as a user is a strange feature for me.

Why? Mounting a new volume is a privileged action, even in the Other
Better
OS.
Make a service to mount on users behalf.

--PA




.



Relevant Pages

  • Re: Problems booting after new motherboard - label /1 not found
    ... Just to let you know I have fixed this issue, it was because of a missing driver for the disk. ... Boot from the rescue CD ... mount: error 2 mounting ext3 ... I notice it says, "Loading SATA_VIA driver", so I wonder if I need to get that driver onto my existing system? ...
    (Fedora)
  • Re: Weird /dev2/root2 errors trying to boot 2.6.4
    ... | mount: /dev2/root2 is not a valid block device ... the driver for your SATA controller, mount the disk, edit /etc/modules ...
    (Debian-User)
  • Re: Cannot mount cdrom? Pls help
    ... checking for saved MCA error records ... CPU 1 SAL log contains MCA error record ... > EFI Time Services Driver v0.4 ... I also cannot mount /media/cdrom. ...
    (linux.redhat.misc)
  • RE: Unable to mount the SD card formatted using the DIGITAL CAMREA on Linux box
    ... Below are my driver messages logged at initialization time & sfdisk call ... TIFM INFO | TI init Routine Invoked! ... Mount: you must specify the filesystem type ... If you are not the intended recipient, ...
    (Linux-Kernel)
  • Re: UDC performance on PXA270
    ... I did some more tests on my PXA270 UDC using the Mass_Storage_Class. ... Mount my Flash File System as the Mass Storage: ... Mount a USB Stick as the Mass Storage: ... driver ...
    (microsoft.public.windowsce.platbuilder)