Loading ...
Sorry, an error occurred while loading the content.

19994Re: [nslu2-linux] Strange Partitions with df

Expand Messages
  • Robert Hammond
    Oct 22, 2007
    • 0 Attachment
      In message <ffgn1t+o0s0@...>, Piero Salandin
      <piero.salandin@...> writes
      >After loading V2.3R63-uNSLUng-6.8-beta, rebooting, enabling telnet,
      >inserting the Flash and "/sbin/unsling disk2"-ing I get a strange
      >partition schema typing df:
      >
      ># df
      >Filesystem 1k-blocks Used Available Use% Mounted on
      >rootfs 1699268 56120 1625884 3% /
      >/dev/sda1 6528 6340 188 97% /initrd
      >/dev/sda1 1699268 56120 1625884 3% /
      >/dev/sda1 1699268 56120 1625884 3% /share/flash/data
      >/dev/sda2 122931 4143 117519 3% /share/flash/conf
      >
      >
      >Is it right? I am not exactly a linux guru, but I never encountered a
      >partition with the same name on three rows and at least two different
      >sizes...
      >
      This is just fine, has something to do with the default df command
      being part of a very early version of busybox, I think version 0.60.4.
      This early version seems to get slightly confused.

      The df command in the optware version of busybox version 1.7.2 seems to
      interpret the partitions a little better and on my machine displays only
      the two partitions sda1 and sda2. But this later version is also
      slightly flawed because on my machine I also have a vfat partition sda4,
      this later version seems to miss this partition.

      Suggest that there is no point in upgrading your busybox just for this
      command.

      --
      Robert Hammond
      PGP:0x154144DA
    • Show all 4 messages in this topic