LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2010, 05:27 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,397

Rep: Reputation: 101Reputation: 101
What is stored in /sys/devices/pci0000:00?


Ubuntu 9.04 on a Dell Netbook

While studying where all my (16 GB solid state) disk space is used with Disk Usage Analyzer I found that about a half gigabyte was under sys/devices/pci0000:00/pci0000:00:01.0. In fact it was taken up by two files resource2 and resource2_wc. Both files are dated today.

Can anyone enlighten me to what these subdirectories and files are? My desktop with conventional rotating hard drives do not have any space used under /sys/devices so I am guessing the subdirectories and files are related to the Solid State drive.

TIA,

Ken
 
Old 03-27-2010, 08:31 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
Running 'hal-device' will show all sorts of gory details including addresses in virtual sysfs (/sys). Translating between sysfs and HAL UDI's is not my kind of thing but IIGC "hal-find-by-capability --capability volume | xargs -iX hal-get-property --udi 'X' --key block.device" will show actual block devices.
 
Old 03-27-2010, 09:53 AM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,397

Original Poster
Rep: Reputation: 101Reputation: 101
Thanks unSpawn (I think) a bunch of gory stuff for sure. I will have to run this again once Lucid Lynx is released and see what the deletion of HAL removes from the confusion.

Ken
 
Old 08-21-2013, 07:49 PM   #4
qboney
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Rep: Reputation: Disabled
Most likely video

I saw the same thing...
If you run: find / -size +150M -size -120G -ls

I will see these two files:
15273 0 -rw------- 1 root root 268435456 Aug 22 07:15 /sys/devices/pci0000:00/0000:00:02.0/resource2_wc
15272 0 -rw------- 1 root root 268435456 Aug 22 07:15 /sys/devices/pci0000:00/0000:00:02.0/resource2

Then you run: lspci
and it will tell you that they are related to PCI device:
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)

Turns out they aren't really files, only images for low level video memory.
Nothing to worry about :-)
 
Old 08-21-2013, 07:52 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 3,887
Blog Entries: 1

Rep: Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007
Necro posting - that thread is 5 years old...

Welcome to LQ!
 
Old 08-21-2013, 08:38 PM   #6
qboney
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Rep: Reputation: Disabled
I'm a newb to linux :-)
I eventually found the answer and wanted to post here, maybe to help others.

I LOVE Linuxquestions.org :-)
 
Old 08-21-2013, 08:55 PM   #7
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 3,887
Blog Entries: 1

Rep: Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007
Quote:
Originally Posted by qboney View Post
I'm a newb to linux :-)
I eventually found the answer and wanted to post here, maybe to help others.

I LOVE Linuxquestions.org :-)
Thanks!

My comment was not intended as criticism - just pointing out the age of the thread. Sometimes people answer questions after the OP has died without realizing it...

I also assumed you were new here by number of posts - but I see you signed up long ago! You can post more frequently if you like!

Last edited by astrogeek; 08-21-2013 at 08:57 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOs5.1- - - cannot find /sys/devices/system/cpu/cpu0/cpufreq/ lukegong Red Hat 4 02-27-2008 11:15 AM
What is /sys/devices/pci0000:00/0000:00:00.0/resource0 a_l_a_n Linux - Software 2 09-13-2007 08:04 AM
/sys/devices/system/ Permission denied nsp Slackware 13 01-12-2007 08:14 AM
how to see the arp tables stored in my sys mohit_garg Linux - Software 1 08-11-2005 10:19 PM
How to identify files in /sys/bus/i2c/devices/ koyi Linux - Hardware 0 07-18-2005 02:55 AM


All times are GMT -5. The time now is 07:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration