[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: partition layouts - "root"
From: |
Marco Gerards |
Subject: |
Re: partition layouts - "root" |
Date: |
Thu, 07 Apr 2005 16:37:31 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
"Yoshinori K. Okuji" <address@hidden> writes:
> On Thursday 07 April 2005 02:02 am, Hollis Blanchard wrote:
>> It's clear to you and I, but seeing "root=foo" "root=bar" is obviously
>> not very friendly and in general should be avoided.
>
> I understand your point. But I don't like "device", because it is too generic.
Someone suggested bootdevice on IRC. I like that one, while is not
that generic.
> The advantage of "root" is that all GRUB Legacy users understand it.
This is really important, I think.
> One radical change would be to introduce the concept of "current working
> device" or "current working directory":
>
> grub> cd (hd0)
> grub> pwd
> (hd0)
>
> This is consistent with Bash, but users would expect that they can do "cd
> (hd0,0)/boot". Then the behavior of "ls" or TAB is inconsistent.
This should not be the case. Not if both tab, ls, linux, etc work
from pwd. In that case you can cd somewhere and everything you use is
in the current dir. And there are relative (../foo) and absolute
(/foo) paths.
This is all consistent with bash. And it should work with all
filesystems I have implemented. I would like this approach. You
could even parse `.', `..' and `/' in fs.c so it becomes generic and
you don't have to pass idiotic strings to the filesystems.
Thanks,
Marco
- Re: partition layouts - separate /boot, (continued)
- Re: partition layouts, Yoshinori K. Okuji, 2005/04/05
- Re: partition layouts, Hollis Blanchard, 2005/04/05
- Re: partition layouts, Marco Gerards, 2005/04/05
- Re: partition layouts - "root", Hollis Blanchard, 2005/04/05
- Re: partition layouts - "root", Marco Gerards, 2005/04/06
- Re: partition layouts - "root", Hollis Blanchard, 2005/04/06
- Re: partition layouts - "root", Antoine Terrienne, 2005/04/06
- Re: partition layouts - "root", Hollis Blanchard, 2005/04/06
- Re: partition layouts - "root", Yoshinori K. Okuji, 2005/04/07
- Re: partition layouts - "root",
Marco Gerards <=
- Re: partition layouts - "root", Yoshinori K. Okuji, 2005/04/07
- Re: partition layouts - "root", Marco Gerards, 2005/04/08
- Re: partition layouts - "root", Yoshinori K. Okuji, 2005/04/12
- Re: partition layouts - "root", Marco Gerards, 2005/04/12
- Re: partition layouts - "root", Hollis Blanchard, 2005/04/13
- Re: partition layouts - "root", Yoshinori K. Okuji, 2005/04/14
- Re: partition layouts - "root", Marco Gerards, 2005/04/14
Re: partition layouts, Marco Gerards, 2005/04/05
Re: partition layouts, Tomas 'Ebik' Ebenlendr, 2005/04/05