Trying to restore ownerships on /dev after a chown -hR username /dev/

Smoot Carl-Mitchell smoot at tic.com
Sun Jan 4 22:02:41 UTC 2009


On Sun, 2009-01-04 at 17:15 +0100, Chris Vighagen wrote:
> Hi Again!
> 
> i'm runing the latest version of Xubuntu (8.10) and have no Idea if
> Xubuntu uses Udev or not. I'll look into that, thanks for the tip!
> 

8.10 uses udev.  You can determine this by running "df". e.g.

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3              8064272   6476844   1177776  85% /
tmpfs                  1994404         0   1994404   0% /lib/init/rw
varrun                 1994404       416   1993988   1% /var/run
varlock                1994404         0   1994404   0% /var/lock
udev                   1994404      2848   1991556   1% /dev
tmpfs                  1994404       104   1994300   1% /dev/shm
lrm                    1994404      2380   1992024
1% /lib/modules/2.6.27-9-generic/volatile
/dev/sda1             84130872  40699672  40012248  51% /home

Notice that /dev  is the mountpoint for the "udev" filesystem.

df -a gives even more information:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3              8064272   6476856   1177764  85% /
tmpfs                  1994404         0   1994404   0% /lib/init/rw
/proc                        0         0         0   -  /proc
sysfs                        0         0         0   -  /sys
varrun                 1994404       416   1993988   1% /var/run
varlock                1994404         0   1994404   0% /var/lock
udev                   1994404      2848   1991556   1% /dev
tmpfs                  1994404       104   1994300   1% /dev/shm
devpts                       0         0         0   -  /dev/pts
fusectl                      0         0         0
-  /sys/fs/fuse/connections
lrm                    1994404      2380   1992024
1% /lib/modules/2.6.27-9-generic/volatile
/dev/sda1             84130872  40699724  40012196  51% /home
securityfs                   0         0         0
-  /sys/kernel/security
none                         0         0         0
-  /proc/fs/vmblock/mountPoint
binfmt_misc                  0         0         0
-  /proc/sys/fs/binfmt_misc
gvfs-fuse-daemon             0         0         0
-  /home/smoot/.gvfs


-- 
Smoot Carl-Mitchell
System/Network Architect
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list