Re: LVM, list home -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <gtwilliams@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux