Sponsored Content
Full Discussion: defrag
Top Forums UNIX for Dummies Questions & Answers defrag Post 13134 by Neo on Friday 11th of January 2002 06:03:00 PM
Old 01-11-2002
No defrag necessary.... however, we clean filesystems using commands like fsck .... a file system check and repair utility.......
 

We Also Found This Discussion For You

1. Filesystems, Disks and Memory

Why we don't need to defrag UNIX FS?

Hi I am wondering which is the reason why there is no need to defrag file system in UNIX and Linux, and in Windows I must defrag it ? (7 Replies)
Discussion started by: solaris_user
7 Replies
FSCK_MSDOS(8)						    BSD System Manager's Manual 					     FSCK_MSDOS(8)

NAME
fsck_msdos -- DOS/Windows (FAT) filesystem consistency checker SYNOPSIS
fsck_msdos -p [-f] filesystem ... fsck_msdos [-fny] [-x snap-backup] filesystem ... DESCRIPTION
The fsck_msdos utility verifies and repairs FAT filesystems (more commonly known as DOS filesystems). The first form of fsck_msdos preens the specified filesystems. It is normally started by fsck(8) run from /etc/rc during automatic reboot, when a FAT filesystem is detected. When preening file systems, fsck_msdos will fix common inconsistencies non-interactively. If more seri- ous problems are found, fsck_msdos does not try to fix them, indicates that it was not successful, and exits. The second form of fsck_msdos checks the specified file systems and tries to repair all detected inconsistencies, requesting confirmation before making any changes. The options are as follows: -f This option is ignored by fsck_msdos, and is present only for compatibility with programs that check other file system types for consistency, such as fsck_ffs(8). -n Causes fsck_msdos to assume no as the answer to all operator questions, except ``CONTINUE?''. -p Preen the specified filesystems. -x snap-backup Use a snapshot with snap-backup as backup to check a read-write mounted filesystem. Must be used with -n. See fss(4) for more details. The point is to check an internally-consistent version of the filesystem to find out if it is damaged; on failure one should unmount the filesystem and repair it. -y Causes fsck_msdos to assume yes as the answer to all operator questions. SEE ALSO
fss(4), fsck(8), fsck_ffs(8), mount_msdos(8) BUGS
fsck_msdos is still under construction. BSD
April 11, 2010 BSD
All times are GMT -4. The time now is 10:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy