Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How do you defragment you harddrive in unix (Madrake Linux 9.0)? Post 30330 by pudad on Monday 21st of October 2002 01:35:36 AM
Old 10-21-2002
Question How do you defragment you harddrive in unix (Madrake Linux 9.0)?

Subject says it all...
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Supplemental harddrive.

Am planning on adding a secodary SCSI hardrive to the existing 20gb drive., that I have. The old drive has Linux on it. Once, the new drive is added, I am planning on having windows on it. Firstly, could this be done ? Has anyone build a system with a similar configuration ? What is requried,... (1 Reply)
Discussion started by: matvrix
1 Replies

2. Linux

Mount a harddrive in linux.

Hey people i'm very new to linux. I just put a extra 200 gig maxtor HD in my computer. Linux can tell it's there...but it says it cant mount it. How do i mount it manually? thanks, John (2 Replies)
Discussion started by: RKJV
2 Replies

3. UNIX for Dummies Questions & Answers

Copying a file to my harddrive

I'm loged on to a unix sever over the internet and i want to copy a file from there to my harddrive. How would i go about this because cp does not seem to work. (1 Reply)
Discussion started by: zoolz
1 Replies

4. UNIX for Dummies Questions & Answers

booting from which harddrive

Hi, both of my /dev/hda and my /dev/hdb contain /boot partition. I'm wondering how to tell which harddrive's /boot is actually being read? Thanks (2 Replies)
Discussion started by: onthetopo
2 Replies

5. Solaris

installing second harddrive

This is my first post i am a solaris newbie. I just purchased my first sun system. It is a sunblade 1000. It had a fcal 36gb hdd in it already so i purchased a secondary 36gb fcal harddrive to increase my harddrive space however, how do i get it to detect the second harddrive? I have tried boot -r... (2 Replies)
Discussion started by: crzywut
2 Replies

6. Solaris

Unix command to remove external SCSI harddrive

Hi All, I have an external scsi harddrive (HD) connected directly to the workstation. I understand when the external HD is connected and turned on, and type in "devfsadm" command. Unix will detect it but not mount the drive. So by typing in "format" command it will display the following: #... (6 Replies)
Discussion started by: tlee
6 Replies

7. Solaris

Detecting Harddrive Errors

I am looking for some tips or suggestions in how to do the following. 1) From a Solaris server, I run the command iostat -En and receive output that is similiar to the following which shows your disks along with the cdrom/dvdrom: c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport... (1 Reply)
Discussion started by: sunsysadm2003
1 Replies

8. UNIX for Dummies Questions & Answers

How to copy MBR from old harddrive to new harddrive?

How do I copy the master boot record from one harddrive to another or how to install just the MBR? (7 Replies)
Discussion started by: shorty
7 Replies

9. Programming

Trying to write a program to fill up my harddrive (Linux/C)

Hi guys, I'm trying to write a little program that will fill up my harddrive and will log the process during this. Now I've come up with this: #include <stdio.h> void main(void) { char cmd1; char cmd2; int i=1; sprintf(cmd2, "df -h"); while (i<=5) { system("dd... (3 Replies)
Discussion started by: Tiglet
3 Replies

10. Fedora

Partitioning harddrive for installing Linux alongside win 7.

I'm planning on using two Linux OS's alongside win 7, one being Fedora KDE 30. So to prepare for the install I partitioned my harddrive using the Minitool Partition Wizard. I have a 320 GB hdd, so I nade one partiotion about 80 GB forFedora and then left about 70 GB as unused, to later... (2 Replies)
Discussion started by: AndersA
2 Replies
Mail::SpamAssassin::Message::Node(3)			User Contributed Perl Documentation		      Mail::SpamAssassin::Message::Node(3)

