You are not logged in.

#1 2007-04-29 19:45:13

cdude
Member
Registered: 2006-06-16
Posts: 16

Weird Folder on root!

I do not know if this is the right place to post this.
I have a weird folder on my root file system. /-q

ls /

-q   boot  etc   lib         media  opt   root  sys  usr
bin  dev   home  lost+found  mnt    proc  sbin  tmp  var

ls -lh  /-q

total 60K
drwxr-xr-x 2 root root   67 2007-04-22 21:23 C
drwxr-xr-x 2 root root 4.0K 2007-04-22 21:24 TOC
drwxr-xr-x 2 root root   67 2007-04-22 21:23 am
drwxr-xr-x 2 root root   67 2007-04-22 21:23 az
drwxr-xr-x 2 root root   67 2007-04-22 21:23 be
drwxr-xr-x 2 root root   67 2007-04-22 21:23 ca
drwxr-xr-x 2 root root   67 2007-04-22 21:23 cs
drwxr-xr-x 2 root root   67 2007-04-22 21:23 da
drwxr-xr-x 2 root root   67 2007-04-22 21:23 de
drwxr-xr-x 2 root root   67 2007-04-22 21:23 el
drwxr-xr-x 2 root root   67 2007-04-22 21:23 es
drwxr-xr-x 2 root root   67 2007-04-22 21:23 fr
drwxr-xr-x 2 root root   67 2007-04-22 21:23 hu
drwxr-xr-x 2 root root 4.0K 2007-04-22 21:24 index
drwxr-xr-x 2 root root   67 2007-04-22 21:23 it
drwxr-xr-x 2 root root   67 2007-04-22 21:23 ja
drwxr-xr-x 2 root root   67 2007-04-22 21:23 kn
drwxr-xr-x 2 root root   67 2007-04-22 21:23 ko
drwxr-xr-x 2 root root   67 2007-04-22 21:23 nl
drwxr-xr-x 2 root root   67 2007-04-22 21:23 no
drwxr-xr-x 2 root root   67 2007-04-22 21:23 pl
drwxr-xr-x 2 root root   67 2007-04-22 21:23 pt_BR
drwxr-xr-x 2 root root   67 2007-04-22 21:23 ro
drwxr-xr-x 2 root root   67 2007-04-22 21:23 ru
-rw-r--r-- 1 root root  50K 2007-04-22 21:24 scrollkeeper_docs
drwxr-xr-x 2 root root   67 2007-04-22 21:23 sk
drwxr-xr-x 2 root root   67 2007-04-22 21:23 sl
drwxr-xr-x 2 root root   67 2007-04-22 21:23 sr
drwxr-xr-x 2 root root   67 2007-04-22 21:23 sr@Latn
drwxr-xr-x 2 root root   67 2007-04-22 21:23 sv
drwxr-xr-x 2 root root   67 2007-04-22 21:23 tr
drwxr-xr-x 2 root root   67 2007-04-22 21:23 uk
drwxr-xr-x 2 root root   67 2007-04-22 21:23 vi
drwxr-xr-x 2 root root   67 2007-04-22 21:23 zh_CN
drwxr-xr-x 2 root root   67 2007-04-22 21:23 zh_TW

it seems that it has something to do with scrollkeeper; however, pacman says the content of this folder does not belong to any package!

pacman -Qo /-q/scrollkeeper_docs

error: No package owns /-q/scrollkeeper_docs

is this normal? should scrollkeeper be creating these files on root ? neutral

Last edited by cdude (2007-04-29 19:49:26)

Offline

#2 2007-04-29 20:17:06

Loke
Member
From: Denmark
Registered: 2005-10-21
Posts: 139

Re: Weird Folder on root!

