Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* couple of questions...
@ 1996-12-05  4:07 Randy Lee Carpenter
  0 siblings, 0 replies; 9+ messages in thread
From: Randy Lee Carpenter @ 1996-12-05  4:07 UTC (permalink / raw)


On the UDB running Redhat4.0, the system is never able to umount /usr no
matter what drive it is on. Why is this? I am able to do so only in single
user. It gives the message "Device busy".

How do I format a partition MSDOS? I want to make a ZIP disk to boot form,
and want to include milo/linload on the disk.  Is there another way to do
so without having to format msdos. If not, how do I do it? There doesnt
seem to be a 'mtool' that will work with hard disks.

____________________________________________________________________________
Randy Carpenter - Computer Science Major, Recording Technology Minor 
Bowling Green State University
Computer Consultant - University Computer Services 
email: rcarpen@mail.bgsu.edu
WWW: http://www.bgsu.edu/~rcarpen/
____________________________________________________________________________

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: couple of questions...
       [not found] <Pine.OSF.3.93.961204230433.17453A-100000@alpha.bgsu.edu>
@ 1996-12-05  4:39 ` Joshua M. Thompson
  0 siblings, 0 replies; 9+ messages in thread
From: Joshua M. Thompson @ 1996-12-05  4:39 UTC (permalink / raw)


On Wed, 4 Dec 1996, Randy Lee Carpenter wrote:

> On the UDB running Redhat4.0, the system is never able to umount /usr no
> matter what drive it is on. Why is this? I am able to do so only in single
> user. It gives the message "Device busy".

Do the following:

mv /usr/lib/libnss* /lib

The libnss* files are dynamically loaded by bash (well, actually glibc
does it, but bash is what is causing it), and since bash is executing the
shutdown script, it can't unmount /usr.

> How do I format a partition MSDOS? I want to make a ZIP disk to boot form,
> and want to include milo/linload on the disk.  Is there another way to do
> so without having to format msdos. If not, how do I do it? There doesnt
> seem to be a 'mtool' that will work with hard disks.

There is a "mkdosfs" command to make MS-DOS filesystems on a partition.
You should have it on your system unless for some reason you decided not
to install that particular package (mkdosfs-ygg-0.3b-4).

-- 
invid@optera.com             | We are Grey
http://www.optera.com/~invid | We stand between the Candle and the Star
                             | Between the Darkness and the Light

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: couple of questions...
       [not found] <Pine.LNX.3.95.961204233459.6274A-100000@jade.optera.com>
@ 1996-12-05  6:02 ` Randy Lee Carpenter
  0 siblings, 0 replies; 9+ messages in thread
From: Randy Lee Carpenter @ 1996-12-05  6:02 UTC (permalink / raw)


On Wed, 4 Dec 1996, Joshua M. Thompson wrote:

> On Wed, 4 Dec 1996, Randy Lee Carpenter wrote:
> 
> > On the UDB running Redhat4.0, the system is never able to umount /usr no
> > matter what drive it is on. Why is this? I am able to do so only in single
> > user. It gives the message "Device busy".
> 
> Do the following:
> 
> mv /usr/lib/libnss* /lib
> 

This does not work at all.... I am in the process of fixing the damage it
causedn now....  It does not copy the symbolic links correctly...

____________________________________________________________________________
Randy Carpenter - Computer Science Major, Recording Technology Minor 
Bowling Green State University
Computer Consultant - University Computer Services 
email: rcarpen@mail.bgsu.edu
WWW: http://www.bgsu.edu/~rcarpen/
____________________________________________________________________________

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: couple of questions...
       [not found] <Pine.OSF.3.93.961205010138.20638B-100000@alpha.bgsu.edu>
@ 1996-12-05  6:14 ` Joshua M. Thompson
  1996-12-05 12:05 ` Miguel Avillez
  1 sibling, 0 replies; 9+ messages in thread
From: Joshua M. Thompson @ 1996-12-05  6:14 UTC (permalink / raw)


On Thu, 5 Dec 1996, Randy Lee Carpenter wrote:

> This does not work at all.... I am in the process of fixing the damage it
> causedn now....  It does not copy the symbolic links correctly...

I should've added that you should run "ldconfig" after the move. I
apologize for that. Even then it _will_ require you to rebuild the *.so
symlinks, but these are only needed for compiling.

-- 
invid@optera.com             | We are Grey
http://www.optera.com/~invid | We stand between the Candle and the Star
                             | Between the Darkness and the Light

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: couple of questions...
       [not found] <Pine.LNX.3.95.961205011138.7489A-100000@jade.optera.com>
@ 1996-12-05  6:50 ` Randy Lee Carpenter
  0 siblings, 0 replies; 9+ messages in thread
From: Randy Lee Carpenter @ 1996-12-05  6:50 UTC (permalink / raw)


It still gives me the "device busy" message... Any other ideas?

Also, why does this happen at all?? /usr is usually on a separate
partition. One would think that RedHat could get something like that
right the first time....

 On Thu, 5 Dec 1996, Joshua M. Thompson wrote:

> On Thu, 5 Dec 1996, Randy Lee Carpenter wrote:
> 
> > This does not work at all.... I am in the process of fixing the damage it
> > causedn now....  It does not copy the symbolic links correctly...
> 
> I should've added that you should run "ldconfig" after the move. I
> apologize for that. Even then it _will_ require you to rebuild the *.so
> symlinks, but these are only needed for compiling.
> 
> -- 
> invid@optera.com             | We are Grey
> http://www.optera.com/~invid | We stand between the Candle and the Star
>                              | Between the Darkness and the Light
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 

____________________________________________________________________________
Randy Carpenter - Computer Science Major, Recording Technology Minor 
Bowling Green State University
Computer Consultant - University Computer Services 
email: rcarpen@mail.bgsu.edu
WWW: http://www.bgsu.edu/~rcarpen/
____________________________________________________________________________

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: couple of questions...
       [not found] <Pine.OSF.3.93.961205014920.23805A-100000@alpha.bgsu.edu>
@ 1996-12-05  8:10 ` Joshua M. Thompson
  0 siblings, 0 replies; 9+ messages in thread
From: Joshua M. Thompson @ 1996-12-05  8:10 UTC (permalink / raw)


On Thu, 5 Dec 1996, Randy Lee Carpenter wrote:

> It still gives me the "device busy" message... Any other ideas?
> 
> Also, why does this happen at all?? /usr is usually on a separate
> partition. One would think that RedHat could get something like that
> right the first time....

Are you sure you got them all? The only thing left in /usr/lib should be
some libnss_*.so symlinks pointing to files under /lib.

I agree that this really shouldn't been found in testing, but it _is_ an
easy mistake to make. Bash doesn't directly load those files itself ("ldd
/bin/bash" won't list them); the C library loads them on behalf of bash
when doing lookups in some of the files in /etc (passwd, hosts, etc.).
This is a glibc feature, and so the same exact code works fine on x86
RedHat 4.0, which doesn't use glibc. Since the scripts are identical
across platforms, I can imagine that this particular combination (RedHat
4.0, on an Alpha, with /usr and / on different partitions) was not tested.

-- 
invid@optera.com             | We are Grey
http://www.optera.com/~invid | We stand between the Candle and the Star
                             | Between the Darkness and the Light

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: couple of questions...
       [not found] <Pine.LNX.3.95.961205030537.8611A-100000@jade.optera.com>
@ 1996-12-05  8:46 ` Randy Lee Carpenter
  0 siblings, 0 replies; 9+ messages in thread
From: Randy Lee Carpenter @ 1996-12-05  8:46 UTC (permalink / raw)


Ok... it works now, had a couple files still in /usr/lib. BUT, it only
umounts it if I am shutting down. If I type 'umount /usr' it still says
'device busy' Im in the process of deciding which drive to have /usr on,
because the drives are acting flaky, and would like to be able to umount
and mount a different /usr if problems arise. Any ideas? :-)

On Thu, 5 Dec 1996, Joshua M. Thompson wrote:

> 
> Are you sure you got them all? The only thing left in /usr/lib should be
> some libnss_*.so symlinks pointing to files under /lib.
> 
> I agree that this really shouldn't been found in testing, but it _is_ an
> easy mistake to make. Bash doesn't directly load those files itself ("ldd
> /bin/bash" won't list them); the C library loads them on behalf of bash
> when doing lookups in some of the files in /etc (passwd, hosts, etc.).
> This is a glibc feature, and so the same exact code works fine on x86
> RedHat 4.0, which doesn't use glibc. Since the scripts are identical
> across platforms, I can imagine that this particular combination (RedHat
> 4.0, on an Alpha, with /usr and / on different partitions) was not tested.
> 

____________________________________________________________________________
Randy Carpenter - Computer Science Major, Recording Technology Minor 
Bowling Green State University
Computer Consultant - University Computer Services 
email: rcarpen@mail.bgsu.edu
WWW: http://www.bgsu.edu/~rcarpen/
____________________________________________________________________________

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: couple of questions...
       [not found] <Pine.OSF.3.93.961205034430.27688A-100000@alpha.bgsu.edu>
@ 1996-12-05  9:03 ` Joshua M. Thompson
  0 siblings, 0 replies; 9+ messages in thread
From: Joshua M. Thompson @ 1996-12-05  9:03 UTC (permalink / raw)


On Thu, 5 Dec 1996, Randy Lee Carpenter wrote:

> Ok... it works now, had a couple files still in /usr/lib. BUT, it only
> umounts it if I am shutting down. If I type 'umount /usr' it still says
> 'device busy' Im in the process of deciding which drive to have /usr on,
> because the drives are acting flaky, and would like to be able to umount
> and mount a different /usr if problems arise. Any ideas? :-)

There are an awful lot of daemons running under normal circumstances, and
most of them are running out of /usr/sbin. This includes things like
portmap, inetd, sendmail, etc. You'll have to shut them all down, or move
into single user mode, before you can umount /usr.

(I don't _think_ single user mode depends on anything in /usr...it
shouldn't, but you never know.)

-- 
invid@optera.com             | We are Grey
http://www.optera.com/~invid | We stand between the Candle and the Star
                             | Between the Darkness and the Light

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: couple of questions...
       [not found] <Pine.OSF.3.93.961205010138.20638B-100000@alpha.bgsu.edu>
  1996-12-05  6:14 ` couple of questions Joshua M. Thompson
@ 1996-12-05 12:05 ` Miguel Avillez
  1 sibling, 0 replies; 9+ messages in thread
From: Miguel Avillez @ 1996-12-05 12:05 UTC (permalink / raw)


if you want to preserve all the links etc use:

 mv -a /usr/lib/libnss* /lib

 but to have an idea how it works you should first cp the files

 cp -a /usr/lib/libnss* /lib

 and than check if you have all the links...

 hope this helps

 miguel

On Thu, 5 Dec 1996, Randy Lee Carpenter wrote:

> On Wed, 4 Dec 1996, Joshua M. Thompson wrote:
> 
> > On Wed, 4 Dec 1996, Randy Lee Carpenter wrote:
> > 
> > > On the UDB running Redhat4.0, the system is never able to umount /usr no
> > > matter what drive it is on. Why is this? I am able to do so only in single
> > > user. It gives the message "Device busy".
> > 
> > Do the following:
> > 
> > mv /usr/lib/libnss* /lib
> > 
> 
> This does not work at all.... I am in the process of fixing the damage it
> causedn now....  It does not copy the symbolic links correctly...
> 
> ____________________________________________________________________________
> Randy Carpenter - Computer Science Major, Recording Technology Minor 
> Bowling Green State University
> Computer Consultant - University Computer Services 
> email: rcarpen@mail.bgsu.edu
> WWW: http://www.bgsu.edu/~rcarpen/
> ____________________________________________________________________________
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1996-12-05 12:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.OSF.3.93.961205010138.20638B-100000@alpha.bgsu.edu>
1996-12-05  6:14 ` couple of questions Joshua M. Thompson
1996-12-05 12:05 ` Miguel Avillez
     [not found] <Pine.OSF.3.93.961205034430.27688A-100000@alpha.bgsu.edu>
1996-12-05  9:03 ` Joshua M. Thompson
     [not found] <Pine.LNX.3.95.961205030537.8611A-100000@jade.optera.com>
1996-12-05  8:46 ` Randy Lee Carpenter
     [not found] <Pine.OSF.3.93.961205014920.23805A-100000@alpha.bgsu.edu>
1996-12-05  8:10 ` Joshua M. Thompson
     [not found] <Pine.LNX.3.95.961205011138.7489A-100000@jade.optera.com>
1996-12-05  6:50 ` Randy Lee Carpenter
     [not found] <Pine.LNX.3.95.961204233459.6274A-100000@jade.optera.com>
1996-12-05  6:02 ` Randy Lee Carpenter
     [not found] <Pine.OSF.3.93.961204230433.17453A-100000@alpha.bgsu.edu>
1996-12-05  4:39 ` Joshua M. Thompson
1996-12-05  4:07 Randy Lee Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox