public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Information request: root directory not listed by df
@ 2009-09-17 23:20 Alan E. Davis
  2009-09-18  0:16 ` [gentoo-user] " Nikos Chantziaras
  2009-09-18  7:27 ` [gentoo-user] " Stroller
  0 siblings, 2 replies; 4+ messages in thread
From: Alan E. Davis @ 2009-09-17 23:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

I followed the method outlined in the Gentoo installation docs, placing
/boot on a small partition.  Then when booting, I specify the root directory
in grub.conf.

The device is listed in /etc/fstab

              /dev/sda4               /               ext3
noatime         0 1

However, df doesn't list /dev/sda4.  Is this because it was specified as a
parameter?
The following are listed by df:

              rootfs                 9780176   8060012   1223356  87% /
              /dev/root              9780176   8060012   1223356  87% /

Thank you,
Alan Davis

You can know the name of a bird in all the languages of the world,  but when
you're finished, you'll know absolutely nothing whatever about the bird...
So let's look at the bird and see what it's doing---that's what counts.

   ----Richard Feynman

[-- Attachment #2: Type: text/html, Size: 932 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user]  Re: Information request: root directory not listed by df
  2009-09-17 23:20 [gentoo-user] Information request: root directory not listed by df Alan E. Davis
@ 2009-09-18  0:16 ` Nikos Chantziaras
  2009-09-18  7:27 ` [gentoo-user] " Stroller
  1 sibling, 0 replies; 4+ messages in thread
From: Nikos Chantziaras @ 2009-09-18  0:16 UTC (permalink / raw
  To: gentoo-user

On 09/18/2009 02:20 AM, Alan E. Davis wrote:
> I followed the method outlined in the Gentoo installation docs, placing
> /boot on a small partition.  Then when booting, I specify the root
> directory in grub.conf.
>
> The device is listed in /etc/fstab
>
>                /dev/sda4               /               ext3
> noatime         0 1
>
> However, df doesn't list /dev/sda4.  Is this because it was specified as
> a parameter?
> The following are listed by df:
>
>                rootfs                 9780176   8060012   1223356  87% /
>                /dev/root              9780176   8060012   1223356  87% /

This is normal.  It's just that df does not dereference symlinks; 
/dev/root is a symlink, in your case to /dev/sda4.  That's how the root 
filesystem gets mounted these days.


> You can know the name of a bird in all the languages of the world,  but
> when you're finished, you'll know absolutely nothing whatever about the
> bird... So let's look at the bird and see what it's doing---that's what
> counts.

If that's supposed to be a sig, could you please make that more apparent?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Information request: root directory not listed by df
  2009-09-17 23:20 [gentoo-user] Information request: root directory not listed by df Alan E. Davis
  2009-09-18  0:16 ` [gentoo-user] " Nikos Chantziaras
@ 2009-09-18  7:27 ` Stroller
  2009-09-20  6:17   ` Alan E. Davis
  1 sibling, 1 reply; 4+ messages in thread
From: Stroller @ 2009-09-18  7:27 UTC (permalink / raw
  To: gentoo-user


On 18 Sep 2009, at 00:20, Alan E. Davis wrote:
> However, df doesn't list /dev/sda4.

Is it mounted?

$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6              99G   27G   67G  29% /
udev                   10M  152K  9.9M   2% /dev
/dev/sdb1             917G  285G  632G  32% /mnt/space
shm                   758M     0  758M   0% /dev/shm
$ sudo mount -v /boot/
/dev/sda1 on /boot type ext2 (rw,noatime)
$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6              99G   27G   67G  29% /
udev                   10M  152K  9.9M   2% /dev
/dev/sdb1             917G  285G  632G  32% /mnt/space
shm                   758M     0  758M   0% /dev/shm
/dev/sda1              54M   11M   40M  22% /boot
$

>   The following are listed by df:
>
>               rootfs                 9780176   8060012   1223356   
> 87% /
>               /dev/root              9780176   8060012   1223356   
> 87% /

Is this really the full output of df?

I advise against posting truncated or edited console output. Myself, I  
have made simple & obvious mistakes many times, but these are often  
easily corrected by readers because I post full & complete wossisname.  
You may be of unimpeachable competence & correctness, but when one  
sees only snippets of what's going on some doubt must remain that  
something of significance is being concealed.

Stroller.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Information request: root directory not listed by  df
  2009-09-18  7:27 ` [gentoo-user] " Stroller
@ 2009-09-20  6:17   ` Alan E. Davis
  0 siblings, 0 replies; 4+ messages in thread
From: Alan E. Davis @ 2009-09-20  6:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

No this was not the full output from df.  There was nowhere, however, any
reference to /dev/sdc1, the filesystem where  the root filesystem "/" is
located.  Only the lines in my earlier message:

rootfs                29694968   2877284  25309184  11% /
/dev/root             29694968   2877284  25309184  11% /

In /boot/grub/grub.conf the third line in the following specifies the "/"
directory as /dev/sdc1, while /boot is in /dev/sda1.

title Gentoo Linux 2.6.30-r4.02
root (hd0,0)
kernel /kernel-2.6.30-gentoo-r4.02 root=/dev/sdc1

Thank you for earlier remarks that clarified this issue to a satisfactory
extent.

Alan

>
>

[-- Attachment #2: Type: text/html, Size: 915 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-20  6:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-17 23:20 [gentoo-user] Information request: root directory not listed by df Alan E. Davis
2009-09-18  0:16 ` [gentoo-user] " Nikos Chantziaras
2009-09-18  7:27 ` [gentoo-user] " Stroller
2009-09-20  6:17   ` Alan E. Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox