Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTFSD
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Drive Mapping

OSR_Community_UserOSR_Community_User Member Posts: 110,217
is there a way that a file system filter driver can know whether network
drives are being mapped or unmapped?

i attempted to attach to NTFS, FAT and RDR when the driver loads
automatically on system startup. however, it failed to attach to RDR and i
think this is due to the drives not being mapped yet. it will work if i load
it manually after system startup. but it will still not know if drives are
mapped and unmapped after that...

Ho Mun Chuen
@@ "Not everything that counts can be counted;
<" )~ and not everything that can be counted counts"
/\/\ ..... Albert Einstein

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    There is no notification function to detect redirector mounts.(for NT4)

    Also note that you may have the redirector loaded without any drive mapped.
    Loading redirectors
    and mapping remote drives are separate tasks. You can attach to a redirector
    without drives mapped.

    To hook redirectors you must check periodically to test for the presence of
    "LanManRedirector", "NwRdr", etc.
    An independent system thread will do the work.


    Inaki.

    > -----Original Message-----
    > From: Ho Mun Chuen
    > Sent: mi?rcoles 12 de abril de 2000 5:15
    > To: File Systems Developers
    > Subject: [ntfsd] Drive Mapping
    >
    > is there a way that a file system filter driver can know whether network
    > drives are being mapped or unmapped?
    >
    > i attempted to attach to NTFS, FAT and RDR when the driver loads
    > automatically on system startup. however, it failed to attach to RDR and i
    > think this is due to the drives not being mapped yet. it will work if i
    > load
    > it manually after system startup. but it will still not know if drives are
    > mapped and unmapped after that...
    >
    > Ho Mun Chuen
    > @@ "Not everything that counts can be counted;
    > <" )~ and not everything that can be counted counts"
    > /\/\ ..... Albert Einstein
    >
    >
    > ---
    > You are currently subscribed to ntfsd as: [email protected]
    > To unsubscribe send a blank email to $subst('Email.Unsub')
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Internals & Software Drivers 30 Nov 2020 LIVE ONLINE
Writing WDF Drivers 7 Dec 2020 LIVE ONLINE
Developing Minifilters Early 2021 LIVE ONLINE