SHARE
TWEET

Untitled

a guest Apr 22nd, 2014 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ubuntu@ubuntu:~$ sudo ls /dev/sd*
  2. /dev/sda  /dev/sdb  /dev/sdb1
  3. ubuntu@ubuntu:~$ sudo fdisk -l
  4.  
  5. Disk /dev/sdb: 16.0 GB, 15999172608 bytes
  6. 64 heads, 32 sectors/track, 15258 cylinders, total 31248384 sectors
  7. Units = sectors of 1 * 512 = 512 bytes
  8. Sector size (logical/physical): 512 bytes / 512 bytes
  9. I/O size (minimum/optimal): 512 bytes / 512 bytes
  10. Disk identifier: 0x000634dd
  11.  
  12.    Device Boot      Start         End      Blocks   Id  System
  13. /dev/sdb1   *          32    31248383    15624176    c  W95 FAT32 (LBA)
  14. ubuntu@ubuntu:~$ sudo fdisk /dev/sda
  15. fdisk: unable to open /dev/sda: No medium found
  16. ubuntu@ubuntu:~$ ls /dev/sd*
  17. /dev/sda  /dev/sdb  /dev/sdb1
  18. ubuntu@ubuntu:~$ stat /dev/sda
  19.   File: ‘/dev/sda’
  20.   Size: 0               Blocks: 0          IO Block: 4096   block special file
  21. Device: 5h/5d   Inode: 13719       Links: 1     Device type: 8,0
  22. Access: (0660/brw-rw----)  Uid: (    0/    root)   Gid: (    6/    disk)
  23. Access: 2014-04-23 04:10:25.178642116 +0000
  24. Modify: 2014-04-23 04:10:25.178642116 +0000
  25. Change: 2014-04-23 04:10:25.178642116 +0000
  26.  Birth: -
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top