LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can "dcfldd" make a device? (https://www.linuxquestions.org/questions/linux-newbie-8/can-dcfldd-make-a-device-4175685248/)

n00b_noob 11-15-2020 03:45 AM

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.

pan64 11-15-2020 04:08 AM

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.

teckk 11-15-2020 08:16 AM

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?

computersavvy 11-15-2020 02:14 PM

Quote:

Originally Posted by n00b_noob (Post 6185407)
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.

ondoho 11-16-2020 01:23 AM

Quote:

Originally Posted by teckk (Post 6185453)
You should really stop and read man dd.

Yep.
Or, looking at noob's other threads, any man page.

n00b_noob 11-16-2020 11:12 AM

Quote:

Originally Posted by pan64 (Post 6185411)
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.


All times are GMT -5. The time now is 03:25 AM.