Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-24-2007, 12:18 PM   #1
Registered: Oct 2005
Location: Bangladesh
Posts: 490

Rep: Reputation: 30
Exclamation about /dev/null and also backup utility

Dear Friends ,

I have the following two queries :

1) what is the function of "/dev/null" in Linux . Which information contain this partition in Linux ? The same quetion also about '/dev/sda' or '/dev/sdb' ?

2) How can I measure which partition take space or allocate for the USB devices ,
/dev/sda1 or /dev/sdb1 ? I m confused about this

3)If i want to take whole backup of the Linux server , then is there any third party
tool for this purpose ? For example , in windows platform I can say , for whole
backup , a third party tool 'GHOST' is used for this purpose . Similarly is there
any tools like this for Linux ?
Old 06-24-2007, 02:04 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Your questions are unfortunately not very clear....

/dev/null is not a partition---it is a special device which can be thought of as "write only". Anything sent there is never seen again.
Which information contain this partition in Linux ?
I don't know what you mean here...

Things like /dev/sda are not partitions, they are devices. In /dev you will find both character and block devices--If you do ls -l in /dev, you will see the difference in the first letter.

A USB device would not typically show up as /dev/sda1, etc.

The dd command is the low-level equivalent of ghost.
Old 06-25-2007, 08:06 AM   #3
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 30
Quoth pixellany:

/dev/null is not a partition---it is a special device which can be thought of as "write only". Anything sent there is never seen again.
Not quite. /dev/null can also be read from, and returns an immediate end of file.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What would happen if I where to cat /dev/mem > /dev/null Joey.Dale Linux - General 11 07-26-2009 12:46 PM
What is meant by " file > /dev/null 2>&1 </dev/null " attockonian Linux - Newbie 5 06-30-2006 10:51 PM
/dev/null linuxprogrammer Linux - Newbie 1 09-05-2005 07:07 AM
/dev/null samek Linux - Software 2 12-11-2004 10:18 AM
mv c:\WINDOWS /dev/null; mount /dev/hda treehead Member Intro 5 10-19-2004 08:53 AM

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration