Not really a mystery.
Quote:
wayne@wayne-Aspire-One:~$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 150814948 4139672 139014324 3% /
none 502352 248 502104 1% /dev
none 507948 716 507232 1% /dev/shm
none 507948 204 507744 1% /var/run
none 507948 0 507948 0% /var/lock
/dev/sdb1 3862528 2336 3860192 1% /mnt
See the /dev/sda1; that indicates a scsi device (sd) first one (a) and first partition (1); it is mounted as /; this is where your entire system is located.
When you attach another storage device the system identifies it and assigns it /dev/sdb1; If it had two partitions there would be /dev/sdb1 and /dev/sdb2
A third would show up as /dev/sdc1
A big hurdle to understanding unix/linux if you come from windoze, is that there is only ONE file tree; this can be made up of many local disk drives and network mounted drives. If you ask the system to show all files below / it will show you the entire system regardless of what drives the info is on. This differs widely from the ill conceived filesystem layout attached to physical hardware (e.g. The "C" drive; the "D" drive)
Quote:
wayne@wayne-Aspire-One:~$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 150814948 4139672 139014324 3% /
none 502352 248 502104 1% /dev
none 507948 716 507232 1% /dev/shm
none 507948 204 507744 1% /var/run
none 507948 0 507948 0% /var/lock
/dev/sdb1 3862528 2336 3860192 1% /mnt
See the /dev/sda1; that indicates a scsi device (sd) first one (a) and first partition (1); it is mounted as /; this is where your entire system is located.
When you attach another storage device the system identifies it and assigns it /dev/sdb1; If it had two partitions there would be /dev/sdb1 and /dev/sdb2
A third would show up as /dev/sdc1
A big hurdle to understanding unix/linux if you come from windoze, is that there is only ONE file tree; this can be made up of many local disk drives and network mounted drives. If you ask the system to show all files below / it will show you the entire system regardless of what drives the info is on. This differs widely from the ill conceived filesystem layout attached to physical hardware (e.g. The "C" drive; the "D" drive)