[BUGS] An ideal filesystem, as seen on my FreeBSD/ZFS NAS.

Mr Andrew Sinclair syncman0x at gmail.com
Thu May 26 17:46:20 AEST 2022


Given that the fate of this mailing list has come into question, I offer
for debate, a map of an ideal file system.

The gist of it is, (1) we start by adding a folder named /sole/ to the
system root. This folder is always kept in sync between all hosts under
your control via unison or syncthing. It will never be touched by the
operating system. The /sole/ folder should contain no vendor
interpretations of what should be in the user folder by default; Melodies,
Pictures, .config, .local; that kind of thing. If it does contain any files
influencing system activity, they would be symbolic links to files the
operator is comfortable to synchronise in a heterogeneous environment. I
keep my rclone configuration in such a folder.

The /home/ folder retains its original purpose for system generated files
deemed impractical for synchronisation; that is to say, application
configuration and cache folders specific to one host.

(2) We can then speculate on four root-level folders that ought to be seen
on a NAS, running FreeBSD with a ZFS root ideally.

YYYY,WW:2022,21;
________________
/internet/
    ./file//
        ./archived//
            ./sqlite-autoconf-3380500.tar.gz ->
../../https/www.sqlite.org/2022/sqlite-autoconf-3380500.tar.gz
        ./backup//
            ./cygwin--setup-x86_64.exe ->
../../https/cygwin.com/setup-x86_64.exe
        ./curate//
            ./00, The Global Menu//
            ./10, Resource 1//
                ./cygwin--setup-x86_64.exe ->
../../https/cygwin.com/setup-x86_64.exe
            ./20, Resource 2//
                ./sqlite-autoconf-3380500.tar.gz ->
../../https/www.sqlite.org/2022/sqlite-autoconf-3380500.tar.gz
            ./99, your choice please//
        ./database//
            ./internet.sql
            ./internet.sqlite
        ./revision//
            ./github.com//
                ./git//
                    ./git//
            ./svn.freebsd.org//
                ./base//
                    ./stable//
        ./software//
            ./java//
            ./netbeans//
            ./eclipse//
            ./libreoffice//
    ./ftp//
        ./ftp.freebsd.org//
            ./pub//
    ./http//
        ./www.w3.org//
            ./standards//
    ./https//
        ./cygwin.com//
            ./setup-x86_64.exe
        ./www.sqlite.org//
            ./2022//
                ./sqlite-autoconf-3380500.tar.gz

/intranet/
    ./0,common//
        ./file//
            ./archived//
                ./2000-00-00--00-00-00--mywork.txz
            ./backup//
                ./mywork.txz
            ./curate//
                ./00, The Regional Menu//
                ./10, Option 1//
                    ./mywork.txz -> ../../backup/mywork.txz
                ./20, Option 2//
                    ./2000-00-00--00-00-00--mywork.txz ->
../../archived/2000-00-00--00-00-00--mywork.txz
                ./99, your choice please//
            ./database//
                ./common.sql
                ./common.sqlite
            ./revision//
                ./myrepo//
            ./software//
                ./mysource//
        ./ftp//
        ./http//
        ./https//
    ./1,personal//
    ./2,professional//
    ./3,public//
        ./file//
            ./curate//
                ./00, The Public Menu//
                ./99, your choice please//
            ./database//
                ./public.sql
                ./public.sqlite
        ./ftp//
        ./http//
        ./https//
    ./afs//
    ./nfs//

/host/
    ./$(hostname --domain)//
        ./$(hostname --short)//
            ./etc//
            ./var//
            ./home//
                ./cccc//
                    ./.config//
                    ./.local//
                ./tttt//
                    ./.unison//
                ./____// -> ./cccc//
                ./@@@@// -> ./tttt//
/user/
    ./home//
        ./cccc//
            ./.config//
            ./.local//
            ./Audios// -> ../../sole/cccc/common/Audios//
            ./Documents// -> ../../sole/cccc/document//
            ./Downloads// -> ../../sole/cccc/download//
            ./Music// -> ../../sole/cccc/common/Music//
            ./Pictures// -> ../../sole/cccc/common/Pictures//
            ./Videos// -> ../../sole/cccc/common/Videos//
        ./tttt//
            ./.unison//
        ./____// -> ./cccc//
        ./@@@@// -> ./tttt//
    ./sole//
        ./cccc//
            ./common//
                ./Audios//
                ./Melodies//
                ./MultiMedia//
                ./Pictures//
                ./Videos//
            ./config//
                ./dot//
                    ./.config//
                    ./.local//
                ./etc//
                    ./zsh//
            ./document//
                ./ATO//
                ./IRS//
            ./download//
                ./file//
                    ./paid-app//
                    ./paid-pdf//
                ./ftp//
                ./http//
                ./https//
        ./tttt//
                ./dot//
                    ./.emacs//
                    ./.vim//
                ./etc//
                    ./zfs//
        ./____// -> ./cccc//
        ./@@@@// -> ./tttt//
________________


More information about the BUGS mailing list