LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Password
Bedrock Linux This forum is for the discussion of Bedrock Linux.

Notices


Reply
  Search this Thread
Old 04-12-2016, 11:54 AM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
first strata: naming convention


I've been going through the documentation for Nyla. Wow! Things have changed since the previous version!

Anyway, to my actual question. From the documentation, regarding putting in the first strata:
Quote:
You'll need to come up with some other name for this stratum. Then, later, rootfs will be aliased to this name so that either option will refer to the same stratum. If you did a hijack install and are keeping the hijacked distro's files, the convention here is to use the name of the hijacked distro's release (or just the distro's name of it is a rolling release). For example, if you installed and are hijacking Debian 8 "Jessie", the convention is to use "jessie" as rootfs' name. If you are doing a manual install, the convention is to use the Bedrock Linux release name. For this release, Bedrock Linux 1.0beta2 "Nyla", that is "nyla".
So for the first distro, if I do it manually, it would be /bedrock/strata/nyla, but if I use the hijack method, it's "/bedrock/distro name"? Why would the naming scheme would differ for manual vs. hijack methods?

Thank you in advance.
 
Old 04-12-2016, 11:55 PM   #2
EffervescentRing
Bedrock Linux Contributor
 
Registered: Mar 2016
Location: Austin, TX, USA
Distribution: Debian, Ubuntu, Gentoo, CentOS/RHEL/OEL, Bedrock Linux
Posts: 1

Rep: Reputation: Disabled
Things certainly have changed a lot in Nyla, and one of the main ways is the hijack install method. After install, a hijacked system typically looks a little different to a manual install, though you can technically convert either to ultimately end in the same install.

In a hijack installation, the filesystem/directory being used for the first stratum contains an existing distribution. If you keep the original distribution to use as a stratum, it is serving multiple purposes. It holds the following:
  1. Original distribution's files that serve as your first stratum.
  2. Global configuration files that are shared between your strata.
  3. Rootfs files that enable Bedrock initialization.

If for example, you hijacked a Debian 8 install and wanted to keep the contents of Debian there as a stratum, it would make the most sense to call it "jessie" because when Bedrock is in operation, if you want to run a command from that stratum it would be from the Debian install.

When you do a manual install, you do not start with any distribution's files, so the stratum containing the rootfs files would just contain rootfs and possibly global files. Thus it makes sense to call it "nyla" because it contains only Bedrock-related files.

There is a ton of flexibility in the Bedrock install process, so you could do something like remove the hijacked distro after hijacking in which case it would make sense to name the stratum differently. You could also potentially perform a manual install, then install a distro into an existing stratum that already contained rootfs files, in which case it would also make sense to rename. But generally people performing hijack or manual installs will end up with a system as described above.

Last edited by EffervescentRing; 04-12-2016 at 11:57 PM. Reason: added comma to clarify a sentence
 
Old 04-18-2016, 03:59 PM   #3
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 226

Rep: Reputation: 66
my personal method, i prefix "jack" to the name of the initial strata['s distro].

so for when i hijacked voidlinux, its strata became jackvoid, and on another machine i hijacked slackware(current) and called it jackslack. [edit]... oh, and my funtoo hijack i called jacktoo. ^_^[/edit]

i chose to do this addition to help remember later when i have lots of strata which was first, and to help provide an alternative strata name for when i add more strata of that distro, and the hijacked strata gradually gets picked away to less and less, and/or even removed maybe. ^_^

so, it's a convention, to keep things simple.

but you dont need to follow it.

you could call it "bob".

using a distro's release name (e.g. jessie) rather than distro name (e.g. debian) might be useful later on, above just picking the distro name, like if you make an upgrade strata.

using bedrock release name (e.g. nyla) might be worth doing once (/if) the hijack strata is stripped to nothing more than you'd get from a non-hijack full bedrock install's initial stratum. ^_^ maybe that's a little silly/slippery now that the bedrock stratum's now split in nyla. http://bedrocklinux.org/1.0beta2/con...ata-attributes

whatever you end up calling it, can always meddle around it for your convenience later http://bedrocklinux.org/1.0beta2/tro...tratum-aliases


[edit]
P.S.
i wonder if you could rename the fallback strata to Nyla.
... that'd be a bit more in keeping with the old way.

Last edited by Siljrath; 04-18-2016 at 05:51 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] naming convention of KVM VM snapshot name rohitchauhan Linux - Virtualization and Cloud 1 02-03-2014 04:51 PM
C - Function naming convention golmschenk Programming 10 02-16-2010 08:14 PM
file naming convention soldan Linux - Newbie 13 05-15-2006 11:11 AM
usb naming convention hoover93 Linux - Hardware 5 10-19-2005 10:18 PM
mail server the naming naming convention problem kashan Linux - Newbie 0 07-16-2004 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration