Re: Listing mounts for each physical storage device



On 2006-07-10, Spacen Jasset <jmspashett@xxxxxxxxx> wrote:
I would like to programatically list the mount points ( or parations )
of each device, but I am not sure how to go about this. For example,
below is a mount list, and a partition list, but since on this system
the Logical Volume Mapper is used there is no easy association. Any
suggestions how I should go about this, so that it will work on various
versions of linux?

See getmntent(3).


--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please sign and encrypt your mail.
.



Relevant Pages

  • Re: flock() replacement?
    ... Or fcntl advisory locks. ... These (at least on Linux) are ... Roger Leigh ... `- GPG Public Key: 0x25BFB848 Please sign and encrypt your mail. ...
    (comp.unix.programmer)
  • Re: Mike does the "Impossible"! Releases "hm" Version 3.0
    ... Roger Leigh writes: ... Printing on GNU/Linux? ... http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848. ... Please sign and encrypt your mail. ...
    (comp.os.linux.development.apps)
  • Re: Linux component standard
    ... > architecture, but in Linux world, I heard only dynamic library. ... GPG Public Key: 0x25BFB848. ... Please sign and encrypt your mail. ...
    (comp.os.linux.development.apps)
  • Re: chroot doesnt work, among other things.
    ... Please post an exact transcript, so we can see what happens. ... Roger Leigh ... `- GPG Public Key: 0x25BFB848 Please sign and encrypt your mail. ...
    (Debian-User)
  • Re: Encrypting Linux partitions
    ... On a new Linux install of SuSE 10.0 x86_64 machine, ... partition as I intend to mkswap a file in the root partition. ... When I try to encrypt the root partition, ... The only things which need to be unencrypted are the boot loader, ...
    (comp.os.linux.misc)