03-04-2002
In linux, harddrives aren't listed as C/E/D/G:. They are listed like so:
/dev/hda1
Explained:
/dev
::This is the device directory
hd
::This means that the device is a harddrive(HD)
hda
::This means hd A.
hda1
::This means partition one on hd A.
So to format what used to be your C:, you would type:
fdisk /dev/hda
[Note: I am kinda new myself; you can confirm what I said at
linuxdocs.org.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
is it possible to format a powerbook g4 mac? like totally erase the HD then pop in the Mac OS cd and it will boot up an install like windows or any linux? (5 Replies)
Discussion started by: xeron
5 Replies
2. UNIX for Dummies Questions & Answers
Hi Again Guys ,
Please i installed linux RH 6.1 on Toshiba , 10G , RAM=128 , 600 MHZ .
After i installed linux i got many error messages , seems it was not installed correctly , also when i finished installation it did not ask me for the 2nd installation CD , and when i logged as root , i... (5 Replies)
Discussion started by: tamemi
5 Replies
3. Shell Programming and Scripting
I have next part of script:
for i in $LIST
do
echo "`date +"%H:%M:%S"` Converting $i ...";
mysql -uroot some -sABe "ALTER TABLE $i ENGINE=$ENGINE";
done
I want to get following output formatting:
"OK" must be one under another :)
... (3 Replies)
Discussion started by: mirusnet
3 Replies
4. Shell Programming and Scripting
I have file with different columns
for ex.
contents of file "txt"
NAME AGE MARKS
HARRY 23 89
TOM 12 67
BOB 23 11
and you see its not formatted.Now, I need the file "txt" to be formatted like
COLUMN1 COLUMN2 COLUMN3
NAME AGE ... (3 Replies)
Discussion started by: vijay_0209
3 Replies
5. Shell Programming and Scripting
Is there a way to make a 2 column output out of the following :
1
2
3
4
5
6
Output :
1 2
3 4
5 6
Thanks,
Prasanna (3 Replies)
Discussion started by: prasanna1157
3 Replies
6. Shell Programming and Scripting
Hello,
I am developing a platform Independant tool that should work for all major unix flavors outlined in this forum(Solaris,Linux, AIX, HPUX, SCO,BSD)
Therefore, in order to cover all types of user community, I have deliberately posted the same message on every forum. Please do not think... (9 Replies)
Discussion started by: darsh123
9 Replies
7. Shell Programming and Scripting
I need to format a txt file and convert it in CSV.
Any "future" column is separated by a newline.
FROM:
XS1
1.43294
0.0
XS2
1.21824
0.0
TO:
XS1,XS2 (2 Replies)
Discussion started by: alfreale
2 Replies
8. Shell Programming and Scripting
Hi Guys,
i have report that runs every 10 min and send the report of failed jobs to my mail.
Currently i am using a command like this to send mail.
mailx -t -s "FAILURE JOBS IN HYDRA $temp_date" addressee@domain.com < temp_file5
But i am getting mail in this format ....... (4 Replies)
Discussion started by: gkrish
4 Replies
9. Shell Programming and Scripting
Good day All,
I have requirement where my input data looks like below
] Message5
Expecting Output as
04/MAR/2104 ||| 23:15:45 ||| servername ||| NOTIFICATION |||message1||||||userId|||||| Message5
I could not use space delimiter as in the messages I would be having them as... (2 Replies)
Discussion started by: Tomlight
2 Replies
10. Shell Programming and Scripting
Hi, I am new to UNIX and need your help in formatting the below input command to the desire output
Input:
CREATE UNIQUE INDEX XPKTABLE1
(
COL1,
COL2
) ON TABLE_NM;
Output:
COMMENT ON TABLE DB_NM.TABLE_NM AS 'PK=,COL1,COL2; ';
In... (14 Replies)
Discussion started by: varun2327
14 Replies
LEARN ABOUT DEBIAN
partclone.ntfs
partclone.extfs(8) System Manager's Manual partclone.extfs(8)
NAME
partclone.extfs - The utility for clone and restore an etx2/ext3 partition.
SYNOPSIS
partclone.extfs [options]... [MODE] [SOURCE FILE] [OUTPUT FILE]
DESCRIPTION
partclone.extfs is a part of Partclone project for ext2/3 file system. Partclone is a project like the well-known backup utility "Parti-
tion Image" a.k.a partimage. Partclone provide utilities to back up used blocks and design for higher compatibility of the file system
using supported library like e2fslibs.
OPTIONS
-o, --output FILE
Output FILE
-O --overwrite FILE
Output FILE, overwriting if exists
-s, --source FILE
Source FILE
-L, --logfile FILE
Log FILE
-c, --clone
Save to the special image format
-r, --restore
Restore from the special image format
-b, --dev-to-dev
Local device to device copy mode
-D, --domain
Create GNU Ddrescue domain log file from source device
--offset_domain=X
Add X (in bytes) to all positions reported in the domain log file
-R, --rescue
Continue after disk read errors
-dX, --debug=X
Set the debug level to X = [0|1|2]
-C, --no_check
Don't check device size and free space
-X, --dialog
Output message as Dialog Format
-I, --ignore_fschk
Ignore filesystem check
--ignore_crc
Ignore crc check error
-F, --force
Force progress
-f, --UI-fresh
Fresh times of progress
-q, --quiet
quiet mode, no progress update
-v, --version
Display partclone version
-h, --help
Display this help
Examples:
clone /dev/hda1 to hda1.img and display debug information.
partclone.extfs -c -d -s /dev/hda1 -o hda1.img
restore /dev/hda1 from hda1.img and display debug information.
partclone.extfs -r -d -s hda1.img -o /dev/hda1
restore image from clonezilla(split, gzip,) with stdin source
cat sda1.ext3-ptcl-img.gz.a* > gunzip -c | partclone.ext3 -d -r -s - -o /dev/sda1
REPORTING BUGS
Report bugs to <thomas@nchc.org.tw>
SUPPORT
You can get support at http://partclone.org
AUTHOR
This manual page was written by Thomas Tsai <thomas@nchc.org.tw>
partclone 0.2.48 Nov 2007 partclone.extfs(8)