slave drive mounting where?

Chris Aitken chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org
Thu Nov 22 00:44:55 UTC 2007


Lennart Sorensen wrote:

<snip>
> No, when you ask df with a path, it tells you the info for whatever
> device contains what you asked for.  So since you asked for df on
> /dev/sdb1 you got the info on whatever holds the device node /dev/sdb1
> which is generally the root filesystem.  You wanted to ask df about
> wherever you mounted /dev/sdb1 to since it needs to be mounted to tell
> how full it is (since it requires filesystem knowledge to see that info,
> which df doesn't have so instead you must mount it first and then ask df
> for the info on that mount point).
>
> So if you went: 
> mount /dev/sdb1 /mnt
> df /mnt
>   
[root at p733 chris]# mount /dev/sdb1 /bckupdrv
[root at p733 chris]# df /dev/sdb1
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb1              9614116    168624   8957120   2% /bckupdrv

Oh, now that's better...

So, I guess the partition is there on the slave drive - it just needs a 
mount command so that it will mount /bckupdrv (?)

So, I just manually add the line to /etc/fstab?

I guess what I've been calling the "gui partitioner" did make the 
partition, but it did not mount /bckupdrv, but since /bckupdrv exists as 
a directory (under /) when I save .ogg's to it they are just saving to 
/dev/sda. Hence, my primary hard drive filling up.

Chris

<snip>
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list