Keeping your Poudriere dry!

blubee blubeeme gurenchan at gmail.com
Tue Dec 12 18:31:11 UTC 2017


On Tue, Dec 12, 2017 at 11:29 PM, blubee blubeeme <gurenchan at gmail.com>
wrote:

> Apologize for the ignorance but I just ran a testport and things seemingly
> went well until I tried to update my ports tree, then I get this error:
>  sudo poudriere ports -u -p HEAD
> [00:00:00] Error: Ports tree "HEAD" is currently mounted and being used.
>
> mount command shows this
> -------------------------------------
> zroot/poudriere on /zroot/poudriere (zfs, local, noatime, nfsv4acls)
> zroot/poudriere/data on /usr/local/poudriere/data (zfs, local, noatime,
> nfsv4acls)
> zroot/poudriere/data/.m on /usr/local/poudriere/data/.m (zfs, local,
> noatime, nfsv4acls)
> zroot/poudriere/data/cache on /usr/local/poudriere/data/cache (zfs,
> local, noatime, nfsv4acls)
> zroot/poudriere/data/logs on /usr/local/poudriere/data/logs (zfs, local,
> noatime, nfsv4acls)
> zroot/poudriere/data/packages on /usr/local/poudriere/data/packages (zfs,
> local, noatime, nfsv4acls)
> zroot/poudriere/data/wrkdirs on /usr/local/poudriere/data/wrkdirs (zfs,
> local, noatime, nfsv4acls)
> zroot/poudriere/jails on /zroot/poudriere/jails (zfs, local, noatime,
> nfsv4acls)
> zroot/poudriere/jails/freebsd_12-current on /usr/local/poudriere/jails/freebsd_12-current
> (zfs, local, noatime, nfsv4acls)
> zroot/poudriere/ports on /zroot/poudriere/ports (zfs, local, noatime,
> nfsv4acls)
> zroot/poudriere/ports/HEAD on /usr/local/poudriere/ports/HEAD (zfs,
> local, noatime, nfsv4acls)
> zroot/poudriere/jails/freebsd_12-current-HEAD-ref on
> /usr/local/poudriere/data/.m/freebsd_12-current-HEAD/ref (zfs, local,
> noatime, nfsv4acls)
> /usr/local/poudriere/jails/freebsd_12-current/rescue on
> /usr/local/poudriere/data/.m/freebsd_12-current-HEAD/ref/rescue (nullfs,
> local, read-only)
> /usr/local/poudriere/jails/freebsd_12-current/usr/src on
> /usr/local/poudriere/data/.m/freebsd_12-current-HEAD/ref/usr/src (nullfs,
> local, read-only)
> devfs on /usr/local/poudriere/data/.m/freebsd_12-current-HEAD/ref/dev
> (devfs, local, multilabel)
> fdescfs on /usr/local/poudriere/data/.m/freebsd_12-current-HEAD/ref/dev/fd
> (fdescfs)
> procfs on /usr/local/poudriere/data/.m/freebsd_12-current-HEAD/ref/proc
> (procfs, local)
> linprocfs on /usr/local/poudriere/data/.m/freebsd_12-current-HEAD/ref/compat/linux/proc
> (linprocfs, local)
> tmpfs on /usr/local/poudriere/data/.m/freebsd_12-current-HEAD/ref/.p
> (tmpfs, local)
> /var/tmp/ccache on /usr/local/poudriere/data/.m/f
> reebsd_12-current-HEAD/ref/root/.ccache (nullfs, local)
> tmpfs on /usr/local/poudriere/data/.m/freebsd_12-current-HEAD/ref/wrkdirs
> (tmpfs, local)
> /usr/local/poudriere/ports/HEAD on /usr/local/poudriere/data/.m/f
> reebsd_12-current-HEAD/ref/usr/ports (nullfs, local, read-only)
> /usr/local/poudriere/data/packages/freebsd_12-current-HEAD on
> /usr/local/poudriere/data/.m/freebsd_12-current-HEAD/ref/packages
> (nullfs, local, read-only)
> /usr/ports/distfiles on /usr/local/poudriere/data/.m/f
> reebsd_12-current-HEAD/ref/distfiles (nullfs, local)
> tmpfs on /usr/local/poudriere/data/.m/freebsd_12-current-HEAD/ref/var/db/ports
> (tmpfs, local)
>
>
> so there's a lot of poudriere stuff still mounted. I can't figure out how
> to umount that stuff.
> How can manually umount the PORTS tree mounted by a poudriere job?
>
> Also
> if I run testport, can I do a svn diff and get the diff file after a
> successful build?
>
> I had to do some really silly stuff to get an svn diff after running
> testport.
>

Okay so I was able to go through and recursively umount each directory from
/usr/local/poudriere/data/.m/*

This still leaves the other question; Can I make a svn diff from poudriere
ports tree?


More information about the freebsd-ports mailing list