On 04/15/2010 07:26 PM, Jordan Peters wrote:
> I'm going through the LFS 6.6 book with ubuntu 9.10 as the host and
> I'm wondering if there are any tutorials anywhere to help if I want to
> try creating a custom filesystem setup..... Like having /apps instead
> of /bin, /users instead of /home, etc.
> I'm aware I'll have to edit every makefile I come across, but I
> figured this is an experiment already, might as well have more fun
> with it and make it more "mine".
>
>
I'm impressed by your question/innovation. In addition to education and
a sense of accomplishment, would such a system be more secure? I've had
the same custom file system thought, but recognize the work involved and
potential for problems. You show the spirit of LFS in wanting to make
your system your own, but support would be understandably dodgy.
Let me suggest a workaround solution. Create a /Users directory instead
of /home by modifying your /etc/passwd file. Would the following line
provide a Jordan login to the /Users/Jordan directory?
Jordan::0:0:root:/Users/Jordan:/bin/bash
Using links, could you create your own directory/file structure in that
directory? Create directories/sub-directories with your preferred names
and link conventional files/directories to your directories. You could
also link files of your naming to conventional files. With that
approach you could perform a conventional LFS build, yet see a
directory/file structure of your choosing.
My interest in such a system is avoiding unnecessary abbreviations and
seeing a directory/file structure more logical to me. Libraries,
MultiUser, Programs, Startup makes more sense to me; whatever works
created on a blank sheet of paper. That it'd be illogical or
unnecessary to others is fine. Different strokes for different folks.
There may well be disadvantages of this approach I've not thought of
(number of links and such). I may also not understand your purpose and
my suggestion might not work, but nothing ventured ...
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page