Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 6601778193C for ; Mon, 30 Nov 2020 01:54:00 +0000 (UTC) Received: by mail-yb1-f176.google.com with SMTP id x2so6007247ybt.11 for ; Sun, 29 Nov 2020 17:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=uQOdhKua6ML9LbvhQAV6OjhV+431JuD6xELUGO0Duu0=; b=CeDnHNkgLjHKr3kBNQ33sWrtYgscBLZ2KWktPY/E2rcg1sBbLh+HLiCnYivLEUDdpp l4YX9xYajy8cyydeUyCjAEYhuVSWNOpNttPgtmPV9dvmB1zaoJKCs8+NiRBycTuTGU7f uMkCHoJzm+vJeo037IVlkKg9vPgWH39iY0yJm299Uy/KGqMZqDzZwJySuyBPnWvK7jKy D0Rbyw/hBmjmeNpS3+2LCR0TO2wDadnvErV671huzDHoyKA/ADxOyqpubRQUH+HECson S0ICleONzNt4zyMXXauOP2Br52FKAmZAgwugjdJdD8pkTSQgcLPIfhNMWq0E6KpKJiPf /I3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=uQOdhKua6ML9LbvhQAV6OjhV+431JuD6xELUGO0Duu0=; b=AebasWzBH72d7K9kVtbwhs0v4+9eIV/NId9qbUj8I7ehNY/jiOogkVYZfVUS48r9M5 NWhgXPRbDxFACggoo6z3vDVztGh1N0Mo1Li7rpLhHCCboyO5NiW1SVGKIXJZf/6U3CZX PNhC42/sr0Ywtr1VkfnsL67lUOxKRYxTv9+kB/uu0M/+t9+bEJa2Yn7xJUpwM4USVF7R CuiNT4ZHb1J2O4uCvRajn0CYxO8Zv0Iyuv+a+hp7j6xgXNZSbLbvKiL8yeC2PRdN1lGK ewufLz2N0qmN6JXcuEwHBZ8WobAW+PTglBKUo5TSdjpTp1/s3HWAoz3HET6kj1GgZMyi BOLA== X-Gm-Message-State: AOAM532OART20LNvzth0yg4uS1M5v543o3F18vpn2Av4MucObW71x0SP DWBjy6HrW1AqNJ3yocDxYj3FCqqOddP9HVrcEZf8b18eeW4= X-Google-Smtp-Source: ABdhPJwIb+JCTk8kK33i8G6hJRV/F6F7wepxZdNcvqCSdHQYDohZh+rKFFjOzeMvJlEE3WSW3XAZoHG0qS470WD92NE= X-Received: by 2002:a25:bfd2:: with SMTP id q18mr26424538ybm.187.1606701238898; Sun, 29 Nov 2020 17:53:58 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:7000:94d1:0:0:0:0 with HTTP; Sun, 29 Nov 2020 17:53:58 -0800 (PST) From: Genoperno Translucente Date: Mon, 30 Nov 2020 02:53:58 +0100 Message-ID: Subject: System functionality questions To: alpine-user@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" In the past I was a user of Tinycore linux, I liked the distro but there were a couple of things I didn't like (not rollingrelease, with new major versions you could lose support for old packages until someone rebuild them and the repository building system was not based on a script system). For other things it was really nice and I didn't understand if I can replicate these things in Alpine because I'm not very experienced. The things I liked so much in Tinycore and I would like to replicate in Alpine: 1) I could start the distro in a write-protected sd, the distro was loaded all in ram without creating any problem. If I wanted to download new packages I had to unmont and extract it, remove the protection and put it back and remount. In theory with Alpine's "diskless mode" or "data mode" it should be possible, it is possible to start Alpine on phisically write protected sd and eventually unmount an remount to download new package? 2) If I wanted to back up system customizations I had to specify in a text file which directories to save and then make a backup (a simple archive). Obviously if the backup directory was on the same sd, it should not be write-protected during the backup. In theory it should be possible to do the same thing with "lbu", but afterwards in Tinycore I could unmount my sd again, this means that it was possible to have all the data on the ram and back up only what was needed when necessary without the need to have a partition always mounted with the customizations. For me it was very convenient because I used the distro on a netbook with internal hd just to save the data and the sd with all the configurations. In this way I had my minimal system very fast, the most shock resistant netbook because I mounted the internal (magnetic and not ssd) hd only if I had to access the data, a longer battery life (with the hd off) and the ability to load the programs I needed just in time (so I did not have to load every time my entire collection of programs in ram). So the question is, is it possible to selectively backup data on an archive (that is reloaded everytime at boot) without needing to have our data saved in a partition with direct access that need to be always mountend, leaving the disk free to be unmounted? 3)the system was virtually "reinstalled" at every boot, i.e. the packages and backup files were decompressed in ram at boot time. The packages to install at boot time were listed in a text file, so each time I could modify the distro by simply adding or removing the packages to install in this text file. At the time, there was no "clean" way to uninstall things with the system running, but in this way after rebooting the system was definitely cleaner than uninstalling on a normal distro like debian, where things could remain installed on the system becasue all saved stuff is tracked in someway. So the question is, diskless/data mode work in the same way? for example every time I could bring the system back to a "vanilla" initial state by simply editing some files? Excuse me for asking these long questions, I've known Alpine for a long time but I've never been able to answer clearly by myself with the time I could dedicate. Thanks in advance for clarifications :)