LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-15-2020, 03:45 AM   #1
n00b_noob
Member
 
Registered: Sep 2020
Posts: 436

Rep: Reputation: Disabled
Post Can "dcfldd" make a device?


Hello,
I'm using Debian 10.6 x86_64 and when I use below command then it make a news HDD:
Code:
# dcfldd if=/dev/zero of=/dev/sdc
After it, I have a "sdc" device and I want to know why and how can I remove it?

Thank you.
 
Old 11-15-2020, 04:08 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,879

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
that is not a device, but a regular file if it was created by that command. use file /dev/sdc to check it. You can use the usual rm to remove it.
 
1 members found this post helpful.
Old 11-15-2020, 08:16 AM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,138
Blog Entries: 6

Rep: Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827
You should really stop and read man dd. Or you are going to be back here complaining about an erased hard drive.

/dev/sdc, that is normally a drive. If you had something mounted there, it would be gone. With no hope of recovery.

What are you trying to achieve?
 
Old 11-15-2020, 02:14 PM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by n00b_noob View Post
Hello,
I'm using Debian 10.6 x86_64 and when I use below command then it make a news HDD:
Code:
# dcfldd if=/dev/zero of=/dev/sdc
After it, I have a "sdc" device and I want to know why and how can I remove it?

Thank you.
As has already been stated, you did an extremely risky command.
Please do a quick google search for what dcfldd does and how to use it (it is based on dd), and learn about dd before you wipe something important out.
 
1 members found this post helpful.
Old 11-16-2020, 01:23 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by teckk View Post
You should really stop and read man dd.
Yep.
Or, looking at noob's other threads, any man page.
 
Old 11-16-2020, 11:12 AM   #6
n00b_noob
Member
 
Registered: Sep 2020
Posts: 436

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
that is not a device, but a regular file if it was created by that command. use file /dev/sdc to check it. You can use the usual rm to remove it.
Thank you.
 
  


Reply



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
Has anyone tried this shredding tool called dcfldd codergeek Linux - Software 1 01-16-2013 11:07 PM
How to verify harddisk after copying using DCFLDD utility with MD5 hash? mdfakkeer Linux - Software 3 04-20-2010 03:19 PM
Make sure I have overwritten every bit with dcfldd Recursion Linux - Software 4 12-11-2009 03:35 PM
LXer: Creating a dd/dcfldd Image Using Automated Image & Restore (AIR) LXer Syndicated Linux News 0 03-07-2007 05:16 PM
after 14 megs it says out of space (while using dcfldd) osat3ch Linux - Software 2 08-01-2005 08:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:31 PM.

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