In lvm context this dm-1 is a magic device-mapper device/file that
sets up a block-mapping to the underlying device that allows access to
the blocks of the specific lv in the correct order (in this case
home).   It really acts just like /dev/sda1 does if there is a
filesystem directly on /dev/sda1.

On Thu, Mar 26, 2020 at 1:41 PM Garry T. Williams <gtwilli...@gmail.com> wrote:
>
> On Thursday, March 26, 2020 1:39:13 PM EDT Bob Goodwin wrote:
> > lrwxrwxrwx.  1 root root    7 Mar 26 12:58 home -> ../dm-1
>
> This indicates that the file "home" is a synbolic reference to the
> file (or directory) "../dm-1".
>
> [snip]
>
> > [root@Workstation-1 fedora_localhost-live]# ls -al home -> ../dm-1
> > ls: cannot access '-': No such file or directory
>
> That command just redirected ls's stdout to the /dm-1 file or
> directory.  The file you want is ../dm-1 -- not "home -> ../dm-1".
> The shell parses that as 'home' and '-' and then "sees" ">" as a
> redirect stdout.
>
> --
> Garry T. Williams
>
>
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to