The time now is Wed 22 May 2013, 18:07
All times are UTC - 4 |
| Author |
Message |
8-bit

Joined: 03 Apr 2007 Posts: 3012 Location: Oregon
|
Posted: Sun 04 Sep 2011, 09:22 Post subject:
Linux file system checking Subject description: file system checkers. |
|
Have you ever noticed that Puppy only comes with e2fsck and all the other linux filesystem checkers for ext3 and ext4 are just links to fsck.ext2?
Well, somewhere I had downloaded an image of Ubuntu-9.04.ext3.1gb.fs.
I added a 3fs extension to it and was able to mount it.
There I found "fsck.ext2, fsck.ext3. fsck.ext4, fsck.ext4dev, and fsck.minix".
I am running Puppy Lucid 5.20 and got brave and tried running fsck.ext2 on an old pupsave.2fs file.
It did a 5 part check and I had never seen that with Puppy.
So are we missing out?
If you want to try them on an old pupsave, I am attaching them.
To use, "#./fsck.ext2 -y /path/pupsave.2fs".
Remove the "-y" if you do not want automatic repairs.
| Description |
Filesystem checkers for linux from Ubuntu 9.04. Use at your own risk. No guarantees even if run from Puppy Lucid although it seemed to work.
|

Download |
| Filename |
filesystem_checkers.tar.gz |
| Filesize |
416.88 KB |
| Downloaded |
201 Time(s) |
|
|
Back to top
|
|
 |
rjbrewer

Joined: 22 Jan 2008 Posts: 4352 Location: merriam, kansas
|
Posted: Sun 04 Sep 2011, 11:00 Post subject:
|
|
8-bit;
This is what comes with Puppy (Wary in this case).
(typed fsck in pfind)
How does it differ after using your tip?
| Description |
|
| Filesize |
127.65 KB |
| Viewed |
774 Time(s) |

|
_________________
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Full installs
|
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 1759
|
Posted: Sun 04 Sep 2011, 13:20 Post subject:
|
|
fsck.ext3. fsck.ext4 and fsck.ext4dev are commonly either links to fsck.ext2 or are wrappers which call fsck.ext2. This is beacuse fsck.ext2 is multi-call binary -it behaves differently depending on what it is called. Some distros may leave the programs just like the sources install them -which is that they are all hard-links sharing the same inode. If the installation or package-creation process simply *copies* them into the directory, then they each become a separate binary -exactly identical to each of the others. That is a waste of space. If they remain as hardlinks, then they will show as having the original size -that is, one inode will be counted four time -so it lloks like the package needs more space than it really does.
The fsck 'programs' for fat, vfat etc, are sually just a tiny wrapper which runs the command 'true'. Which means that they do nothing. There are no linux/unix tools for fat/vfat/ntfs fs maintenance or defragging.
If the other distro tools are doing more, it is because they are using the *real* tools and not cut-down busybox versions. Damned busybox strikes again... So now, the puppy solution would be to install the real tool naming fsck-full, change the name of the busybox link to fsck-bb and then create a slow shell wrapper named fsck, which intercepts any calls to fsck, does some perverse guessing to figure out what the user really wants, and then run either the 'full' version or the busybox version according to that guess...
|
|
Back to top
|
|
 |
alienjeff

Joined: 08 Jul 2006 Posts: 2290 Location: Winsted, CT - USA
|
Posted: Sun 04 Sep 2011, 14:36 Post subject:
|
|
| amigo wrote: | | If the other distro tools are doing more, it is because they are using the *real* tools and not cut-down busybox versions. Damned busybox strikes again. |
| Code: |
[jeff@kayak ~]$ e2
e2freefrag e2fsck e2image e2label e2undo
|
| Code: |
[jeff@kayak ~]$ fs
fsadm fsck.cramfs fsck.ext3 fsck.ext4dev fsck.minix fsck.xfs fstab-decode
fsck fsck.ext2 fsck.ext4 fsck.jfs fsck.reiserfs fsfreeze fstrim
|
Thank you, Arch Linux ...
_________________ hangout: ##arch-ftw on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1715 Location: Burghaslach, Germany
|
Posted: Sun 04 Sep 2011, 14:44 Post subject:
|
|
| amigo wrote: | | If the other distro tools are doing more, it is because they are using the *real* tools and not cut-down busybox versions. Damned busybox strikes again... So now, the puppy solution would be |
or use ext2 only
I haver never used another fs in puppy
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|