Chad David <[EMAIL PROTECTED]> writes: > > > They are local :). Local means that the fs originates on the local > > > machine.
yes. I realise this now. Note to self, define what it is you are trying to do before trying to do it :( I could have saved so much time if I'd been clearer on that earlier. > > > I think you should be able to call getvfsbyname() and check the flags in > > > the resulting vfsconf struct for VFCF_SYNTHETIC, but I'm not sure how > > > reliable that is. I'm pretty sure devfs is ok, but procfs might not be? Hmm. I've ended up using getfsfile. I'm just checking that the first 4 characters of .fs_spec are /dev I am working on the assumption that all filesystems I want to check would be mounted out of /dev. Other things like proc and devfs wouldn't be, so they would be skipped. Is this a safe assumption ? > > try vn_isdisk(vp, &error) where vp is the vnode pointer to the block > > device? > > > > He is trying to do this from userland, I think...? Yes, I am. The kernel is faaaaaar beyond me for the forseeable future. Thanks for all the help. Merry Christmas and a hacky new year to all :) -- - Wayne Pascoe | WINDOWS: Where do you want to go today? [EMAIL PROTECTED] | LINUX: Where do you want to go tomorrow? http://www.molemanarmy.com | FreeBSD: Are you guys coming or what? | To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message