On Wed, 4 Aug 2021, Todd Gruhn wrote:
My new problem is testing user rank/id.
I want to see if the user is "root"
if (user != root), then print message and die.
if [ $(id -u) -ne 0 ]
then>&2 echo "${0##*/}: you are not superuser"
exit 1
fi
-RVP
Thanks
I dropped to boot ; I did not think of the "xhci" part...
On Wed, Aug 4, 2021 at 6:07 PM Chavdar Ivanov wrote:
>
> On Wed, 4 Aug 2021 at 22:47, Todd Gruhn wrote:
> >
> > I booted NetBSD and I got an error regarding uhub1 that repeats
> > ad-infinitum.
> > I rebooted several times --
Riccardo Mottola writes:
> Hi Greg,
>
> Greg Troxel wrote:
>> I don't either, but my advice is to *always* set PKG_DBDIR explicitly in
>> btoh mk.conf and pkg_install.conf. Check if you have the split brain
>> situation, or something else:
>>
>> https://pkgsrc.org/pkgdb-change/
>
> oh, I fear
Hi.
replying to myself
Riccardo Mottola wrote:
> I fear this "dirs" come from this step:
>
> In /var/db/pkg.refcount
> tar cf - . | (cd /usr/pkg/pkgdb && tar xfv -)
>
> since pkg.refcount contained "dirs"
>
> ls /usr/pkg/pkgdb/dirs/
> etc usr var
>
> is it out of place?
the proper command
On Wed, 4 Aug 2021 at 22:47, Todd Gruhn wrote:
>
> I booted NetBSD and I got an error regarding uhub1 that repeats ad-infinitum.
> I rebooted several times -- same thing.
>
> I booted NetBSD-HEAD ISO-image (ver. 9.99.85) same thing.
>
> My first Q is: How do I make the boot cycle proceed and
On Wed, 4 Aug 2021 at 22:30, Todd Gruhn wrote:
>
> Thanks for the link, Lewis. I have never seen this site. I DID find a
> book in PDF format
> regarding /bin/ksh programming.
>
> My new problem is testing user rank/id.
>
> I want to see if the user is "root"
>
> if (user != root), then print
I booted NetBSD and I got an error regarding uhub1 that repeats ad-infinitum.
I rebooted several times -- same thing.
I booted NetBSD-HEAD ISO-image (ver. 9.99.85) same thing.
My first Q is: How do I make the boot cycle proceed and finish?
Second: How do I diagnose it?
Thanks for the link, Lewis. I have never seen this site. I DID find a
book in PDF format
regarding /bin/ksh programming.
My new problem is testing user rank/id.
I want to see if the user is "root"
if (user != root), then print message and die.
This is easy in PERL; I have not done it in
On 08/02, Chavdar Ivanov wrote:
> On Mon, 2 Aug 2021 at 14:16, Todd Gruhn wrote:
> >
> > Thanks for the code Matt.
> > I will try this.
> > By 'execute' I mean generate
> > ${cmd}
> > then execute/do whatever ${cmd} turns out to be.
>
> Depending on the contents of cmd, you might have to use
>
Hi Greg,
Greg Troxel wrote:
> I don't either, but my advice is to *always* set PKG_DBDIR explicitly in
> btoh mk.conf and pkg_install.conf. Check if you have the split brain
> situation, or something else:
>
> https://pkgsrc.org/pkgdb-change/
oh, I fear I have split. But, permit me, this is
Hi Greg
Greg Troxel wrote:
> I don't either, but my advice is to *always* set PKG_DBDIR explicitly in
> btoh mk.conf and pkg_install.conf. Check if you have the split brain
> situation, or something else:
>
> https://pkgsrc.org/pkgdb-change/
I tried to perform the split migration according to
11 matches
Mail list logo