Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2022 16:41:34 -0400
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        David Christensen <dpchrist@holgerdanske.com>
Cc:        questions@freebsd.org
Subject:   Re: Fwd: mkdir error message -- what does this mean?
Message-ID:  <CAGBxaXkvBt81CkgPotY_q34QTHodKQD76QNaB74CczcO_Qw2jw@mail.gmail.com>
In-Reply-To: <99acb9a4-60b2-464f-0899-9a9cb703c5e8@holgerdanske.com>
References:  <e293b9c3b1c168ad1eee3a65510b1aa9@nyclocal.net> <CAGBxaXnc_ornipZxX=NgoDagCjcU80vMXZ1EjZr8j-8RrcdJnw@mail.gmail.com> <Yzc44MPka/dFNEL1@harpo.local> <CAGBxaXk5Thzdtud_ej1KGd4XCUsSYm-_4QtNZJHqCMG48A%2B_Qg@mail.gmail.com> <99acb9a4-60b2-464f-0899-9a9cb703c5e8@holgerdanske.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 30, 2022 at 4:19 PM David Christensen
<dpchrist@holgerdanske.com> wrote:
>
> >> On Fri, Sep 30, 2022 at 02:35:14PM -0400, Aryeh Friedman wrote:
>
> >>> What does the following mean?
> >>>
> >>>
> >>> dnixon@sft:/tmp % sudo mkdir
> >>> /fsvc/clients/specMed/LIVE/master/h11a9fpp-mkknhbci-2hjvbpc
> >>> mkdir: /fsvc/clients/specMed/LIVE/master/h11a9fpp-mkknhbci-2hjvbpc: T=
oo
> >>> many links
>
>
>  > On Fri, Sep 30, 2022 at 2:43 PM Andreas Kusalananda K=C3=A4h=C3=A4ri w=
rote:
>
> >> The error message usually says "Too many levels of symbolic links", so
> >> I'm assuming that you have translated it.
> >>
> >> It means that when creating the directory, a symbolic link was travers=
ed
> >> that pointed back to itself, or in some other fasion created a loop.
> >>
> >> This can easily be recreated like this:
> >>
> >>          $ ln -s link .
> >>          $ ls -l
> >>          total 1
> >>          lrwxr-xr-x  1 myself  wheel  4 Sep 30 20:38 link -> link
> >>
> >> Then:
> >>
> >>          $ mkdir link/hello
> >>          mkdir: link/hello: Too many levels of symbolic links
> >>
> >> So, in your case, I would investigate whether any part of the target
> >> pathname "/fsvc/clients/specMed/LIVE/master/h11a9fpp-mkknhbci-2hjvbpc"
> >> is a symbolic link that points to somewhere where it shouldn't point.
>
>
> On 9/30/22 11:51, Aryeh Friedman wrote:
>  > Did a ls -l one dir at a time, no symlinks.
>
>
> Why '%' in the shell prompt?

Cut and paste error see below for full prompt ;-)

>
>
> Please run the following commands as user "dnixon" on host "sft" and
> post the entire console session -- prompts, commands entered, and output
> produced:
>
> % cat /etc/debian_version ; uname -a
>
> % echo $SHELL
>
> % alias sudo
>
> % type -t sudo
>
> % which sudo
>
> % sudo echo $SHELL
>
> % sudo alias mkdir
>
> % sudo type -t mkdir
>
> % sudo which mkdir
>
> % mount | egrep "fsvc|clients|specMed|LIVE|master"
>

dnixon@sft:~ % echo $SHELL
/bin/tcsh
dnixon@sft:~ % alias sudo
dnixon@sft:~ % type -t sudo
sudo is /usr/local/bin/sudo
-t: not found
dnixon@sft:~ %  which sudo
/usr/local/bin/sudo
dnixon@sft:~ % sudo echo $SHELL
/bin/tcsh
dnixon@sft:~ %  sudo alias mkdir
alias: mkdir: not found
dnixon@sft:~ %  sudo type -t mkdir
mkdir is /bin/mkdir
-t: not found
dnixon@sft:~ % sudo which mkdir
/bin/mkdir
dnixon@sft:~ %  mount | egrep "fsvc|clients|specMed|LIVE|master"
dnixon@sft:~ % df -k
Filesystem  1024-blocks      Used     Avail Capacity  Mounted on
/dev/da0s1a   690629108 402119372 233259408    63%    /
devfs                 1         1         0   100%    /dev
/dev/da2p1     16233620    672392  14262540     5%    /db
fdescfs               1         1         0   100%    /dev/fd
procfs                4         4         0   100%    /proc
dnixon@sft:~ %

>
> David

>


--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaXkvBt81CkgPotY_q34QTHodKQD76QNaB74CczcO_Qw2jw>