Well I kind of had a problem similar, after doing some updates (including a PHP update) my root folder looked like this:

   1.
      [loke@shiva ~]$ ls /
   2.
      bcmath.a   bz2.so       ftp.a   ldap.a   mysql.a    odbc.so      pdo_mysql.so  pdo_sqlite.a   posix.so  shmop.so  sockets.a   sysvmsg.a   sysvshm.so
   3.
      bcmath.so  calendar.a   ftp.so  ldap.so  mysql.so   opt          pdo_odbc.a    pdo_sqlite.so  proc      snmp.a    sockets.so  sysvmsg.so  tmp
   4.
      bin        calendar.so  gd.a    lib      mysqli.a   pdo.a        pdo_odbc.so   pgsql.a        root      snmp.so   sqlite.a    sysvsem.a   usr
   5.
      boot       dev          gd.so   media    mysqli.so  pdo.so       pdo_pgsql.a   pgsql.so       sbin      soap.a    sqlite.so   sysvsem.so  var
   6.
      bz2.a      etc          home    mnt      odbc.a     pdo_mysql.a  pdo_pgsql.so  posix.a        shmop.a   soap.so   sys         sysvshm.a
   7.
      [loke@shiva ~]$

Pacman did say that no package owned thoes, and I never figured out what caused this so I just deleted the files. I am using pacman3 from testing. Not sure what went wrong big_smile but I am 100% sure that it is NOT self-caused.

Last edited by Loke (2007-04-29 20:17:59)

Offline

#3 2007-04-30 07:54:52

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Weird Folder on root!

hey, I also have a folder named -q ! godamnit!


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#4 2007-04-30 08:22:49

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Weird Folder on root!

-q is an argument to scrollkeeper-rebuildb. Maybe that utility got confused, and used that as the directory instead for some reason. Seems very weird.

I was able to duplicate the directory contents you see by executing the following as root.

scrollkeeper-rebuilddb -p /\-q

"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#5 2007-04-30 08:39:53

pix
Member
Registered: 2005-07-07
Posts: 25

Re: Weird Folder on root!

Loke wrote:

Well I kind of had a problem similar, after doing some updates (including a PHP update) my root folder looked like this

I'm in the same position, i see dead people err.. no, strange php related files on / smile

PS: I also deleted the /-q folder.


Any resemblance to grammar or spelling mistakes is purely coincidental and independant of the willing of the author

Offline

#6 2007-04-30 08:56:55

pix
Member
Registered: 2005-07-07
Posts: 25

Re: Weird Folder on root!

IHMO this is a problem....

pix@pandora> tar -ztvf /var/cache/pacman/pkg/php-5.2.1-3.pkg.tar.gz           ~
-rw-r--r-- root/root       506 2007-04-28 01:34 .PKGINFO
-rw-r--r-- root/root     18923 2007-04-28 01:34 .FILELIST
-rw-r--r-- root/root       499 2007-04-28 01:34 .INSTALL
-rwxr-xr-x root/root     54048 2007-04-28 01:18 bcmath.a
-rwxr-xr-x root/root     39083 2007-04-28 01:18 bcmath.so
-rwxr-xr-x root/root     19324 2007-04-28 01:18 bz2.a
-rwxr-xr-x root/root     24384 2007-04-28 01:18 bz2.so
-rwxr-xr-x root/root     31586 2007-04-28 01:18 calendar.a
-rwxr-xr-x root/root     33467 2007-04-28 01:18 calendar.so
drwxr-xr-x root/root         0 2007-04-28 01:34 etc/
drwxr-xr-x root/root         0 2007-04-28 01:33 etc/httpd/
drwxr-xr-x root/root         0 2007-04-28 01:33 etc/httpd/conf/
-rw-r--r-- root/root       928 2007-04-28 01:34 etc/pear.conf
-rw-r--r-- root/root     43525 2007-04-28 01:34 etc/php.ini
....

I posted a bug report: http://bugs.archlinux.org/task/7034

Last edited by pix (2007-04-30 09:02:58)


Any resemblance to grammar or spelling mistakes is purely coincidental and independant of the willing of the author

Offline

#7 2007-04-30 09:07:28

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Weird Folder on root!

The -q directory was a bug in two packages. These packages used to rebuild the scrollkeeper database with "scrollkeeper-update -p -q var/lib/scrollkeeper", where -q turned out to be the target directory in that case.
just rm -rf it, the real scrollkeeper db is in /var/lib/scrollkeeper.

Offline

#8 2007-04-30 11:01:14

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Weird Folder on root!

and what's the .fsr dir i have in / ?


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB