Thanks so much. Sounds reasonable to add /mnt to that list too, I assume?
The only thing that would be there (on my end) is shares from other
machines and perhaps removable media I'm uninterested in backing up.

Judah

On Mon, Apr 19, 2021 at 12:04 AM Joshua M. Clulow via openindiana-discuss <
openindiana-discuss@openindiana.org> wrote:

> On Sun, 18 Apr 2021 at 21:15, Judah Richardson
> <judahrichard...@gmail.com> wrote:
> > On Linux and FreeBSD, there are some directories, such as /proc, that
> > generally shouldn't be backed up or aren't worth backing up since a new
> > installation regenerates them or generates their own anyway.
> >
> > What are those directories for OpenIndiana?
>
> I would probably exclude at least "/proc" and "/dev" and "/system".
> It might be worth taking a look at the filesystem(5) manual page, or
> perhaps you can look at all of the things that are mounted from file
> systems other than ZFS to get some hints on areas you might want to
> exclude; e.g.,
>
>     $ awk '$3 != "zfs" { printf("%-20s %s\n", $2, $3); }' /etc/mnttab |
> sort
>     /dev                 dev
>     /dev/fd              fd
>     /devices             devfs
>     /etc/dfs/sharetab    sharefs
>     /etc/mnttab          mntfs
>     /etc/svc/volatile    tmpfs
>     /lib/libc.so.1       lofs
>     /net                 autofs
>     /proc                proc
>     /system/boot         bootfs
>     /system/contract     ctfs
>     /system/object       objfs
>     /tmp                 tmpfs
>     /var/run             tmpfs
>
>
> Cheers.
>
> --
> Joshua M. Clulow
> http://blog.sysmgr.org
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss@openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to