Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
sda is a hard disk (or hard-disk-like) device. part1 and part2 means you have two partitions on that disk. fdisk is acting weird and it doesn't list them for some reason. I think that it happens with usb drives, but maybe your disk is some kind of memory based device, and not a real hard disk.
Can you please, provide the output of these commands?
Code:
df | grep sda
mount | grep sda
Last edited by i92guboj; 08-17-2009 at 01:45 PM.
Reason: typo
sda is a hard disk (or hard-disk-like) device. part1 and part2 means you have two partitions on that disk. fdisk is acting weird and it doesn't list them for some reason. I think that it happens with usb drives, but maybe your disk is some kind of memory based device, and not a real hard disk.
Can you please, provide the output of these commands?
Code:
df | grep sda
mount | grep sda
when i typed in df | grep sda it came up
3202480 3073260 0 100%/
when i typed in mount | grep sda it came up
on / type ext3 (rw,noatime, nodiratime)
You miss the point, the absolute path will work from everywhere, but since she already was at /, she can also use the relative path, without / in front of it, they both will reach the same binary. In fact, she received the same empty output. If the path had been incorrect as you think it was, she would have received a "command not found " error.
Quote:
Originally Posted by fletch2k3
when i typed in df | grep sda it came up
3202480 3073260 0 100%/
when i typed in mount | grep sda it came up
on / type ext3 (rw,noatime, nodiratime)
Only one partition is mounted, however according to what you said above, you must have another one somewhere. Can you try these ones?
You miss the point, the absolute path will work from everywhere, but since she already was at /, she can also use the relative path, without / in front of it, they both will reach the same binary. In fact, she received the same empty output. If the path had been incorrect as you think it was, she would have received a "command not found " error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.