devfs
[Top] [All Lists]

checking mount status from kernelspace

To: devfs@xxxxxxxxxxx
Subject: checking mount status from kernelspace
From: "Michael F. Brown" <mbrown@xxxxxxx>
Date: Mon, 21 Jan 2002 12:56:55 -0500
Cc: rgooch@xxxxxxxxxxxxxxx
Sender: owner-devfs@xxxxxxxxxxx
User-agent: Mutt/1.3.23i
Hi,

>From kernelspace I'm trying to determine if a devfs filesystem is mounted
in /dev.

Userspace just checks for the existence of /dev/.devfsd, and while I could
hijack sys_call_table[SYS_stat], I thought there must be a cleaner method.

(i.e. call some devfs_ function and check for some definitive return status)

Any ideas?

Thanks.

-Michael F. Brown, EMC Corp.

Email:            mbrown@xxxxxxx

Tue Jan 19 03:14:07 2038 GMT ...tick

<Prev in Thread] Current Thread [Next in Thread>