Sponsored Content
Full Discussion: What level are you?
The Lounge What is on Your Mind? What level are you? Post 52694 by norsk hedensk on Wednesday 23rd of June 2004 11:46:46 PM
Old 06-24-2004
- has had his first bad experience with rm


eh dont think that is a fair one.

what if you just have ALWAYS been careful from the beginning?
 

8 More Discussions You Might Find Interesting

1. Solaris

patch level

Hi, how do you check that the latest service packs/patches are installed on the server, When i look at the OS Modules file, all i see is these numbers like 117176-02 etc, what is currently the latest patch level for sunOS 5.9? thnaks (1 Reply)
Discussion started by: narik007
1 Replies

2. AIX

ML level went backwards?

Hi all. I've been put in charge of updating one of our AIX 5.2 servers to ML7. (perhaps not wise since I'm an absolute n00b, but hey, it's good experience to fly by the seat of one's pants). So: a) I typed "oslevel -r" and got back "5200-04" b) I went to IBM's Fix Central and downloaded... (1 Reply)
Discussion started by: pschlesinger
1 Replies

3. UNIX for Advanced & Expert Users

level 0 dump

need help to create a level 0 dump of the /usr filesystem on the first tape device using compression and then start a level 3 dump of /var after the level 0 completes, is it dump -0ucf /dev/rmt0 /usr (1 Reply)
Discussion started by: jo calamine
1 Replies

4. UNIX for Dummies Questions & Answers

OS level backup

I am not a DBA or an unix admin (I am a developer) and I have a question I need clarification for. Recently one of our oracle ebusiness suite server (apps tier, red hat 4) crashed and the unix admin had to rebuild the server. We had backups for the file system under applmgr and oracle. And... (3 Replies)
Discussion started by: bodhi2000
3 Replies

5. Solaris

Difference between run level & init level

what are the major Difference Between run level & init level (2 Replies)
Discussion started by: rajaramrnb
2 Replies

6. Shell Programming and Scripting

Trying to AWK beyond my level

Hey everyone, So I have a task that I want to complete with awk (+ find, or something similar), but can't quite achieve it by myself... I have 60 GB of files that I want to modify. They each consist of 2 columns of numbers, with up to 50,000 lines in a file. e.g. 1.607743 ... (5 Replies)
Discussion started by: symphonic1985
5 Replies

7. AIX

AIX OS level

I currently have 2 servers running AIX 6.1 on them, but the OS level is listed differently in WSM. I am fairly new to AIX and just re-installed the OS on one of the boxes that originally had 5.1 on it. It now shows 6.1.0.0, whereas the other one shows 6.1.3.0. I have been trying to figure out how... (2 Replies)
Discussion started by: rifamilyguy
2 Replies

8. Red Hat

SSL certificate generation on OS level or application level

We have a RHEL 5.8 server at the production level and we have a Java application on this server. I know of the SSL certificate generation at the OS (RHEL) level but it is implemented on the Java application by our development team using the Java keytool. My doubt is that is the SSL generation can... (3 Replies)
Discussion started by: RHCE
3 Replies
BADSECT(8)						      System Manager's Manual							BADSECT(8)

NAME
badsect - create files to contain bad sectors SYNOPSIS
/sbin/badsect sector ... DESCRIPTION
Badsect makes a file to contain a bad sector. Normally, bad sectors are made inaccessible by the standard formatter, which provides a for- warding table for bad sectors to the driver; see bad144(8) for details. If a driver supports the bad blocking standard it is much prefer- able to use that method to isolate bad blocks, since the bad block forwarding makes the pack appear perfect, and such packs can then be copied with dd(1). The technique used by this program is also less general than bad block forwarding, as badsect can't make amends for bad blocks in the i-list of file systems or in swap areas. Adding a sector which is suddenly bad to the bad sector table currently requires the running of the standard DEC formatter, as UNIX does not supply formatters. Thus to deal with a newly bad block or on disks where the drivers do not support the bad-blocking standard badsect may be used to good effect. Badsect is used on a quiet file system in the following way: First mount the file system, and change to its root directory. Make a direc- tory BAD there and change into it. Run badsect giving as argument all the bad sectors you wish to add. (The sector numbers should be given as physical disk sectors relative to the beginning of the file system, exactly as the system reports the sector numbers in its con- sole error messages.) Then change back to the root directory, unmount the file system and run fsck(8) on the file system. The bad sectors should show up in two files or in the bad sector files and the free list. Have fsck remove files containing the offending bad sectors, but do not have it remove the BAD/nnnnn files. This will leave the bad sectors in only the BAD files. Badsect works by giving the specified sector numbers in a mknod(2) system call (after taking into account the filesystem's block size), creating a regular file whose first block address is the block containing bad sector and whose name is the bad sector number. The file has 0 length, but the check programs will still consider it to contain the block containing the sector. This has the pleasant effect that the sector is completely inaccessible to the containing file system since it is not available by accessing the file. SEE ALSO
mknod(2), bad144(8), fsck(8) BUGS
If both sectors which comprise a (1024 byte) disk block are bad, you should specify only one of them to badsect, as the blocks in the bad sector files actually cover both (bad) disk sectors. On the PDP-11, only sector number less than 131072 may be specified on 1024-byte block filesystems, 65536 on 512-byte block filesystems. This is because only a short int is passed to the system from mknod. 3rd Berkeley Distribution BADSECT(8)
All times are GMT -4. The time now is 10:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy