FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 01-21-2012, 10:45 PM
Dale
 
Default rfc: locations of binaries and separate /usr

Zac Medico wrote:
> On 01/21/2012 01:34 PM, Dale wrote:
>> Michał Górny wrote:
>>>> It's funny how I never needed one before either but now things are
>>>> being broken. It's not LVM that is breaking it either. I wouldn't
>>>> need the initramfs even if It was on a regular partition until the
>>>> recent so called "improvements."
>>>
>>> ...and your main argument is 'long, long ago someone decided that it
>>> should match the same taste as mine, so it should be like it forever'.
>>> Of course, those times there were no such thing as an initramfs...
>>>
>>
>>
>> Then don't break that. Just because someone came up with a initramfs
>> doesn't mean everyone should be forced to use one.
>
> The old way imposes requirements that are no longer supported by
> upstream software. So, you basically have three choices:
>
> 1) Use old software that supports the old way
> 2) Develop new software to support the old way
> 3) Use an initramfs or pre-init script to mount /usr if it must be on
> a separate partition


So the solution is to break things because things are broken. Sort of
running in circles there. Pardon me, I'm dizzy.

Dale

:-) :-)

--
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output? Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"
 
Old 01-21-2012, 11:12 PM
Zac Medico
 
Default rfc: locations of binaries and separate /usr

On 01/21/2012 03:45 PM, Dale wrote:
> Zac Medico wrote:
>> On 01/21/2012 01:34 PM, Dale wrote:
>>> Michał Górny wrote:
>>>>> It's funny how I never needed one before either but now things are
>>>>> being broken. It's not LVM that is breaking it either. I wouldn't
>>>>> need the initramfs even if It was on a regular partition until the
>>>>> recent so called "improvements."
>>>>
>>>> ...and your main argument is 'long, long ago someone decided that it
>>>> should match the same taste as mine, so it should be like it forever'.
>>>> Of course, those times there were no such thing as an initramfs...
>>>>
>>>
>>>
>>> Then don't break that. Just because someone came up with a initramfs
>>> doesn't mean everyone should be forced to use one.
>>
>> The old way imposes requirements that are no longer supported by
>> upstream software. So, you basically have three choices:
>>
>> 1) Use old software that supports the old way
>> 2) Develop new software to support the old way
>> 3) Use an initramfs or pre-init script to mount /usr if it must be on
>> a separate partition
>
>
> So the solution is to break things because things are broken.

Well, option 2 means that people have to step up write software that
supports the old way. For most people, option 3 is probably the most
practical route.
--
Thanks,
Zac
 
Old 02-04-2012, 03:31 PM
Alexey Shvetsov
 
Default rfc: locations of binaries and separate /usr

Hi all!

Today I tryed masked version of udev and kmod. My setup has all on lvm2
and i have sepparate usr patrition. To generate initrd i use dracut and
genkernel branch from aidecoe. dracut since 0.14 has ability to mount
usr from initrd.


x201 ~ # lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
boot gentoo -wi-a- 128,00m
distfiles gentoo -wi-ao 15,00g
fscache gentoo -wi-ao 4,00g
home gentoo -wi-ao 200,00g
opt gentoo -wi-ao 5,00g
packages gentoo -wi-ao 2,00g
portage gentoo -wi-ao 512,00m
root gentoo -wi-ao 512,00m
swap gentoo -wi-ao 8,00g
tmp gentoo -wi-ao 5,00g
usr gentoo -wi-ao 20,00g
var gentoo -wi-ao 15,00g

So this setup is working and boots fine here. We might want to recomend
dracut as initrd solution in case of separate usr.

--
Best Regards,
Alexey 'Alexxy' Shvetsov
Petersburg Nuclear Physics Institute, Russia
Department of Molecular and Radiation Biophysics
Gentoo Team Ru
Gentoo Linux Dev
mailto:alexxyum@gmail.com
mailto:alexxy@gentoo.org
mailto:alexxy@omrb.pnpi.spb.ru
 
Old 02-04-2012, 04:27 PM
Rich Freeman
 
Default rfc: locations of binaries and separate /usr

On Sat, Feb 4, 2012 at 11:31 AM, Alexey Shvetsov <alexxy@gentoo.org> wrote:
> So this setup is working and boots fine here. We might want to recomend
> dracut as initrd solution in case of separate usr.

I think it still needs some work, but it is getting there. I
documented my own solution at:
http://rich0gentoo.wordpress.com/2012/01/21/a-quick-dracut-module/

For less-complex setups dracut as-is probably would work, but then
again, for most less-complex setups you don't need an initramfs
anyway.

In any case, it could still use more documentation, and it needs to be
integrated into any howtos that pertain to using RAID/LVM/etc, and
perhaps even the handbook (perhaps just as a warning that more exotic
partitioning schemes potentially require it). I think all that really
needs to be in place before we move any further down this road (such
as with the most recent udev versions/etc).

On the other hand, anybody who has /usr running on lvm/etc is not what
I'd consider a casual user. As long as we give them enough info to
figure things out we don't need to go overboard with the hand-holding.
Some news items to alert the user to what is coming before they go
updating udev/etc would be a bare minimum though - at least give them
a chance to burn a rescue CD or something.

Rich
 

Thread Tools




All times are GMT. The time now is 11:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org