NAME
Mail::SpamAssassin::Message::Node - decode, render, and make available MIME message parts SYNOPSIS
DESCRIPTION
This module will encapsulate an email message and allow access to the various MIME message parts. PUBLIC METHODS
new() Generates an empty Node object and returns it. Typically only called by functions in Message. find_parts() Used to search the tree for specific MIME parts. An array of matching Node objects (pointers into the tree) is returned. The parameters that can be passed in are (in order, all scalars): Regexp - Used to match against each part's Content-Type header, specifically the type and not the rest of the header. ie: "Content- type: text/html; encoding=quoted-printable" has a type of "text/html". If no regexp is specified, find_parts() will return an empty array. Only_leaves - By default, find_parts() will return any part that matches the regexp, including multipart. If you only want to see leaves of the tree (ie: parts that aren't multipart), set this to true (1). Recursive - By default, when find_parts() finds a multipart which has parts underneath it, it will recurse through all sub-children. If set to 0, only look at the part and any direct children of the part. header() Stores and retrieves headers from a specific MIME part. The first parameter is the header name. If there is no other parameter, the header is retrieved. If there is a second parameter, the header is stored. Header names are case-insensitive and are stored in both raw and decoded form. Using header(), only the decoded form is retrievable. For retrieval, if header() is called in an array context, an array will be returned with each header entry in a different element. In a scalar context, the last specific header is returned. ie: If 'Subject' is specified as the header, and there are 2 Subject headers in a message, the last/bottom one in the message is returned in scalar context or both are returned in array context. raw_header() Retrieves the raw version of headers from a specific MIME part. The only parameter is the header name. Header names are case- insensitive. For retrieval, if raw_header() is called in an array context, an array will be returned with each header entry in a different element. In a scalar context, the last specific header is returned. ie: If 'Subject' is specified as the header, and there are 2 Subject headers in a message, the last/bottom one in the message is returned in scalar context or both are returned in array context. add_body_part() Adds a Node child object to the current node object. is_leaf() Returns true if the tree node in question is a leaf of the tree (ie: has no children of its own). Note: This function may return odd results unless the message has been mime parsed via _do_parse()! raw() Return a reference to the the raw array. Treat this as READ ONLY. decode() If necessary, decode the part text as base64 or quoted-printable. The decoded text will be returned as a scalar string. An optional length parameter can be passed in which limits how much decoded data is returned. If the scalar isn't needed, call with "0" as a parameter. rendered() render_text() takes the given text/* type MIME part, and attempts to render it into a text scalar. It will always render text/html, and will use a heuristic to determine if other text/* parts should be considered text/html. Two scalars are returned: the rendered type (either text/html or whatever the original type was), and the rendered text. set_rendered($text, $type) Set the rendered text and type for the given part. If type is not specified, and text is a defined value, a default of 'text/plain' is used. This can be used, for instance, to render non-text parts using plugins. visible_rendered() Render and return the visible text in this part. invisible_rendered() Render and return the invisible text in this part. content_summary() Returns an array of scalars describing the mime parts of the message. Note: This function requires that the message be parsed first! delete_header() Delete the specified header (decoded and raw) from the Node information. get_header() Retrieve a specific header. Will have a newline at the end and will be unfolded. The first parameter is the header name (case- insensitive), and the second parameter (optional) is whether or not to return the raw header. If get_header() is called in an array context, an array will be returned with each header entry in a different element. In a scalar context, the last specific header is returned. ie: If 'Subject' is specified as the header, and there are 2 Subject headers in a message, the last/bottom one in the message is returned in scalar context or both are returned in array context. Btw, returning the last header field (not the first) happens to be consistent with DKIM signatures, which search for and cover multiple header fields bottom-up according to the 'h' tag. Let's keep it this way. get_all_headers() Retrieve all headers. Each header will have a newline at the end and will be unfolded. The first parameter (optional) is whether or not to return the raw headers, and the second parameter (optional) is whether or not to include the mbox separator. If get_all_header() is called in an array context, an array will be returned with each header entry in a different element. In a scalar context, the headers are returned in a single scalar. perl v5.12.1 2010-03-16 Mail::SpamAssassin::Message::Node(3)
All times are GMT -4. The time now is 10:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy