READALL(1) General Commands Manual READALL(1)NAME
readall - read a device quickly to check for bad blocks
readall [-bt] file
OPTIONS -b Produce shell script on stdout that calls badblocks
-t Just print device size
readall /dev/hd0 # Read all of /dev/hd0
readall -b /dev/hd1 >s
# Generate shell script on s
Readall reads all of the named device in large chunks. It reports about blocks that it cannot read. Unlike diskcheck, it does not attempt
to write on the disk, making it safer to use when one is worried about a sick system. When the -b flag is given, the output is a shell
script that calls the badblocks program to marked all the bad blocks. Whenever installing MINIX, it is wise to run readall with the -b
flag first on all the hard disks.
SEE ALSO badblocks(8).
Check Out this Related Man Page
MKFS.MINIX(8) System Administration MKFS.MINIX(8)NAME
mkfs.minix - make a Minix filesystem
mkfs.minix [options] device [size-in-blocks]
mkfs.minix creates a Linux MINIX filesystem on a device (usually a disk partition).
The device is usually of the following form:
/dev/hda[1-8] (IDE disk 1)
/dev/hdb[1-8] (IDE disk 2)
/dev/sda[1-8] (SCSI disk 1)
/dev/sdb[1-8] (SCSI disk 2)
The device may be a block device or a image file of one, but this is not enforced. Expect not much fun on a character device :-).
The size-in-blocks parameter is the desired size of the file system, in blocks. It is present only for backwards compatibility. If omit-
ted the size will be determined automatically. Only block counts strictly greater than 10 and strictly less than 65536 are allowed.
OPTIONS -c, --check
Check the device for bad blocks before creating the filesystem. If any are found, the count is printed.
-n, --namelength length
Specify the maximum length of filenames. Currently, the only allowable values are 14 and 30 for file system versions 1 and 2. Ver-
sion 3 allows only value 60. The default is 30.
-i, --inodes number
Specify the number of inodes for the filesystem.
-l, --badblocks filename
Read the list of bad blocks from filename. The file has one bad-block number per line. The count of bad blocks read is printed.
-1 Make a Minix version 1 filesystem. This is the default.
-2, -v Make a Minix version 2 filesystem.
-3 Make a Minix version 3 filesystem.
Display version information and exit. The long option cannot be combined with other options.
Display help text and exit.
The exit code returned by mkfs.minix is one of the following:
0 No errors
8 Operational error
16 Usage or syntax error
SEE ALSO fsck(8), mkfs(8), reboot(8)AVAILABILITY
The mkfs.minix command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux June 2015 MKFS.MINIX(8)
Hello. I can't get it work :(
My application receives data from em-marin reader only being active. Switching to another app makes the port become silent.
MarinReader works in another thread.
Port reading is going while the app is inactive (tested).
Env: Ubuntu 9.04, Gnome, Qt (i've tryed pure... (2 Replies)
Hope everybody is fine. First have a look at my code, then we will talk about it.
$ cat copy.c
#define PERMS 0644 /* RW for owner, R for group, others */
#define BUFSIZE 1
int main(int argc,char * argv)
int f1, f2, n;
... (4 Replies)
I have database running,on windows server 2003 and my database are going down frequently due to some oracle bug.
I need help to configure the automatic script which run's and check the database status, if database is down then send me email.
Thanks in Advance. (32 Replies)
Once again i need your vital help to fix my issue, please do the needfull.
Issue:- I have schedule one script on windows server to run's every 10 min.(Script do check the alert log file,if database found down it send the email) While i'm doing the database down manually its... (12 Replies)
Can C add its results into an array like bash? For example using bash:
**truncated for space **
gdm:x:109:118:Gnome Display Manager:/var/lib/gdm:/bin/false
statd:x:111:65534::/var/lib/nfs:/bin/false... (5 Replies)
I am trying to write a perl script to access Solid LDAP database using JDBC.
The script connects to the database but gives below error while running sql prepare command :
DBD::JDBC::db prepare failed: java.io.IOException:... (0 Replies)