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

Re: what is /.udev for ?



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.
-- 
"Whoever you are -- SGI, SCO, HP, or even Microsoft -- most of the
 smart people on the planet work somewhere else."
--Eric S. Raymond



Reply to: