On Mon, 20 Oct 2003, Shachar Shemesh wrote:

> Hi all,

Hi,

> I have recently bought a new hardisk. aside from the vast new spaces now
> available to me, I have a couple of questions.
> 1.
> I partitioned the disk to segments (copied my old system over instead of
> reinstalling - worked great). /usr resides on a different partition. I
> have a couple of programs that install into /opt, however. I did not
> want them to share filesystem with /, and I did not want to open a new
> partition for them (space fragmentation, and never mind that I have over
> 40GB of unpartitioned space in case I need them, and that I have data
> that used to fit into an 11GB partition now sitting on 60GB).
>
> What I did was to create a directory called /usr/opt, and mount it with
> "mount --bind /usr/opt /opt". Now here's the question - is there a way
> to put such mapping into /etc/fstab, so it will be performed
> automatically on each boot? I know I can do that with boot scripts, but
> I rather have all partition information into one place. Is there
> possibly a way to use some mount option instead of a mount command line
> option?

Why not simply ln -s /usr/opt /opt?  Don't know about your
question.

> 2.
> On boot, I get the following message:
> "Assuming 33MHz bus. Use idebus=xx to override". I traced it to the
> ide-core module. As my new disk is ATA133 (my IDE is only 100, but let's
> not be petty), I want to use full speed. I tried putting "options
> ide-core idebus=100" into /etc/modules.conf. I can confirm that the
> initrd image has that option, but I still get this line during boot. I
> tried passing it as a kernel command (append in lilo.conf) - no juice.

I have passed idebus=66 to kernel and it worked out.  Try 66
first.

> These are two questions, which are pretty unrelated - should I at all be
> worried about this? It seems to me like ide-core uses some temporary
> driver until the proper driver, piix, is loaded. Is this message still
> relevant when my system is up? Is there any way for me to confirm this?

Perhaps hdparm benchmarks? Oh I couldn't confirm this myself too.

> The second question is how do I pass this parameter. Even if it doesn't
> matter, it annoys me when something tells me "use this paramter", and
> goes on to say so even after I have /used/ that parameter.
>
> And here is one last question, to make my couple of questions a nice
> round 4 - how do I check which PIO mode my IDE is using? hdparm has an
> option to set PIO, but not to check what it is. I tried using hdparm's
> benchmark with the various settings, and could spot no difference whats
> o' ever. Still...

Actually it should not use PIO, in favor of DMA.  BTW hdparm -I
would show the supported modes, with a start character showing
the enabled mode.

>              Shachar

behdad,
who is going to study after finishing this mail.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to