3 ms·
What's /dev/sda?
by eridius 14y ago
What's /dev/sda?
- gjulianm 14y agoOn Linux, the hard disk. This command, dd, copies data in bulk from /dev/random (a special device on *nix that outputs random bytes) to /dev/sda (your hard disk). That means it starts to overwrite your disk with trash, rendering the system unusable.
- eridius 14y agoI know what `dd` is. I just don't use Linux, so I'm not particularly familiar with the Linux-specific /dev entries. Thanks though.
- aroman 14y agoMost probably the storage device which is your HD.
- aidos 14y agoProbably your main drive.
- derleth 14y agoThe device file applications can use to access the first hard drive on most Linux systems. It provides raw access without filesystems or partitions. /dev/sda1 is the first partition on that drive, /dev/sda2 the second, and so on. /dev/sdb is the next hard drive, /dev/sdc the next after that; beyond /dev/sdz, the naming scheme is apparently dependent on the hardware driver in use: Going from /dev/sdz to /dev/sdaa is what happens in the default SATA and SCSI drives, up to /dev/sdzzz, at which point you apparently run into problems. [1] http://rwmj.wordpress.com/2011/01/09/how-are-linux-drives-named-beyond-drive-26-devsdz/ http://rwmj.wordpress.com/2011/01/09/how-are-linux-drives-na... [1] http://kerneltrap.org/mailarchive/linux-scsi/2010/9/20/6886603 http://kerneltrap.org/mailarchive/linux-scsi/2010/9/20/68866...