Is there a utility for Suse 10 Reiser FS to do any cleanup on the disk? Partition monitor says I have 18 GB used and 10 GB free, and this is a reasonably fresh install. I did try Win4LinPro, but it was so slow with WinXP that I uninstalled it, then deleted the other windows stuff it installed. There was no change in the amount used on the disk, so I am a little suspicious that win4lin did this. Art
Art Fore wrote:
Is there a utility for Suse 10 Reiser FS to do any cleanup on the disk?
The most effective cleanup: "rm -rf /*" :-) Having said that - don't do it! Jokes aside, what does "cleanup" really mean? If you want to know where your harddisk space is gone, try "du -hsx /*", then repeat for individual directories to find more details. /Per Jessen, Zürich (3.12 °C) -- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-01-18 at 09:10 +0100, Per Jessen wrote:
If you want to know where your harddisk space is gone, try "du -hsx /*", then repeat for individual directories to find more details.
The "-x" option does not work, it is ignored. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDzts2tTMYHG2NR9URArgeAJ9Sk9fIdKVMMUuhzj/QgmOSaq/5IQCfWgeT aATLqZ/e6i7NcQ6Iy9mCo68= =CbSD -----END PGP SIGNATURE-----
Carlos E. R. wrote:
If you want to know where your harddisk space is gone, try "du -hsx /*", then repeat for individual directories to find more details.
The "-x" option does not work, it is ignored.
Did you open a bugreport with whoever it is that maintains core-utils? (I wasn't sure we had established for a fact that '-x' doesn't work). /Per Jessen, Zürich (2.06 °C) -- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2006-01-19 at 09:13 +0100, Per Jessen wrote:
Carlos E. R. wrote:
If you want to know where your harddisk space is gone, try "du -hsx /*", then repeat for individual directories to find more details.
The "-x" option does not work, it is ignored.
Did you open a bugreport with whoever it is that maintains core-utils? (I wasn't sure we had established for a fact that '-x' doesn't work).
There was a thread on it last week, on which you participated. The command "du -hsx /*" does not skip "differenf filesystems" mounted at the root, because the * is expanded by the shell. The end result is that it lists the size of all partitions. It is not a bug, but it doesn't work. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDz5QJtTMYHG2NR9URAj4GAJ9VUSqEOwp7DKGwjCkn/3HO5ObPUACeLyGc 9ctiTihleu8lzJkSu4gnDTs= =gcWP -----END PGP SIGNATURE-----
Carlos E. R. wrote:
If you want to know where your harddisk space is gone, try "du -hsx /*", then repeat for individual directories to find more details.
The "-x" option does not work, it is ignored.
Did you open a bugreport with whoever it is that maintains core-utils? (I wasn't sure we had established for a fact that '-x' doesn't work).
There was a thread on it last week, on which you participated.
I know, I know - and like I said, I wasn't sure we had established for a _fact_ that '-x' doesn't work (which to me = it has a bug).
The command "du -hsx /*" does not skip "differenf filesystems" mounted at the root, because the * is expanded by the shell. The end result is that it lists the size of all partitions. It is not a bug, but it doesn't work.
Haha, how do you distinguish between "it doesn't work" and "it's a bug"? I think '-x' should skip mounted filesystems whether they're explicitly specified or just discovered whilst traversing the filesystem. The man page doesn't say much about it, so it doesn't sound like "works as designed" to me. /Per Jessen, Zürich (2.18 °C) -- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2006-01-19 at 19:47 +0100, Per Jessen wrote:
There was a thread on it last week, on which you participated.
I know, I know - and like I said, I wasn't sure we had established for a _fact_ that '-x' doesn't work (which to me = it has a bug).
Well...
The command "du -hsx /*" does not skip "differenf filesystems" mounted at the root, because the * is expanded by the shell. The end result is that it lists the size of all partitions. It is not a bug, but it doesn't work.
Haha, how do you distinguish between "it doesn't work" and "it's a bug"?
Degree of "nonworkingness"? :-P
I think '-x' should skip mounted filesystems whether they're explicitly specified or just discovered whilst traversing the filesystem. The man page doesn't say much about it, so it doesn't sound like "works as designed" to me.
I think that how it should work, ie, skip mounted filesystems as you say. However, reading the man page I understand it is working as documented - but it shouldn't, IMO: `-x' `--one-file-system' Skip directories that are on different file systems from the one that the argument being processed is on. Then, the important thing to note is which is the filesystem where "the argument being processed is on". I think that when the "*" is expanded by the shell, then each mounting point becomes one of the fylesystems where "the argument being processed is on"... to our disgust. We don't get what we want, so the command line doesn't work. But it is not a bug, that's the (obscure) documented behavior :-( - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFD0DM2tTMYHG2NR9URAlUDAKCUcf79x9PtwimZeq/PjUdpXA0vGQCfZkNh RQJhQwWpvreWaDfhUVlchn8= =v+bS -----END PGP SIGNATURE-----
Carlos E. R. wrote:
I think that how it should work, ie, skip mounted filesystems as you say. However, reading the man page I understand it is working as documented - but it shouldn't, IMO:
`-x' `--one-file-system' Skip directories that are on different file systems from the one that the argument being processed is on.
Your man page is more thorough than mine: -x, --one-file-system skip directories on different filesystems /Per Jessen, Zürich (0.81 °C) -- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2006-01-20 at 08:52 +0100, Per Jessen wrote:
`-x' `--one-file-system' Skip directories that are on different file systems from the one that the argument being processed is on.
Your man page is more thorough than mine:
-x, --one-file-system skip directories on different filesystems
Ah! No, it's not that. I use "pinfo" for looking man pages. It first searches the "info" database, and if non is found, then it looks at the man page database. In this case, the "info" and "man" pages differ a lot. Try "info du" at your system and you will see: |SEE ALSO | | The full documentation for du is maintained as a Texinfo manual. | If the info and du programs are properly installed at your site, | the command | | info du | | should give you access to the complete manual. | ;-) 115 lines vs 157 lines... - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFD0UeStTMYHG2NR9URAg+zAJ4qE/sWZN4+6xZwEAa0IAp5iNFuCwCfTbNk jzKQXUFK86j6ZX7aFNFOot4= =CX42 -----END PGP SIGNATURE-----
participants (3)
-
Art Fore
-
Carlos E. R.
-
Per Jessen