Re: Cannot unmount nullfs in current

2013-04-19 Thread Craig Rodrigues
On Thu, Apr 18, 2013 at 4:27 PM, Craig Rodrigues rodr...@freebsd.orgwrote: Hi, I am trying to build some software which uses nanobsd, and mounts/unmounts many nullfs mounts while it runs. I am hitting failures where I cannot unmount nullfs file systems. I cannot figure out why. I

Re: Cannot unmount nullfs in current

2013-04-19 Thread hiren panchasara
On Apr 18, 2013 7:04 PM, Craig Rodrigues rodr...@freebsd.org wrote: Hi, I am trying to build some software which uses nanobsd, and mounts/unmounts many nullfs mounts while it runs. I am hitting failures where I cannot unmount nullfs file systems. I cannot figure out why. I am also

Re: Cannot unmount nullfs in current

2013-04-19 Thread Andriy Gapon
on 19/04/2013 02:27 Craig Rodrigues said the following: I can't figure out why this mount is busy. If I do: umount -f /opt2/branches/freenas/os-base/amd64/_.w/usr/ports/distfiles it unmounts, but I don't like using the '-f' flag to force the unmount. Any ideas? fstat? -- Andriy

Re: Cannot unmount nullfs in current

2013-04-19 Thread Ian Lepore
On Fri, 2013-04-19 at 01:12 -0700, Craig Rodrigues wrote: On Thu, Apr 18, 2013 at 4:27 PM, Craig Rodrigues rodr...@freebsd.orgwrote: Hi, I am trying to build some software which uses nanobsd, and mounts/unmounts many nullfs mounts while it runs. I am hitting failures where I cannot

Re: Cannot unmount nullfs in current

2013-04-19 Thread Alexander Yerenkow
Can we pretend an user-friendly-os and spam to syslog corresponding blocking file and process whenever umount going to fail ? :) Like, make this to be default ( or with some key at least ) behavior of umount. Regards, Alexander Yerenkow ___

Re: Cannot unmount nullfs in current

2013-04-19 Thread Craig Rodrigues
On Fri, Apr 19, 2013 at 7:30 AM, hiren panchasara hi...@freebsd.org wrote: 00:02:37 ### log: /opt2/branches/freenas/os-base/amd64/_.cust.add_pkg_archivers_lzo2 I do not get this. do_build.sh: ERROR: FreeNAS /opt2/branches/freenas/nanobsd/os-base build FAILED; please check above log

Re: Cannot unmount nullfs in current

2013-04-19 Thread hiren panchasara
On Fri, Apr 19, 2013 at 11:17 AM, Craig Rodrigues rodr...@freebsd.org wrote: On Fri, Apr 19, 2013 at 7:30 AM, hiren panchasara hi...@freebsd.org wrote: 00:02:37 ### log: /opt2/branches/freenas/os-base/amd64/_.cust.add_pkg_archivers_lzo2 I do not get this. do_build.sh: ERROR: FreeNAS

Re: Cannot unmount nullfs in current

2013-04-19 Thread Craig Rodrigues
On Fri, Apr 19, 2013 at 11:36 AM, hiren panchasara hi...@freebsd.orgwrote: I had tried that without success. I did not get any pointer to where the error might be. I may have failed well before starting any building. One of the reasons might be that I had git port without svn support. Some

Re: Cannot unmount nullfs in current

2013-04-19 Thread Craig Rodrigues
On Fri, Apr 19, 2013 at 6:35 AM, Ian Lepore i...@freebsd.org wrote: I worked around this kind of problem by putting a single entry in /usr/local/etc/gamin/gaminrc: poll /* That's one option. I used a hammer approach, and after reading

Re: Cannot unmount nullfs in current

2013-04-19 Thread hiren panchasara
On Fri, Apr 19, 2013 at 12:07 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Fri, Apr 19, 2013 at 11:36 AM, hiren panchasara hi...@freebsd.org wrote: I had tried that without success. I did not get any pointer to where the error might be. I may have failed well before starting any

Re: Cannot unmount nullfs in current

2013-04-19 Thread Craig Rodrigues
On Fri, Apr 19, 2013 at 2:36 PM, hiren panchasara hi...@freebsd.org wrote: I believe that was the problem. Installing devel/git-subversion fixed it for me. I will poke freenas folks to add this instruction on their git page for not-so-smart souls like myself. :-) Thanks, Hiren See:

Re: Cannot unmount nullfs in current

2013-04-19 Thread hiren panchasara
On Fri, Apr 19, 2013 at 2:56 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Fri, Apr 19, 2013 at 2:36 PM, hiren panchasara hi...@freebsd.org wrote: I believe that was the problem. Installing devel/git-subversion fixed it for me. I will poke freenas folks to add this instruction on their

Cannot unmount nullfs in current

2013-04-18 Thread Craig Rodrigues
Hi, I am trying to build some software which uses nanobsd, and mounts/unmounts many nullfs mounts while it runs. I am hitting failures where I cannot unmount nullfs file systems. I cannot figure out why. Here is more info. SYSTEM == I am running amd64, current build at this revision: