Ask a Question related to Ubuntu, Design and Development.
-
Chuck #1
Re: Where is that hard drive?
On Thu, 02 Feb 2006 05:59:29 +0000, Walter Mitty wrote:
I don't understand why gparted wouldn't show anything but I'd use mount> What tools do I need to verify what these directories link to?
>
> thanks for any help.
anyway.
mount|grep sd
Chuck
Chuck Guest
-
USB Hard Drive
I need to get a USB Hard Drive to "Auto Run" a flash movie when plugged into a USB port on all platforms of a PC (Win98, 2000, XP, ME). Can PHP do... -
[PHP] USB Hard Drive
On Wed, 2003-07-23 at 12:49, Digital Directory USA, Inc wrote: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Off Topic but I must protest... You... -
120 GB hard drive on old P75
I am trying to install a 120 GB hard drive as a third hard drive on a Pentium 75 with a cmd640 IDE interface. I am attempting to replace a 60GB... -
new hard drive--now what?
Well, just to be sure, I would set it up from Scratch again and download and install your plugins also. There may be a way, but I wouldn't trust it... -
how hard to replace titanium internal hard drive? How to cloneold hard drive onto it?
Hi all - I have a 2001 titanium laptop with a 20 Gig hard drive. The thing is getting too full and I'm toying with the idea of getting a bigger... -
Troy Piggins #2
Re: Where is that hard drive?
* Walter Mitty wrote:
What is the output of "$ mount" ?> This is a little embarassing, but I'm lost.
>
> In my /media directory I have a windows and a sda5 directory.
>
> total 45
> lrwxrwxrwx 1 root root 6 2005-12-07 14:10 cdrom -> cdrom0
> drwxr-xr-x 2 root root 4096 2005-12-07 14:10 cdrom0
> drwxr-xr-x 2 root root 4096 2005-12-28 15:56 ieee1394disk
> drwxr-xr-x 2 root root 4096 2005-12-27 01:32 RGR USB 200
> dr-x------ 1 mitticus mitticus 8192 2006-02-01 07:23 sda1
> drwxrwxrwx 2 root root 4096 2006-02-02 06:32 sda5
> drwxr-xr-x 2 root root 4096 2005-12-24 09:44 sdb1
> drwxrwxrwx 6 root root 4096 2006-02-02 05:43 sdd5
> lrwxrwxrwx 1 root root 4 2005-12-07 14:10 usb -> usb0
> drwxr-xr-x 2 root root 4096 2005-12-07 14:10 usb0
> drwxr-xr-x 2 root root 4096 2006-01-31 20:36 usbdisk
> drwxr-xr-x 2 root root 4096 2005-12-09 09:50 windows
> drwxr-xr-x 3 root root 1024 1970-01-01 01:00 xfer
>
> Now I know sda1 is my readonly external usb ntfs drive : not emtpy.
> xfer is a small fat32 transfer partition on primary IDE : not empty.
>
> sdd5 is my external 300Gb ext3 backup device : not empty.
>
> My problem is that I have no idea where sda5 points to. If I go into
> that dir I can create files etc.
>
> gparted shows nothing in regard.
>
> system/disks shows nothing.
>
> there is nothing in the fstab.
>
> What tools do I need to verify what these directories link to?
This should show up what filesystem it's mounted as which is where I'd
start. If it doesn't show up there, look in /etc/fstab to see a
reference for it in there.
If nothing shows up there, maybe it's not even a separate partition.
Maybe it's just a directory named sda5 in your /media directory?
eg you could type "$ sudo mkdir /media/sdxzy" which would create a
directory in your /media, but it isn't actually another disk/partition,
it's just a directory on your /dev/sda disk.
That's where I'd start anyway...
--
Troy Piggins
Ubuntu 5.10 pkgs : kernel 2.6.12-9-386, postfix 2.2.4, procmail 3.22
Compiled from src : slrn 0.9.8.1/rt (score_color patch), mutt 1.5.11i
vim 6.4
Troy Piggins Guest
-
Troy Piggins #3
Re: Where is that hard drive?
* Walter Mitty wrote:
Not really.> "Troy" ... spluttered:
>>>> * Walter Mitty wrote:>>>>> This is a little embarassing, but I'm lost.
>>>
>>> In my /media directory I have a windows and a sda5 directory.
>>>
>>> total 45
>>> lrwxrwxrwx 1 root root 6 2005-12-07 14:10 cdrom -> cdrom0
>>> drwxr-xr-x 2 root root 4096 2005-12-07 14:10 cdrom0
>>> drwxr-xr-x 2 root root 4096 2005-12-28 15:56 ieee1394disk
>>> drwxr-xr-x 2 root root 4096 2005-12-27 01:32 RGR USB 200
>>> dr-x------ 1 mitticus mitticus 8192 2006-02-01 07:23 sda1
>>> drwxrwxrwx 2 root root 4096 2006-02-02 06:32 sda5
>>> drwxr-xr-x 2 root root 4096 2005-12-24 09:44 sdb1
>>> drwxrwxrwx 6 root root 4096 2006-02-02 05:43 sdd5
>>> lrwxrwxrwx 1 root root 4 2005-12-07 14:10 usb -> usb0
>>> drwxr-xr-x 2 root root 4096 2005-12-07 14:10 usb0
>>> drwxr-xr-x 2 root root 4096 2006-01-31 20:36 usbdisk
>>> drwxr-xr-x 2 root root 4096 2005-12-09 09:50 windows
>>> drwxr-xr-x 3 root root 1024 1970-01-01 01:00 xfer
>>>
>>> Now I know sda1 is my readonly external usb ntfs drive : not emtpy.
>>> xfer is a small fat32 transfer partition on primary IDE : not empty.
>>>
>>> sdd5 is my external 300Gb ext3 backup device : not empty.
>>>
>>> My problem is that I have no idea where sda5 points to. If I go into
>>> that dir I can create files etc.
>>>
>>> gparted shows nothing in regard.
>>>
>>> system/disks shows nothing.
>>>
>>> there is nothing in the fstab.
>>>
>>> What tools do I need to verify what these directories link to?
>> What is the output of "$ mount" ?
> already posted in thread.
>>>> This should show up what filesystem it's mounted as which is where I'd
>> start. If it doesn't show up there, look in /etc/fstab to see a
>> reference for it in there.
> alread posted in thread.
>>>> If nothing shows up there, maybe it's not even a separate partition.
>> Maybe it's just a directory named sda5 in your /media directory?
> maybe, but I dont know. Seems strange.
If it's not mounted, and it doesn't appear in /etc/fstab, then it isn't>>> eg you could type "$ sudo mkdir /media/sdxzy" which would create a
>> directory in your /media, but it isn't actually another disk/partition,
>> it's just a directory on your /dev/sda disk.
>>
>> That's where I'd start anyway...
> me too. In fact I did : but I was hoping for some sort of "analyse"
> tool which I could point at /media which would explain in detail the
> entire contents.
mounting automatically. If it isn't in any configs like samba or nfs
for sharing, then it must just be a deceptive directory name only.
Try renaming it, keep your system running and see if anything spacks
out. If it does, change it back and you know your culprit. If it
doesn't I'd guess it's redundant.
You aren't running any production type servers or anything on it? Just
a desktop type thing?
--
Troy Piggins
Ubuntu 5.10 pkgs : kernel 2.6.12-9-386, postfix 2.2.4, procmail 3.22
Compiled from src : slrn 0.9.8.1/rt (score_color patch), mutt 1.5.11i
vim 6.4
Troy Piggins Guest
-
Seth H Holmes #4
Re: Where is that hard drive?
On 2006-02-02, Walter Mitty <mitticus@gmail.com> wrote:
*SNIP*> This is a little embarassing, but I'm lost.
>
> In my /media directory I have a windows and a sda5 directory.
Execute:> What tools do I need to verify what these directories link to?
>
> thanks for any help.
cd /media/sda5
df .
You'll probably find that it's the same output as
cd /media/
df .
This will show you what file system the directory you are currently in
is mounted on. However, I'm guessing it's just a directory. That's all
mount points are. If you remove the external 300GB ext 3 backup device,
/media/sdd5 will still exist and you could potentially put files there. If
you then mounted your external 300GB ext 3 backup device, you would no
longer be able to access those files. While this sounds odd, it's amazingly
convenient.
When I began to run out of space on the hard disk in my web server, I added
another disk, copied all the files to it, and mounted it on /var/www
dweezil:~> df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 13756872 10870008 2188040 84% /
tmpfs 193592 4 193588 1% /dev/shm
/dev/hdb1 10080488 5419548 4148872 57% /var/www
It's just like it's in the /var directory... only it isn't. Not physically.
--
Seth H Holmes
Seth H Holmes Guest
-
Chuck #5
Re: Where is that hard drive?
On Thu, 02 Feb 2006 06:38:13 +0000, Walter Mitty wrote:
Ah, then I think it's an empty directory. If you 'ls -l /dev/sd*' you> "Chuck" risked the wrath of Usenet weenies mastering mommies computer
> when he ventured forth on 2006-02-02, commmitted his life to the whims
> of Google, and spluttered:
>> mount doesn list sda5 either.>> On Thu, 02 Feb 2006 05:59:29 +0000, Walter Mitty wrote:
>>>>>>> What tools do I need to verify what these directories link to?
>>>
>>> thanks for any help.
>> I don't understand why gparted wouldn't show anything but I'd use mount
>> anyway.
>>
>> mount|grep sd
>>
>> Chuck
>>
>>
should see what is going on.
If the line starts with an l it's a link.
If it's a real device it will start with a b.
If it's a directory it will start with a d.
And so if it starts with a d it can be safely removed.
Chuck
Chuck Guest



Reply With Quote

