[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what is /.udev for ?



On Wed, 2005-02-09 at 12:43 -0800, Ben Pfaff wrote:
> Ron Johnson <ron.l.johnson@cox.net> writes:
> 
> > One thing I do know is that traditional apps like df (and anything
> > that uses stat(), I guess) don't know about /.dev, and so return
> > false information:
> >
> >   $ df
> >   Filesystem     1K-blocks      Used Available Use% Mounted on
> >   /dev/hda3        9843308   5428016   3915272  59% /
> >   tmpfs             501936         0    501936   0% /dev/shm
> >   /dev/hda2          46668     20415     23844  47% /boot
> >   /dev/hda5        2995936   1790220   1205716  60% /home
> >   /dev/hda6      105280504  78681360  21251108  79% /data
> >   /dev             9843308   5428016   3915272  59% /.dev
> >   none                5120      2564      2556  51% /dev
> 
> It's not really false, it's just that /.dev is a subtree of / and
> so shows the same information as / does.

To me, reporting the same information 2 times means that one of
them should not be there.  These programs report duplicate info:
  df
  pydf
  gtkdiskfree

"So what?", you say.  Well, data should only be listed once, not
twice.  gtkdiskfree sums up all total and free disk space, and
having /.dev in there totally distorts the truth.

-- 
-----------------------------------------------------------------
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"There never was a good war or a bad peace."
Benjamin Franklin
Well, I think I have to disagree with Mr. Franklin...

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: