xfs
[Top] [All Lists]

Re: /dev/sound

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: /dev/sound
From: "Nathan J. Mehl" <memory@xxxxxxxxx>
Date: Mon, 25 Jun 2001 01:31:59 -0400
Cc: Dusan <dusan@xxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <3B36B942.EA68B99A@sgi.com>; from sandeen@sgi.com on Sun, Jun 24, 2001 at 11:08:34PM -0500
References: <Pine.LNX.4.21.0106242053080.7937-100000@shell.izap.com> <3B36B942.EA68B99A@sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
In the immortal words of Eric Sandeen (sandeen@xxxxxxx):
> Dusan wrote:
>  
> > first  during boot there's attempt to do fstab entry for cdrom /hdc
> > and the file already exists.
> 
> Yep, that's a funky red-hat-ism, it's harmless.  You can take "updfstab"
> out of the initscripts if it annoys you too much.

Actually, it's not entirely harmless -- unless updfstab runs at least
once, you won't get an fstab entry created for your cdrom device,
which is kinda aggravating for people who like to do weird things like
install software or play music. :-)

After poking around a bit, I found that there's no way to make it work
as redhat seems to want it to.  (I say "seems" because updfstab is
completely undocumented other than the source code.)  You have to do
it by hand.  The following command, run as root, will probably do the
right thing:

        /usr/sbin/updfstab --test | grep cdrom >> /etc/fstab

(I'm sorry, I don't remember the specifics of why manually appending
from the --test output worked while the actual command didn't -- it
was some sort of chicken-vs-egg deal.)

-n

------------------------------------------------------<memory@xxxxxxxxx>
             Don't blame me -- I voted for the Unabomber!
<http://blank.org/memory/>----------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>