determining nfs mount

From: bill pursell (bill.pursell_at_gmail.com)
Date: 11/27/05


Date: 27 Nov 2005 11:36:56 -0800

How do you tell if a mount point is local or networked? I'm currently
parsing /proc/mounts and checking to see if the device name contains a
':'. That feels not quite as stupid as implementing readdir() with
system("ls *"), but it's close.



Relevant Pages

  • Re: HELP! - Trashed UDF CD - I need to recover it
    ... > CD-R (I know it's stupid, but I did tell her to copy it to the hard ... > UDF disk to go back an update or two - the last time she saved her ... I tried to mount and/or read the CD, ... udf support has an "undelete" mount option that displays all the ...
    (alt.os.linux.suse)
  • Re: Name for a webalizer.hist-parsing module?
    ... YorHel wrote: ... reaction, so I'm also trying here before I do stupid things. ... I was really surprised when I couldn't find a module for parsing the ...
    (comp.lang.perl.modules)
  • Re: 5 wheel giraffe on ebay
    ... jamessd wrote: ... kinda tight but that seems like a really stupid idea. ... someone mount it though ...
    (rec.sport.unicycling)
  • Re: devpts multiple instances feedback
    ... This is a little untested patch to massage the mount code into about ... * devpts ends up parsing options two times during mount, ... * Mount a new instance of devpts. ... Mounts with 'newinstance' option create a new private namespace. ...
    (Linux-Kernel)
  • Re: devpts multiple instances feedback
    ... * devpts ends up parsing options two times during mount, ... * Mount a new instance of devpts. ... Mounts with 'newinstance' option create a new private namespace. ...
    (Linux-Kernel)